This project is deprecated and will receive no further updates.
Sharkbone was born from project needs for a controlled view managing system. It works on top of the popular javascript MVC framework BackboneJS, which means an application must be structured with BackboneJS in order to use Sharkbone.
This little library aims to make it easy to create heavy client-side applications that communicate with a RESTful API.
To make use of Sharkbone, one must include the file opal-ext.js after Backbone itself has been defined.
Sharkbone defines the Sharkbone namespace, and within it the following constructors:
- Collection
- Model
- Router
- View
- ViewManager
- Desktop
- Mixin
Notice the name of constructors from 1 to 4, these extend their homologous from the Backbone namespace and you should extend from the ones under Sharkbone to get Opal's behavior.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request