Using the Zend Framework AMF Server

      Comments Off on Using the Zend Framework AMF Server

Stefan Schmalhaus has suggested an alternative approach for setting up a Zend Action Message Format (AMF) server. His approach makes it easy to add Flex and HTML interfaces to an application at a later date:

“Many tutorials suggest that you set up the Zend AMF server directly in the bootstrap or index.php file. But what if you want to build a hybrid application with both Flex and HTML interfaces? In this case it’s better to let the bootstrap file do its usual job of application dispatching, and to make the AMF gateway a controller.”

If you’re interested in building AMF support into your application, Stefan’s views on how to better organize your code will almost certainly be of interest.