| |
|
|
|
|
|
|
|
|
|
|
|
|
We've been examining the specifics of how to create event driven programs for the last several blog posts. But somehow, we need to integrate jQuery custom events with our server code. In this post, we'll see how we use Ajax to do just that.
[More]
In my last blog post, we took a more in-depth look at jQuery custom events to learn the specifics of how they're used. How, though, do you identify the events in your event-driven architecture? That's the subject of today's post.
[More]
In the last post, we got started with event driven programming. In this post, we're going to look a bit more at the mechanism for event driven programming, jQuery's custom events.
[More]
I was talking with a friend recently about event-driven programming. He and I have been heavily into working with custom events for a few years. We've both seen the benefits of robustness and maintainability that event-driven programs provide. Why, I asked him, have more people not adopted EDP? His answer really surprised me.
[More]
Ben Nadel recently wrote about an experiment with event propagation (http://www.bennadel.com/blog/2037-Simple-Publication-And-Subscription-Functionality-Pub-Sub-With-jQuery.htm). In his post, Ben talks about preventing event propagation. That is, if agents A, B, and C are listening for event "customerAdded", it seems to make sense that, say, A could encounter a situation in which it would want to stop B and C from responding to the event. Makes sense, no? Well, no. But to explain, we need to delve into the world of parallel universes...
[More]
In yesterday's blog post, I began answering an email about jQuery custom events. Today, I'll show code that uses jQuery custom events to deal with the fact that Ajax calls are asynchronous.
[More]
I got a lot of nice responses from my post here on a JavaScript skeleton. One person, though, wanted more...
[More]
Yesterday, we looked at some simple server code that is called by events generated on the client. We saw that the server returns an EVENT property in its response -- but that my example never uses it. Today, we're going to see how that is used -- and why I think EDP is a BigDeal(tm).
[More]
Yesterday, I showed an example of an EDP implementation on the client. Let's do a quick review of the main points and then look at the server code.
[More]
I recently wrote a blog post on EDP (Event-Driven Programming). Ray Camden asked me to come up with an example of using EDP with a Model-View-Controller architecture. Over the weekend, I did just that. As a bonus, I'm including a jQuery plugin that will allow you to make Ajax calls to the server without using ColdFusion's CFAJAXPROXY tag.
[More]
|
|
|
|
|
|
|
|
|