Comments on: Event-Driven Web Application Design http://yuiblog.com/blog/2007/01/17/event-plan/ News and Artilces about Designing and Developing with Yahoo! Libraries. Sun, 11 May 2008 17:47:44 +0000 http://wordpress.org/?v=2.3.3 By: 6 Should Read JavaScript Articles - The Frontend http://yuiblog.com/blog/2007/01/17/event-plan/#comment-358059 6 Should Read JavaScript Articles - The Frontend Thu, 24 Apr 2008 09:50:56 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-358059 [...] Event Driven JavaScript by Christian Heilmann [...] […] Event Driven JavaScript by Christian Heilmann […]

]]>
By: Jonah Dempcy http://yuiblog.com/blog/2007/01/17/event-plan/#comment-357763 Jonah Dempcy Thu, 24 Apr 2008 00:58:55 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-357763 Great article! Having a number of self-contained components that subscribe to a list of events is a great way to keep code clean and maintain a large, complicated web application. By describing all possible events that can occur in the application (users taking action, or events triggered by other things like an Ajax request returning), and then subscribing individual components (essentially registering event listener functions), problems with application state rarely occur and debugging becomes much easier. With a tightly-coupled web application where each component depends on interlinking chains of data, walking through the code can be a nightmare. But as long as you follow practices like this to decouple the code, it's possible to keep the JavaScript very clean, readable and editable even at immense sizes and levels of complexity. Great article! Having a number of self-contained components that subscribe to a list of events is a great way to keep code clean and maintain a large, complicated web application.

By describing all possible events that can occur in the application (users taking action, or events triggered by other things like an Ajax request returning), and then subscribing individual components (essentially registering event listener functions), problems with application state rarely occur and debugging becomes much easier.

With a tightly-coupled web application where each component depends on interlinking chains of data, walking through the code can be a nightmare. But as long as you follow practices like this to decouple the code, it’s possible to keep the JavaScript very clean, readable and editable even at immense sizes and levels of complexity.

]]>
By: Ajaxian » Making application modules communicate with each other using Decoupling http://yuiblog.com/blog/2007/01/17/event-plan/#comment-356601 Ajaxian » Making application modules communicate with each other using Decoupling Tue, 22 Apr 2008 22:17:27 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-356601 [...] been talking about event driven application design in JavaScript in January last year and inspired Caridy Patiño to write his Bubbling Library based on these [...] […] been talking about event driven application design in JavaScript in January last year and inspired Caridy Patiño to write his Bubbling Library based on these […]

]]>
By: Ryan McIlmoyl http://yuiblog.com/blog/2007/01/17/event-plan/#comment-318373 Ryan McIlmoyl Thu, 06 Mar 2008 14:46:31 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-318373 Christian, Great article. Like Nick, we've started to use the State Machine model in some of our front end work. However, this was before we'd investigated YUI, knowing about the custom event object would have made our lives a little easier! Christian,

Great article. Like Nick, we’ve started to use the State Machine model in some of our front end work. However, this was before we’d investigated YUI, knowing about the custom event object would have made our lives a little easier!

]]>
By: Alexander Mannewitz http://yuiblog.com/blog/2007/01/17/event-plan/#comment-289744 Alexander Mannewitz Fri, 25 Jan 2008 12:19:27 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-289744 Dear Christian, after reading you other blogs i am sure your an enthusiastic developer. I really appreciate your work. Let's push things forward, and thanks for another interesting article. Dear Christian, after reading you other blogs i am sure your an enthusiastic developer. I really appreciate your work. Let’s push things forward, and thanks for another interesting article.

]]>
By: Creating Custom Modules with YUI Using the YUI Module Control » Yahoo! User Interface Blog http://yuiblog.com/blog/2007/01/17/event-plan/#comment-262210 Creating Custom Modules with YUI Using the YUI Module Control » Yahoo! User Interface Blog Thu, 20 Dec 2007 00:46:26 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-262210 [...] your Controls and listened to by any other javascript function. This allows you to put in practice Event-Driven Development in a simple, lightweight [...] […] your Controls and listened to by any other javascript function. This allows you to put in practice Event-Driven Development in a simple, lightweight […]

]]>
By: Hip Hop Klamotten http://yuiblog.com/blog/2007/01/17/event-plan/#comment-244316 Hip Hop Klamotten Tue, 27 Nov 2007 08:38:29 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-244316 The crux of the matter is that we don’t really yet understand how to build a real web application. We take tried and true methodologies that cover other development scenarios and try to shoe-horn them into something that helps us to achieve what we want on-time and within budget. The crux of the matter is that we don’t really yet understand how to build a real web application. We take tried and true methodologies that cover other development scenarios and try to shoe-horn them into something that helps us to achieve what we want on-time and within budget.

]]>
By: Unobtrusive JavaScript http://yuiblog.com/blog/2007/01/17/event-plan/#comment-230775 Unobtrusive JavaScript Fri, 16 Nov 2007 04:55:02 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-230775 [...] Event Driven JavaScript Application Design [...] […] Event Driven JavaScript Application Design […]

]]>
By: GANCHIKU.com » JavaScript Module Patternいいね。半年遅れだけど。。。 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-227889 GANCHIKU.com » JavaScript Module Patternいいね。半年遅れだけど。。。 Wed, 14 Nov 2007 09:24:07 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-227889 [...] Event-Driven Web Application Design The Bubbling Technique & Custom Event, YUI’s Secret Weapon by Caridy Patiño [...] […] Event-Driven Web Application Design The Bubbling Technique & Custom Event, YUI’s Secret Weapon by Caridy Patiño […]

]]>
By: Geekularity » Magnolia Bookmarks http://yuiblog.com/blog/2007/01/17/event-plan/#comment-225185 Geekularity » Magnolia Bookmarks Mon, 12 Nov 2007 08:01:04 +0000 http://yuiblog.com/blog/2007/01/17/event-plan/#comment-225185 [...] Event-Driven Web Application Design » Yahoo! User Interface Blog [...] […] Event-Driven Web Application Design » Yahoo! User Interface Blog […]

]]>