News Feed
Sections




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

Mike Potter's Blog:
PHP and Flex - JSON, XML or AMFPHP?
July 13, 2006 @ 07:20:44

On his Adobe blog, Mike Potter compares three technologies for communicating with their Flex product - JSON, XML, or AMFPHP.

I've created a small performance study that shows time to load three different types of data from a PHP backend... Data transfered as PHP objects from AMFPHP, data transfered as XML and data transfered in JSON notation.

He ran his tests with the AMFPHP library and the Zend Framework (for JSON). The XML is simply printed out and pulled in.

The results of his test showed that, up to a certain point, the XML and AMFPHP were neck and neck (with JSON lagging behind). Once they reached a certain point, though, XML powered ahead, blowing past the AMFPHP library. Of course, just the sheer speed isn't all there is to an application, he reminds us - usability, serializing data, connection type, etc all need to be considered as well.

0 comments voice your opinion now!
flex adobe json xml amfphp zend framework flex adobe json xml amfphp zend framework


blog comments powered by Disqus

Similar Posts

Jim Plush\'s Blog: Censorship at Zend??? Zend Encoder swept under the rug

Chris Shiflett\'s Blog: Zend Framework Update

SpinDrop.us: Using Zend Search Lucene in a symfony app

AxisVista Blog: PHP5 DOM Based Template Engine

Felix Geisendorfer's Blog: Bringing the cold war to CakePHP 1.2 - The Containable Behavior


Community Events





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


language interview threedevsandamaybe community series list application laravel framework library release configure bugfix api code introduction wordpress podcast developer project

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