<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Bootstrap file for Zend Amf</title>
	<atom:link href="http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/feed" rel="self" type="application/rss+xml" />
	<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf</link>
	<description>The spoils of the integration of PHP and ActionScript</description>
	<lastBuildDate>Wed, 19 May 2010 07:10:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: How to properly use Zend_Test and Zend_AMF - Zend Framework Forum</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-9535</link>
		<dc:creator>How to properly use Zend_Test and Zend_AMF - Zend Framework Forum</dc:creator>
		<pubDate>Fri, 29 Jan 2010 13:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-9535</guid>
		<description>[...] &quot;right&quot; way to build my unit tests.  I am using Zend_AMF configured the way Wade Arnold recommended on his blog.  In a nutshell, I am not using Controllers at all. I basically do [...]</description>
		<content:encoded><![CDATA[<p>[...] &quot;right&quot; way to build my unit tests.  I am using Zend_AMF configured the way Wade Arnold recommended on his blog.  In a nutshell, I am not using Controllers at all. I basically do [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wadearnold</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-923</link>
		<dc:creator>wadearnold</dc:creator>
		<pubDate>Mon, 09 Feb 2009 15:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-923</guid>
		<description>@Renato &amp; @jan  The good thing about the framework is that there are people with opinions. The bootstrap configuration that I suggested is based on personal preference and feedback from my zend liaison. I don&#039;t believe that this is a right or wrong question but a personal preference. Look at Zend_Amf_Response_Http as that is where the headers are being set. This could be removed but please open a ticket as community feedback so that we can get the community&#039;s opinion on removing the headers from the response.</description>
		<content:encoded><![CDATA[<p>@Renato &amp; @jan  The good thing about the framework is that there are people with opinions. The bootstrap configuration that I suggested is based on personal preference and feedback from my zend liaison. I don&#8217;t believe that this is a right or wrong question but a personal preference. Look at Zend_Amf_Response_Http as that is where the headers are being set. This could be removed but please open a ticket as community feedback so that we can get the community&#8217;s opinion on removing the headers from the response.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renato Bejarano</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-901</link>
		<dc:creator>Renato Bejarano</dc:creator>
		<pubDate>Tue, 03 Feb 2009 03:39:37 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-901</guid>
		<description>Hi Wade, I am sorry to tell you that I totally agree with Jan Viehweger.  I have been trying effortless to integrate the AMF server with the mvc integration, either setting it up in the bootstrap file or a Stefan suggested in a controller.  I don&#039;t know how it was done before, but it seemed to me with the newest version I downloaded I had some problems.  I couldn&#039;t use echo (server-&gt;handle()) before dispatching the controller, because of the HTTP header being different than text/html. And whenever I just put server-&gt;handle(), without echo after dispatching the controller I got the page rendered but I didn&#039;t get responses from the amf server.  It was a pain hoping to find a complete sample integrating an amf server with the mvc model in the zend framework.  (Which is basically the heart of the zend framework). And of course I couldn&#039;t find, because what you expect that would be normal, actually doesn&#039;t work like that.  Please warn this in your documentation, and give a technical explanation, so it wouldn&#039;t sound that weir what you are proposing here in this post.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Wade, I am sorry to tell you that I totally agree with Jan Viehweger.  I have been trying effortless to integrate the AMF server with the mvc integration, either setting it up in the bootstrap file or a Stefan suggested in a controller.  I don&#8217;t know how it was done before, but it seemed to me with the newest version I downloaded I had some problems.  I couldn&#8217;t use echo (server-&gt;handle()) before dispatching the controller, because of the HTTP header being different than text/html. And whenever I just put server-&gt;handle(), without echo after dispatching the controller I got the page rendered but I didn&#8217;t get responses from the amf server.  It was a pain hoping to find a complete sample integrating an amf server with the mvc model in the zend framework.  (Which is basically the heart of the zend framework). And of course I couldn&#8217;t find, because what you expect that would be normal, actually doesn&#8217;t work like that.  Please warn this in your documentation, and give a technical explanation, so it wouldn&#8217;t sound that weir what you are proposing here in this post.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan Viehweger</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-875</link>
		<dc:creator>Jan Viehweger</dc:creator>
		<pubDate>Sun, 25 Jan 2009 19:11:19 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-875</guid>
		<description>@Stefan Schmalhaus:
i think your solution is quite clever. i&#039;ve tested it and it just works fine. but then i&#039;ve read wades comment, which insecured me a little bit ...

@wadearno:
i understand you (rhetorical) question cause it&#039;s obvious, that the indirect call &quot;will slow down the response time of your service&quot;. but for me as a newbee to zend_amf and zend framework the question comes: why zend_amf is a part of zend framework, if i should not use the mvc integration of the zend framework? 

please don&#039;t understand me wrong. i realy love zend_amf cause it&#039;s much more flexible than amfphp. but it makes me feel uncomfortable if zend_amf has to be treated different than the rest of the framework ...

best regards
jan viehweger</description>
		<content:encoded><![CDATA[<p>@Stefan Schmalhaus:<br />
i think your solution is quite clever. i&#8217;ve tested it and it just works fine. but then i&#8217;ve read wades comment, which insecured me a little bit &#8230;</p>
<p>@wadearno:<br />
i understand you (rhetorical) question cause it&#8217;s obvious, that the indirect call &#8220;will slow down the response time of your service&#8221;. but for me as a newbee to zend_amf and zend framework the question comes: why zend_amf is a part of zend framework, if i should not use the mvc integration of the zend framework? </p>
<p>please don&#8217;t understand me wrong. i realy love zend_amf cause it&#8217;s much more flexible than amfphp. but it makes me feel uncomfortable if zend_amf has to be treated different than the rest of the framework &#8230;</p>
<p>best regards<br />
jan viehweger</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wadearnold</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-636</link>
		<dc:creator>wadearnold</dc:creator>
		<pubDate>Wed, 17 Dec 2008 20:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-636</guid>
		<description>&lt;a href=&quot;#comment-604&quot; rel=&quot;nofollow&quot;&gt;@Stefan Schmalhaus&lt;/a&gt; What is the benefit for a hybrid application in using the controller to handle the amf request?</description>
		<content:encoded><![CDATA[<p><a href="#comment-604" rel="nofollow">@Stefan Schmalhaus</a> What is the benefit for a hybrid application in using the controller to handle the amf request?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmalhaus</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-604</link>
		<dc:creator>Stefan Schmalhaus</dc:creator>
		<pubDate>Sun, 14 Dec 2008 01:00:06 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-604</guid>
		<description>In case you want to build a hybrid application with both Flex and HTML interfaces, it&#039;s not a good idea to put all Zend AMF-related code inside the bootstrap file. For more flexibility, I suggest to set up the Zend AMF server inside a regular Zend controller that can be used as AMF gateway:

http://blog.log2e.com/2008/12/14/utilizing-the-zend-amf-server-inside-a-zend-controller/</description>
		<content:encoded><![CDATA[<p>In case you want to build a hybrid application with both Flex and HTML interfaces, it&#8217;s not a good idea to put all Zend AMF-related code inside the bootstrap file. For more flexibility, I suggest to set up the Zend AMF server inside a regular Zend controller that can be used as AMF gateway:</p>
<p><a href="http://blog.log2e.com/2008/12/14/utilizing-the-zend-amf-server-inside-a-zend-controller/" rel="nofollow">http://blog.log2e.com/2008/12/14/utilizing-the-zend-amf-server-inside-a-zend-controller/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmalhaus</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-526</link>
		<dc:creator>Stefan Schmalhaus</dc:creator>
		<pubDate>Wed, 26 Nov 2008 17:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-526</guid>
		<description>I blogged on utilizing Zend_Db and Zend_Config for Zend_Amf:
http://blog.log2e.com/2008/11/26/whats-in-the-zend-framework-for-the-flashflex-developer/</description>
		<content:encoded><![CDATA[<p>I blogged on utilizing Zend_Db and Zend_Config for Zend_Amf:<br />
<a href="http://blog.log2e.com/2008/11/26/whats-in-the-zend-framework-for-the-flashflex-developer/" rel="nofollow">http://blog.log2e.com/2008/11/26/whats-in-the-zend-framework-for-the-flashflex-developer/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan Schmalhaus</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-520</link>
		<dc:creator>Stefan Schmalhaus</dc:creator>
		<pubDate>Tue, 25 Nov 2008 14:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-520</guid>
		<description>How about using Zend_Db::factory() inside the bootstrap file?</description>
		<content:encoded><![CDATA[<p>How about using Zend_Db::factory() inside the bootstrap file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adnan Doric</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-404</link>
		<dc:creator>Adnan Doric</dc:creator>
		<pubDate>Thu, 06 Nov 2008 16:04:47 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-404</guid>
		<description>Hello Wade,

I have a problem with class mapping. I try to use the remoting example (zend-php-samples) with ContactDAO class as following :

bootstrapamf.php :
$server = new Zend_Amf_Server();
$server-&gt;setClass( &quot;ContactDAO&quot; );
$server-&gt;setClassMap( &quot;ContactDTO&quot;, &quot;Contact&quot; );

Everything works fine, but in ContactDAO, function getContacts() returns an array of contacts but in Flex they are not typed.

ContactDTO.as :
[RemoteClass(alias=&quot;Contact&quot;)]
[Bindable]
public class ContactDTO
{
	public var id : int;
	public var firstname : String;
	public var lastname : String;
	public var email : String;
	public var mobile : String;
}

Any help on this please ?</description>
		<content:encoded><![CDATA[<p>Hello Wade,</p>
<p>I have a problem with class mapping. I try to use the remoting example (zend-php-samples) with ContactDAO class as following :</p>
<p>bootstrapamf.php :<br />
$server = new Zend_Amf_Server();<br />
$server-&gt;setClass( &#8220;ContactDAO&#8221; );<br />
$server-&gt;setClassMap( &#8220;ContactDTO&#8221;, &#8220;Contact&#8221; );</p>
<p>Everything works fine, but in ContactDAO, function getContacts() returns an array of contacts but in Flex they are not typed.</p>
<p>ContactDTO.as :<br />
[RemoteClass(alias="Contact")]<br />
[Bindable]<br />
public class ContactDTO<br />
{<br />
	public var id : int;<br />
	public var firstname : String;<br />
	public var lastname : String;<br />
	public var email : String;<br />
	public var mobile : String;<br />
}</p>
<p>Any help on this please ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wadearnold</title>
		<link>http://wadearnold.com/blog/flash/bootstrap-file-for-zend-amf/comment-page-1#comment-397</link>
		<dc:creator>wadearnold</dc:creator>
		<pubDate>Wed, 05 Nov 2008 20:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://wadearnold.com/blog/?p=99#comment-397</guid>
		<description>Yes this was recommended to me by Matthew Weier O&#039;Phinney and I just assume that he speaks the truth.</description>
		<content:encoded><![CDATA[<p>Yes this was recommended to me by Matthew Weier O&#8217;Phinney and I just assume that he speaks the truth.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
