JavaScript Class Framework

Modello is a lightweight framework that enables you to write JavaScript class like other class-based object-oriented programming language. It introduces class, class-based inheritance, multi-inheritance, private members, RTTI and more into JavaScript. Modello can help you write more readable, reusable and maintainable JavaScript code.

Usage

Create a class

Register a class

Retrieve a class

Class-based inheritance

Multi-inheritance

Constructor, public member, private member, static member and more

Abstract class and Interface

This example is taken from Atlas. The original example is here.

Run this example here: Modello Example: Interface

Create an instance

Runtime Type Identification

Download

modello.tar.gz(version: 0.0.3) tutorial

modello.ajax.tar.gz(version: 0.0.6) tutorial

Contact

Feel free to report bugs via my email. Enjoy!

Play




SourceForge Logo