the architecture of the Jamal.js

1 view
Skip to first unread message

Alex

unread,
Mar 17, 2009, 3:55:57 AM3/17/09
to jama...@googlegroups.com
Hi guys,

I find a architecture picture.

Have the architecture been changed in 0.4.1 version ?

Alex

jamal.png

Timo Derstappen

unread,
Mar 17, 2009, 4:57:23 AM3/17/09
to jama...@googlegroups.com
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

Alex

unread,
Mar 17, 2009, 4:59:45 AM3/17/09
to jama...@googlegroups.com
Hi Timo,

I see, Thanks for your reply !

Alex
Reply all
Reply to author
Forward
0 new messages