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