<?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: AMF,XMLRPC,JSON,REST Zend Web Services Tutorial</title>
	<atom:link href="http://www.joeyrivera.com/2009/amfxmlrpcjsonrest-zend-web-services-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.joeyrivera.com/2009/amfxmlrpcjsonrest-zend-web-services-tutorial/</link>
	<description>Blogging about PHP, Actionscript, MySQL, and other interests.</description>
	<lastBuildDate>Sat, 04 Feb 2012 04:50:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Albulescu Cosmin</title>
		<link>http://www.joeyrivera.com/2009/amfxmlrpcjsonrest-zend-web-services-tutorial/comment-page-1/#comment-1855</link>
		<dc:creator>Albulescu Cosmin</dc:creator>
		<pubDate>Thu, 06 Oct 2011 08:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeyrivera.com/?p=356#comment-1855</guid>
		<description>Hi, very nice post. Very usefull</description>
		<content:encoded><![CDATA[<p>Hi, very nice post. Very usefull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey</title>
		<link>http://www.joeyrivera.com/2009/amfxmlrpcjsonrest-zend-web-services-tutorial/comment-page-1/#comment-1152</link>
		<dc:creator>Joey</dc:creator>
		<pubDate>Thu, 19 May 2011 18:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeyrivera.com/?p=356#comment-1152</guid>
		<description>Thanks, they should be back up now.</description>
		<content:encoded><![CDATA[<p>Thanks, they should be back up now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DiegoAlberto</title>
		<link>http://www.joeyrivera.com/2009/amfxmlrpcjsonrest-zend-web-services-tutorial/comment-page-1/#comment-1151</link>
		<dc:creator>DiegoAlberto</dc:creator>
		<pubDate>Thu, 19 May 2011 18:34:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeyrivera.com/?p=356#comment-1151</guid>
		<description>Dude your examples links are not working.</description>
		<content:encoded><![CDATA[<p>Dude your examples links are not working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Rivera</title>
		<link>http://www.joeyrivera.com/2009/amfxmlrpcjsonrest-zend-web-services-tutorial/comment-page-1/#comment-79</link>
		<dc:creator>Joey Rivera</dc:creator>
		<pubDate>Fri, 27 Mar 2009 13:32:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeyrivera.com/?p=356#comment-79</guid>
		<description>Matthew, thanks for the great feedback. I completely missed Zend_Json_Server when looking at the documentation and I&#039;ll look into it. I also agree with the redundancy aspect of the way I&#039;ve created these services. For a real project I would most likely do as you mentioned and keep the project more lightweight.</description>
		<content:encoded><![CDATA[<p>Matthew, thanks for the great feedback. I completely missed Zend_Json_Server when looking at the documentation and I&#8217;ll look into it. I also agree with the redundancy aspect of the way I&#8217;ve created these services. For a real project I would most likely do as you mentioned and keep the project more lightweight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Weier O'Phinney</title>
		<link>http://www.joeyrivera.com/2009/amfxmlrpcjsonrest-zend-web-services-tutorial/comment-page-1/#comment-78</link>
		<dc:creator>Matthew Weier O'Phinney</dc:creator>
		<pubDate>Thu, 26 Mar 2009 21:28:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.joeyrivera.com/?p=356#comment-78</guid>
		<description>You can actually simplify your JSON example by using either the ContextSwitch or AjaxContext action helper; by default, the JSON context takes all variables assigned to the view and simply returns a JSON representation of them. You might also want to experiment with the JSON-RPC server (Zend_Json_Server) as a more standardized format for handling JSON requests.

Also, one note on architecture here. While many people like to intercept all calls with the MVC, with services this doesn&#039;t make a lot of sense. The server classes act as your controllers, and the protocol they serve dictates the view; as such, using the MVC is redundant -- and also adds quite a bit of overhead. I typically create a service script for each protocol I want to provide a service for, and use rewrite rules to map to them (which allows me to move them around in my architecture later if need be).

Overall, though, it&#039;s a nice demonstration of how all of our server classes provide a common API -- allowing you to re-use your service classes/domain models for a variety of protocols.</description>
		<content:encoded><![CDATA[<p>You can actually simplify your JSON example by using either the ContextSwitch or AjaxContext action helper; by default, the JSON context takes all variables assigned to the view and simply returns a JSON representation of them. You might also want to experiment with the JSON-RPC server (Zend_Json_Server) as a more standardized format for handling JSON requests.</p>
<p>Also, one note on architecture here. While many people like to intercept all calls with the MVC, with services this doesn&#8217;t make a lot of sense. The server classes act as your controllers, and the protocol they serve dictates the view; as such, using the MVC is redundant &#8212; and also adds quite a bit of overhead. I typically create a service script for each protocol I want to provide a service for, and use rewrite rules to map to them (which allows me to move them around in my architecture later if need be).</p>
<p>Overall, though, it&#8217;s a nice demonstration of how all of our server classes provide a common API &#8212; allowing you to re-use your service classes/domain models for a variety of protocols.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

