News Feed
Sections




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

Kevin Schroeder's Blog:
Connecting PHP to ActionScript and Flex using Stomp
June 06, 2011 @ 08:19:26

Kevin Schroeder has a recent post to his blog today looking at how he used Stomp to connect his backend PHP to frontend Flex, a text-based protocol that can be used to connect to a MQ server instance.

In yesterday's post I talked a little bit about some of the details on how I used messaging to connect a front end on demand request to a back end scheduled data processing mechanism. In this post we're going to talk about how to send data from a web page to a running Flex application without using HTTP. It is really quite easy.

His demo application watches a Magento instance and notifies him whenever a new sales comes in. Because of Magento's event-based system, it made the setup relatively easy. He includes the code for the observer on the Magento side and the Zend Framework-based logger code that it calls. Using the AS3Stomp library to make the connection, Kevin sets up the data provider for the Flex app to push the latest sale information into a list.

0 comments voice your opinion now!
tutorial actionscript stomp mq server flex backend notify


blog comments powered by Disqus

Similar Posts

Henrik Bjørnskov's Blog: Travis & Composer sitting in a tree K-I-S-S-I-N-G

Matthew Weier O'Phinney's Blog: From the inside-out: How to layer decorators

Chance Garcia's Blog: MAMP PRO, PECL, SSH2, and OSX CLI (AKA acronym madness)

Davey Shafik's Blog: Sneak Peek: Zend_Service_Server - name and framework subject to change

Refulz Blog: Traits in PHP 5.4 - Why we need Traits


Community Events

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


opinion version conference install community example podcast release api framework php7 series laravel symfony2 performance interview voicesoftheelephpant introduction extension library

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