<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Wade Arnold &#187; ActionScript 3</title>
	<atom:link href="http://wadearnold.com/blog/category/flash/as3/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Thu, 04 Feb 2010 15:17:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zend Con 2009 session files</title>
		<link>http://wadearnold.com/blog/flash/zend-con-2009-session-files</link>
		<comments>http://wadearnold.com/blog/flash/zend-con-2009-session-files#comments</comments>
		<pubDate>Wed, 21 Oct 2009 18:00:45 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Speaking]]></category>
		<category><![CDATA[Zend_Amf]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=294</guid>
		<description><![CDATA[Zend Con &#8216;09 has already been a great event. If your not here you need to come in 2010! Attached are the files for my Zend Amf talk on Advanced Data Communication with the Flash Platform
Session Files
Here are all the resources too!
Zend AMF Downloads
http://framework.zend.com/download/amf
Adobe Flash Builder 4 beta 2
 http://labs.adobe.com/technologies/flashbuilder4/
New PHP Features in Flash Builder [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zendcon.com/home">Zend Con &#8216;09</a> has already been a great event. If your not here you need to come in 2010! Attached are the files for <a href="http://zendcon.com/speakers">my</a> Zend Amf talk on Advanced Data Communication with the Flash Platform</p>
<p><a href="http://wadearnold.com/files/census.zip">Session Files</a></p>
<p>Here are all the resources too!</p>
<p><a href="http://framework.zend.com/download/amf">Zend AMF Downloads</a><br />
http://framework.zend.com/download/amf</p>
<p><a href="http://labs.adobe.com/technologies/flashbuilder4/  ">Adobe Flash Builder 4 beta 2<br />
</a> http://labs.adobe.com/technologies/flashbuilder4/</p>
<p><a href="http://ria.dzone.com/articles/new-php-features-flash-builder">New PHP Features in Flash Builder 4 &#8211; Part 1: Data-Centric Feature Overview</a><br />
http://ria.dzone.com/articles/new-php-features-flash-builder</p>
<p><a href="http://ria.dzone.com/articles/new-php-features-flash-builder-2">New PHP Features in Flash Builder 4 &#8211; Part 2: Using Zend AMF and Flash Remoting</a><br />
http://ria.dzone.com/articles/new-php-features-flash-builder-2</p>
<p><a href="http://www.jamesward.com/blog/2007/04/30/ajax-and-flex-data-loading-benchmarks/">James Ward Census</a><br />
http://www.jamesward.com/blog/2007/04/30/ajax-and-flex-data-loading-benchmarks/</p>
<div style="width:425px;text-align:left" id="__ss_2316170"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" href="http://www.slideshare.net/wadearnold/zendcon-09" title="Zendcon 09">Zendcon 09</a><object style="margin:0px" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=zendcon-09-091022001857-phpapp01&#038;rel=0&#038;stripped_title=zendcon-09" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=zendcon-09-091022001857-phpapp01&#038;rel=0&#038;stripped_title=zendcon-09" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="font-size:11px;font-family:tahoma,arial;height:26px;padding-top:2px;">View more <a style="text-decoration:underline;" href="http://www.slideshare.net/">presentations</a> from <a style="text-decoration:underline;" href="http://www.slideshare.net/wadearnold">wadearnold</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/zend-con-2009-session-files/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>ArrayCollection beta update in Zend Amf: thoughts?</title>
		<link>http://wadearnold.com/blog/flash/arraycollection-beta-update-in-zend-amf-thoughts</link>
		<comments>http://wadearnold.com/blog/flash/arraycollection-beta-update-in-zend-amf-thoughts#comments</comments>
		<pubDate>Mon, 15 Jun 2009 23:10:23 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Zend_Amf]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=277</guid>
		<description><![CDATA[I started working on a project this week that extensively uses ArrayCollection&#8217;s and I found that ZendAmf could use a couple additions in order to have some utilities for working with ArrayCollections in PHP. The new feature relies heavily on PHP&#8217;s SPL and specifically Countable, ArrayAccess, and IteratorAggregate all of which require PHP 5.2.3 or [...]]]></description>
			<content:encoded><![CDATA[<p>I started working on a project this week that extensively uses <a href="http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.html">ArrayCollection&#8217;s</a> and I found that <a href="http://framework.zend.com/download/amf">ZendAmf</a> could use a couple additions in order to have some utilities for working with <a href="http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.html">ArrayCollections</a> in PHP. The new feature relies heavily on <a href="http://www.php.net/~helly/php/ext/spl/main.html">PHP&#8217;s SPL</a> and specifically <a href="http://www.php.net/~helly/php/ext/spl/interfaceCountable.html">Countable</a>, <a href="http://www.php.net/~helly/php/ext/spl/interfaceArrayAccess.html">ArrayAccess</a>, and <a href="http://www.php.net/~helly/php/ext/spl/interfaceIteratorAggregate.html">IteratorAggregate</a> all of which require PHP 5.2.3 or greater.</p>
<p>The following file can be added to your Zend Amf project to play with some of these features. Please let me know if there is anything else that I should add before it is added in the next release. Please post feedback to the blog or directly to the<a href="http://framework.zend.com/issues/browse/ZF-7021"> Zend Framework feature request.</a></p>
<p><a href="http://framework.zend.com/svn/framework/standard/trunk/library/Zend/Amf/Value/Messaging/ArrayCollection.php">Alpha Zend_Amf_Value_Messaging_ArrayCollection</a></p>
<p>To create an ArrayCollection</p>
<pre lang="php">
$this->_data[] = array('foo' => 'foo1', 'bar' => 'bar1');
$this->_data[] = array('foo' => 'foo2', 'bar' => 'bar2');
$this->_arrayCollection = new Zend_Amf_Value_Messaging_ArrayCollectionTwo($this->_data);
</pre>
<p>To Create an ArrayCollection from a Zend_Db_Table_row</p>
<pre lang="php">
$table = new Bugs();

$select = $table->select();
$select->where('bug_status = ?', 'NEW');

$rows = $table->fetchAll($select);
$this->_arrayCollection = new Zend_Amf_Value_Messaging_ArrayCollectionTwo($rows);
</pre>
<p>To alter an element of an ArrayCollection</p>
<pre lang="php">
$this->_arrayCollection = new Zend_Amf_Value_Messaging_ArrayCollection($this->_data);
$total = count($this->_arrayCollection);
echo($total); // outputs 2
</pre>
<p>To get the size of the array collection</p>
<pre lang="php">
</pre>
<p>to iterate through the ArrayCollection</p>
<pre lang="php">
$count = 0;
foreach($this->_arrayCollection as $row) {
    $count++;
}
$this->assertEquals(2, $count);
</pre>
<p>To manipulate an ArrayCollection based on keys.</p>
<pre lang="php">
$this->_arrayCollection = new Zend_Amf_Value_Messaging_ArrayCollection($this->_data);

// See if the offset key exists
$boolean = $this->_arrayCollection->offsetExists(1);

// Alter or add the row at they key offset of 1
$data = array('fooSet' => 'fooSet2', 'barSet' => 'barSet2');
$this->_arrayCollection->offsetSet(1,$data);

// Remove the row at the offset key of 3
$this->_arrayCollection->offsetUnset(3);

// Get the row at the offset 6
$row = $this->_arrayCollection->offsetGet(6);
</pre>
<p>To change an ArrayCollection to an Array</p>
<pre lang="php">
$standardArray = iterator_to_array($this->_arrayCollection);
</pre>
<p>To append another row to an ArrayCollection</p>
<pre lang="php">
$this->_arrayCollection->append(array('kung' => 'foo', 'Bruce' => 'Lee'));
</pre>
<p>&#8211; Update &#8211;<br />
From a PHP developers perspective this makes little since. I am asking that you comment why you like the new ArrayCollection. I am creating something that can already be done with an array in PHP and then just wrap it into a stub ArrayCollection class.  The two things that action script does not do with an array is: </p>
<p>it can not handle sparse array’s. {1=> one, 2=>two, 4=>four} this is a sparse array and Action Script will try and pad the array or just make it an object. </p>
<p>Actionscript can not use strings as the key in the array so it just uses an object. If you want a numerically keyed array of objects they call it an ArrayCollection. </p>
<p>Both of these concepts are handled in PHP as just an Array. So there is no reason that you could not use the Array and then pass the array into a simple ArrayCollection class for it to be parsed back to flex. So when you see the new ArrayCollection class what are the use cases that you feel you would use the class for? Is it just a convenience tool or does it add complexity that does not need to exists? </p>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/arraycollection-beta-update-in-zend-amf-thoughts/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Simple RemoteObject example in Flex 4 Gumbo</title>
		<link>http://wadearnold.com/blog/uncategorized/simple-remoteobject-example-in-flex-4-gumbo</link>
		<comments>http://wadearnold.com/blog/uncategorized/simple-remoteobject-example-in-flex-4-gumbo#comments</comments>
		<pubDate>Sun, 23 Nov 2008 05:05:37 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[AMFPHP]]></category>
		<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Zend_Amf]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=143</guid>
		<description><![CDATA[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 [...]]]></description>
			<content:encoded><![CDATA[<p>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! </p>
<p>Check out the <a href="http://www.screencast.com/users/wadearnold/folders/Jing/media/9ae9eeb3-1f52-4bfa-b93c-526074d76109">ScreenCast </a>and of course the code</p>
<pre lang="actionscript">
<?xml version="1.0" encoding="utf-8"?>
<Application xmlns="http://ns.adobe.com/mxml/2009">
    <Declarations>
        <RemoteObject endpoint="http://localhost:8888/" id="myservice" fault="faultHandler(event)"
        	source="HelloWorld" destination="zend">
        	<method name="say" result="responseHandler(event)" />
        </RemoteObject>
    </Declarations>
    <Script>
    	<![CDATA[
    		import mx.rpc.events.FaultEvent;
    		import mx.rpc.events.ResultEvent;

    		/**
    		 * Make the call to the server
    		 */
    		public function sendHello():void {
    			myservice.say(input.text);
    		}

    		/**
    		 * Handle the successfull result from the remoting call
    		 */
    		private function responseHandler(event:ResultEvent):void {
    			result.text = event.result.toString();
    		}

    		/**
    		 * Handle the failed remoting call
    		 */
    		private function faultHandler(event:FaultEvent):void {
    			result.text = event.message.toString();
    		}
    	]]&gt;
    </Script>

    <VGroup horizontalCenter="0" verticalCenter="0">
    	<TextInput id="input" text="I like coffee"/>
        <Button id="btn" click="sendHello()" label="Send" />
        <TextArea id="result"/>
    </VGroup>

</Application>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/uncategorized/simple-remoteobject-example-in-flex-4-gumbo/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>At adobe max</title>
		<link>http://wadearnold.com/blog/flash/as3/at-adobe-max</link>
		<comments>http://wadearnold.com/blog/flash/as3/at-adobe-max#comments</comments>
		<pubDate>Mon, 17 Nov 2008 05:21:09 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Speaking]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=124</guid>
		<description><![CDATA[Adam and I just flew to San francisco to meet for the first time. Even though we live 20 minutes away in Iowa. 

]]></description>
			<content:encoded><![CDATA[<p>Adam and I just flew to San francisco to meet for the first time. Even though we live 20 minutes away in Iowa. </p>
<p><a href="http://wadearnold.com/blog/wp-content/uploads/2008/11/l-640-480-32c6e43e-7542-4e2e-b447-028a91756d27.jpeg"><img src="http://wadearnold.com/blog/wp-content/uploads/2008/11/l-640-480-32c6e43e-7542-4e2e-b447-028a91756d27.jpeg" alt="" width="300" height="225" class="alignnone size-full wp-image-364" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/as3/at-adobe-max/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Amf Test Cases 87.45% Lines covered</title>
		<link>http://wadearnold.com/blog/flash/zend-amf-test-cases-8745-lines-covered</link>
		<comments>http://wadearnold.com/blog/flash/zend-amf-test-cases-8745-lines-covered#comments</comments>
		<pubDate>Thu, 09 Oct 2008 22:21:13 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Zend_Amf]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=55</guid>
		<description><![CDATA[87.45% of all lines of Zend Amf now have a unit test in order to assure the functionality. Although painful it turned out to be a great experience for re factoring out a lot of useless code. It also prepares users with a tool set to prove that everything is working properly before they base [...]]]></description>
			<content:encoded><![CDATA[<p>87.45% of all lines of Zend Amf now have a unit test in order to assure the functionality. Although painful it turned out to be a great experience for re factoring out a lot of useless code. It also prepares users with a tool set to prove that everything is working properly before they base there application on Zend_Amf&#8217;s functionality. Thanks <a href="http://weierophinney.net/matthew/">Matthew Weier O&#8217;Phinney </a>for your hand holding help!</p>
<p>All Green Feels So good!</p>
<p><a href="http://wadearnold.com/blog/wp-content/uploads/2008/10/2008-10-09_1657.png"><img class="aligncenter size-medium wp-image-56" title="Zend Test Suite" src="http://wadearnold.com/blog/wp-content/uploads/2008/10/2008-10-09_1657-300x146.png" alt="" width="300" height="146" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/zend-amf-test-cases-8745-lines-covered/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zend Amf Class Mapping</title>
		<link>http://wadearnold.com/blog/flash/zend-amf-class-mapping</link>
		<comments>http://wadearnold.com/blog/flash/zend-amf-class-mapping#comments</comments>
		<pubDate>Wed, 24 Sep 2008 16:39:01 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Zend_Amf]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=54</guid>
		<description><![CDATA[The latest version of Zend Amf in the incubator has full support for type mapping of objects. Check out this screen cast, now w/ audio, that shows the there different ways that you can set the return type of an object when it comes back to flex. Thanks Kevin for the PHP classes for the [...]]]></description>
			<content:encoded><![CDATA[<p>The latest version of Zend Amf in the incubator has full support for type mapping of objects. Check out this screen cast, now w/ audio, that shows the there different ways that you can set the return type of an object when it comes back to flex. Thanks <a href="http://blog.kevinhoyt.org/">Kevin </a>for the PHP classes for the example!</p>
<p><a href="http://www.wadearnold.com/tutorials/zend/classmap/">Zend Amf Class Mapping Adobe Mirror </a>Thanks <a href="http://theflashblog.com/">Lee Brimelow</a> and <a href="http://blog.kevinhoyt.org/">Kevin Hoyt</a> for the bandwidth from Adobe!</p>
<p><a href="http://www.screencast.com/t/p4hpcV9a8H">Zend Amf Class Mapping</a> screencast I only have 2 gigs of transfer<a href="http://www.screencast.com/t/p4hpcV9a8H"><br />
</a></p>
<p><a href="http://www.wadearnold.com/tutorials/zend/classmap/"></a></p>
<p>If you have tried to work with the files in the incubator please update them as Class Mapping was not included in the last checkin.</p>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/zend-amf-class-mapping/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Zend Amf w/ RemoteObject video</title>
		<link>http://wadearnold.com/blog/flash/zend-amf-w-remoteobject-video</link>
		<comments>http://wadearnold.com/blog/flash/zend-amf-w-remoteobject-video#comments</comments>
		<pubDate>Sun, 14 Sep 2008 23:18:40 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Zend_Amf]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=51</guid>
		<description><![CDATA[updated features
RemoteObject now works with AS3 connections to Zend_Amf enabling Flex to take full advantage of the Zend Framework. Check out the video to see a simple example. I have to get back to work on additional features and possibly even my presentation!
Watch Flex Talk to Zend
Come say hi if you see me at ZendCon! [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wadearnold.com/blog/?p=52">updated features</a><br />
RemoteObject now works with AS3 connections to Zend_Amf enabling Flex to take full advantage of the Zend Framework. Check out the video to see a simple example. I have to get back to work on additional features and possibly even my presentation!</p>
<p><a href="http://www.screencast.com/users/wadearnold/folders/Jing/media/e79f34a7-815b-4e5f-8673-9cec296b44ed">Watch Flex Talk to Zend</a></p>
<p>Come say hi if you see <a href="http://wadearnold.com/blog/?page_id=2">me </a>at <a href="http://www.zendcon.com/ZendCon08/public/content/home">ZendCon</a>! The hotel is really nice!</p>
<p><img src="http://wadearnold.com/blog/wp-content/uploads/2008/09/room_zendcon_2.jpg" title="room" alt="room" align="left" width="400" height="300" /><img src="http://wadearnold.com/blog/wp-content/uploads/2008/09/room_zendcon.jpg" title="ZendCon room" alt="ZendCon room" align="middle" width="400" height="300" /></p>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/zend-amf-w-remoteobject-video/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Arial &amp; _sans font size 11 crop&#8217;s textfield</title>
		<link>http://wadearnold.com/blog/flash/arial-_sans-font-size-11-crops-textfield</link>
		<comments>http://wadearnold.com/blog/flash/arial-_sans-font-size-11-crops-textfield#comments</comments>
		<pubDate>Tue, 12 Aug 2008 02:24:47 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=44</guid>
		<description><![CDATA[TextField in Flash CS3 can&#8217;t render default fonts without cropping text. Look at the image below as it really showcases the W getting cropped out.

This is to bad because there are only so many fonts that you can assume to use without having to embedded an additional font. Thanks JJ for getting to the bottom [...]]]></description>
			<content:encoded><![CDATA[<p>TextField in Flash CS3 can&#8217;t render default fonts without cropping text. Look at the image below as it really showcases the W getting cropped out.</p>
<p><a href="http://wadearnold.com/blog/wp-content/uploads/2008/08/renderissue.png" title="renderissue.png"><img src="http://wadearnold.com/blog/wp-content/uploads/2008/08/renderissue.png" alt="renderissue.png" /></a></p>
<p>This is to bad because there are only so many fonts that you can assume to use without having to embedded an additional font. Thanks JJ for getting to the bottom of this issue!</p>
<p><a href="http://wadearnold.com/blog/wp-content/uploads/2008/08/wdemo.swf" title="wdemo.swf">wdemo.swf</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/arial-_sans-font-size-11-crops-textfield/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Speaking at ZendCon 2008: Leverage Zend Framework for your next Flex RIA</title>
		<link>http://wadearnold.com/blog/flash/speaking-at-zendcon-2008-leverage-zend-framework-for-your-next-flex-ria</link>
		<comments>http://wadearnold.com/blog/flash/speaking-at-zendcon-2008-leverage-zend-framework-for-your-next-flex-ria#comments</comments>
		<pubDate>Mon, 21 Jul 2008 13:52:53 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Zend_Amf]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=40</guid>
		<description><![CDATA[I am speaking about a project that I have been working on with Adobe and Zend at ZendCon this year. I am supper excited about this advancement as it brings together to languages that I love. Drop a comment if you are thinking about going or want to meet up. Also if there is something [...]]]></description>
			<content:encoded><![CDATA[<p>I am speaking about a project that I have been working on with Adobe and Zend at ZendCon this year. I am supper excited about this advancement as it brings together to languages that I love. Drop a comment if you are thinking about going or want to meet up. Also if there is something specific that you want to see in the presentation let me know! Session information should be released in the enxt couple weeks on the <a href="http://www.zendcon.com/ZendCon08/public/content/home">ZendCon website</a> under RIA</p>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/speaking-at-zendcon-2008-leverage-zend-framework-for-your-next-flex-ria/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Why OOP AMF serialization?</title>
		<link>http://wadearnold.com/blog/flash/why-oop-amf-serialization</link>
		<comments>http://wadearnold.com/blog/flash/why-oop-amf-serialization#comments</comments>
		<pubDate>Mon, 14 Jul 2008 02:30:43 +0000</pubDate>
		<dc:creator>wadearnold</dc:creator>
				<category><![CDATA[ActionScript 3]]></category>
		<category><![CDATA[Flash Platform]]></category>
		<category><![CDATA[Zend_Amf]]></category>

		<guid isPermaLink="false">http://wadearnold.com/blog/?p=37</guid>
		<description><![CDATA[In response to some questions and emails
The specification for AMF serialization define a type market for each data type. There are 13 types in AMF A type marker is one byte in length and describes the type of encoded data that follows. The general data type is very simple to handle but what is more [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wadearnold.com/blog/?p=34">In response to some questions and emails</a></p>
<p>The specification for AMF serialization define a type market for each data type. <em>There are 13 types in AMF A type marker is one byte in length and describes the type of encoded data that follows.</em> The general data type is very simple to handle but what is more inportant is when a second byte exists called the ecoding type byte. <em>Type markers may be followed by the actual encoded type data, or if the marker<br />
represents a single possible value (such as null) then no further information needs to be encoded.</em> What data type you need to serialize based on the first byte of data field. Once you get this type you there. This is fine if you have all the time in the world to implement every type in the specification. However most people when they think of array they think of just one type. But there are three types of arrays defined by AMF and if you really want a complete implementation you need to handle all three. Outside of teh speficication people really think of AMF as Life Cycle Data Services. I need AMF in php usually is someone implying that they want all the functionality of LifeCycle DS in PHP. This is really where the OOp functionality comes into play. A fully imlemented AF gateway falls well short of LifeCycle. In the next serialization implementation that I am working on it has to be able to add these additional mapping tools that are more generic than class mapping your custom classes to be a part of the release. A common request is ArrayCollections. Class mapping ArrayCollections is something that you need in almost every Flex project but it really is not part of the AMF specification. In this specific case AMF would treat the incoming Data as an object type which it is. By using a more OOP implementation it is easy to add this as an object type but then also used an optimized ArrayCollection handler that is part of the core library&#8217;s without having to have everyone role there own.</p>
<p>Headers fall into this too. Most developers like to toss additional session specific or session instantiation specific data into the AMF header. The new aproach allows you to create your own handlers for those headers and of course support the defined amf_server_debug, Credentials, DescribeService.</p>
]]></content:encoded>
			<wfw:commentRss>http://wadearnold.com/blog/flash/why-oop-amf-serialization/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
