Brian Moschel
2008-Mar-09 10:30 UTC
Event delegation library that interacts with Scriptaculous
Hey Guys, Wanted to let you know about an event delegation library that interacts with Scriptaculous that we''ve used to make interactive UI elements with really clean code. We used it with Scriptaculous to create the scrolling widgets on the homepage of http://javascriptmvc.com/. It''s called Controller and it is an event delegation library that helps logically organize your event handlers. It lets you define event handlers that never have to be reattached, even if the HTML is modified, which makes writing AJAX applications easier. Also, controllers group event handlers for a specific set of HTML elements, so you can clearly know your code''s purpose. Check it out at http://javascriptmvc.com/learningcenter/controller/index.html, and there''s a todo list demo at http://javascriptmvc.com/learningcenter/controller/demo.html. Hope you find it as useful as we have. - Brian Moschel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Rauan Maemirov
2008-Mar-09 13:33 UTC
Re: Event delegation library that interacts with Scriptaculous
What do U mean by "interacts with Scriptaculous"? Is it based on prototype? On 9 мар, 16:30, Brian Moschel <brian.mosc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hey Guys, > > Wanted to let you know about an event delegation library that > interacts with Scriptaculous that we''ve used to make interactive UI > elements with really clean code. We used it with Scriptaculous to > create the scrolling widgets on the homepage ofhttp://javascriptmvc.com/. > > It''s called Controller and it is an event delegation library that > helps logically organize your event handlers. It lets you define > event handlers that never have to be reattached, even if the HTML is > modified, which makes writing AJAX applications easier. Also, > controllers group event handlers for a specific set of HTML elements, > so you can clearly know your code''s purpose. > > Check it out athttp://javascriptmvc.com/learningcenter/controller/index.html, > and there''s a todo list demo athttp://javascriptmvc.com/learningcenter/controller/demo.html. > Hope you find it as useful as we have. > > - Brian Moschel--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---