public
Description: Yet Another Prototype/Scriptaculous for Facebook
Homepage: http://labs.sociabliz.com/yaps
Clone URL: git://github.com/meuble/yaps.git
Stéphane Akkaoui (author)
Wed Nov 26 07:03:59 -0800 2008
commit  d1959d658d72874ae646a8a2a247a26b9b3f693a
tree    04b598f51de5d8811a67c3ad9a609865a28d4406
parent  641987f786d7147f5a4173fbd8861f416c557a11
yaps /
name age message
file MIT-LICENSE Loading commit data...
file README.rdoc Wed Nov 26 07:03:59 -0800 2008 Fix spelling mistake in the README file. Thanks... [Stéphane Akkaoui]
directory libs/

YAPS

An object-oriented JavaScript framework for Facebook

Yaps is a JavaScript framework that aims at facilitating development of dynamic web applications under Facebook Application platform.

It’s deeply inspired by the Prototype framework (prototypejs.org) for the basic common features and by Scriptaculous library (script.aculo.us/) for the specific classes.

Targeted platforms

We try to make our code usable on every platform. For now, it has been tested only on :

  • Mozilla Firefox 3
  • Apple Safari 3.1.2

Using Yaps

To use Yaps in your Facebook application, download the latest release from the Yaps web site (labs.sociabliz.com/yaps) and copy the javascript files to a suitable location. Then include it in your HTML/FBML like this:

        <script src="/path/to/base.js"></script>

If you need special feature like drag & dropping classes, include them after the base.js file like this:

        <script src="/path/to/dragdrop.js"></script>

Contributing to Yaps

Check out the Yaps source with

        $ git clone git://github.com/meuble/yaps.git

For now, we prefer that you fork the git repository and submit merge request.

Documentation

Ther isn’t any Yaps specific documentation.

Since Yaps tries to be a copycat library, you can still check out Prototype or Scriptaculous documentation to find out how Yaps works.

        http://prototypejs.org/api
        http://github.com/madrobby/scriptaculous/wikis

Reference about Facebook FBJS can be found here:

        http://wiki.developers.facebook.com/index.php/FBJS

License

Yaps is licensed under the terms of the MIT License, see the included MIT-LICENSE file.