Updates

  • 19th January 2009
    • Released Jamal 0.4.1
    • Minor bugfix release for jQuery 1.3
    • Controllers are now generated on the fly.
  • 27th May 2008
    • Released Jamal 0.4 stable
    • Move on towards restful models in 0.5
  • Jamal 0.4alpha out for testing
    • New inheritance of mvc objects
    • Session component
  • Jamal 0.3 is out.
    • A lot of documentation added to the files
    • Added simple ajax request handling via JSON

What is Jamal?

Jamal is a set of conventions and small javascript libraries to archieve a complete separation of html, css and javascript in your web application. Jamal is built on jQuery and inspired by MVC frameworks like Ruby on Rails, CakePHP and its derivatives.

So Jamal tries not to stand in your way and helps you to organize your javascript code. Javascript code is likely held in functions and used to end up in spaghetti.

The MVC concept is easy to adopt for javascript

  • Controller: Interaction with the user interface (events)
  • Model: Business Logic and AJAX calls
  • View: DOM, CSS modifications

Author: Timo Derstappen

Mailinglist: Jamal Google Group

Download

Latest stable: jamal-0.4.1.tar.gz

To get the current trunk checkout:
https://dev.teemow.com/svn/jamal/

Login: jamal
Password: enAhiQv3

The current unstable branch is now on github:
http://github.com/teemow/jamal/tree

Documentation

Integration Examples

Code examples and Tools showing the integration of Jamal

Some more ideas

  • More session handling (modal login box)
  • Offline ajax request handling
  • Click/Mouse tracking

Credits