News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Keith Casey's Blog:
Event Driven Programming
May 27, 2010 @ 11:05:15

In a new post to his blog today Keith Casey talks about something that might be a bit foreign to some PHP developers out there event driven programming. He relate it to the Flex world where it's more commonly used.

When you initially dive into the world of Flex development, most PHP'ers will quickly notice something weird. We're out of the world of Request/Response that we know and understand and into an odd world of Events, Listeners, and Publishers/Subscribers where things just don't play well together.

He talks about the Observer design pattern and how it works to provide an interface to other objects who are listening in and waiting for events to happen (he uses an airline analogy). He also gives a more concrete illustration - uploading a file - and how the events would be used to handle each part of the process.

0 comments voice your opinion now!
event driven programming flex observer publisher subscriber


blog comments powered by Disqus

Similar Posts

Community News: Dutch PHP Conference - Important update: Conference Social Location has Changed!

Tiobe.com: PHP Ranks Fifth in Popularity Contest in August

DevShed: Developing a Form Validation System with the Observer Pattern in PHP

Quaint\'s Blog: Object Oriented vs. Procedural

Matthew Weir O'Phinney's Blog: The light has not set on PHP


Community Events





Don't see your event here?
Let us know!


framework experience community list interview testing series unittest release introduction podcast opinion install refactor language laravel configure developer code threedevsandamaybe

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework