|
|
CookbookRecipe1 CookbookRecipe11 CookbookRecipe2 CookbookRecipe3 CookbookRecipe6
Joose is a self-hosting meta object system for JavaScript with support for classes, inheritance, mixins, traits, method modifiers and more.
Joose makes object-oriented programming with JavaScript easy, declarative and very productive. The Joose meta-object system is multi-paradigm. It supports class-based and prototype-based programming styles as well as class-based inheritance and role-based extention.
Documentation
- Installation
- Building Things
- Meta-Interface
- Basic class introspection and extention
- Advanced meta programming
The Joose Cookbook
- Recipe 1: The Point Example
- Recipe 2: Bank Account Example
- Recipe 3: A lazy BinaryTree Example
- Recipe 6: The Role/Traits Example
- Recipe 7: The augment/inner Example
- Recipe 11: Attribute Meta Classes
Examples
Class Browser
Joose provides very easy to use introspection facilities for Joose classes, modules and prototypes. The class browser example uses these facilities to show you information about the classes which are currently loaded. Its layout is based on the good old class browser included with VisualWorks Smalltalk.
Object-Relational Mapper
This example demonstrates a simple object relational mapper for the client-side SQLite database provided by Google Gears.
Credits
Joose was heavily inspired by Moose, the post-modern object system for Perl 5.
Licencing
The licence for Joose and all pages in this wiki can be found on the licence page.
