Hacker News new | past | comments | ask | show | jobs | submit login
Effen is a jQuery plugin that supports Concrete Javascript. (github.com/nkallen)
12 points by ams1 on March 6, 2010 | hide | past | favorite | 3 comments



seems pretty interesting

snip

"Effen is a jQuery plugin that supports Concrete Javascript. Concrete Javascript is a pattern in which the state and behavior of your domain are attached directly to DOM elements. This differs from MVC, where domain behavior is isolated from the view. Concrete Javascript is draws inspiration from Self's Morphic UI framework."


> While `$('div').fn({...})` will bind the behavior to all divs, calling `$('div').fn('foo')` will only invoke `foo` on the first `div`. This may be changed in future releases.

Love the plugin, but this behavior seems counter-intuitive. Hopefully they decide to change it.


what the eff?




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: