Hey Alex,
this is a slide from a presentation at the very beginning of jamal.
This is not wrong in general, but there is no dispatcher anymore. The
configuration, what controller is called, is now handled within the
body class.
A short explanation of this structure is:
- Interactions of the user are reflected in javascript events. So
bind events to the dom within the controller.
- Data is handled in the models so all XHR should go there
- The view modifies the dom
This is all convention, Jamal doesn't force you to do it like this...
Greetings,
Timo
2009/3/17 Alex <
blacka...@gmail.com>:
--
Timo Derstappen
http://teemow.com
mailto:
tee...@gmail.com