Zend and the Adobe Flash Platform eSeminar

December 2nd, 2008

 

Thursday, December 18, 2008 11:00 A.M. PST – Register Now
Rich Internet applications (RIAs) are everywhere. With Web businesses like Google and Yahoo! and brick and mortar companies like Harley Davidson and Sherwin Williams embracing RIAs for their online presence, the media buzz is giving way to the reality of a better Internet.

Adobe has recently contributed AMF support to the Zend Framework, allowing PHP developers to easily build Rich Internet Applications using Flex and Adobe AIR that interact with a PHP backend.

Lee Brimelow, a technical evangelist with Adobe, will give an introduction to Adobe Flex and Adobe AIR, and will walk through how to create a Flex application powered by PHP and the Zend Framework. Working with Zend Studio for Eclipse, and Flex Builder (an Eclipse plugin), Lee will demonstrate how to build, debug and deploy applications built with Adobe Flex, and how to have these same applications run on the desktop using the Adobe AIR runtime.

With this knowledge, developers will be able to easily build rich Internet applications that combine data from PHP and rich media like audio and video into a compelling application.

 

Flash Platform, Speaking, Zend_Amf

Additional XML support in Zend Amf

November 25th, 2008

Support has been added to Zend Amf to return php objects of type DOMDocument and SimpleXML and receive an XML object in Flex ready for E4X. Note that you can already send an XML object from the flash player that results in a SimpleXML object in PHP.

Here is an example of the PHP service.

ab';
		$this->doc = new DOMDocument();
		$this->doc->preserveWhiteSpace = false;
		$this->doc->loadXML($sXML);
	}

 	public function getDom()
    {
    	return $this->doc;
    }

    public function getSimpleXml()
    {
    	$simpleXml = simplexml_import_dom($this->doc);
    	return $simpleXml;
    }
}

AMFPHP, Flash Platform, Zend_Amf

Simple RemoteObject example in Flex 4 Gumbo

November 23rd, 2008

If you just received a copy of Flex 4 Gumbo like me you may have some issues getting something simple started. The following code shows how to make a simple remoteobject call inside flex builder 4. A couple gotchas that fooled me. First notice that you have to wrap your remoteobject call inside of the new declarations tag. Second you should notice that the MX namespace has been dropped for all components. This too took me a bit! 

Check out the ScreenCast and of course the code