<?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: Simple REST server in PHP &#8211; Supports JSON &amp; AMF</title>
	<atom:link href="http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/feed/" rel="self" type="application/rss+xml" />
	<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/</link>
	<description>Flex, AIR, PHP, etc.</description>
	<lastBuildDate>Thu, 11 Mar 2010 19:59:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Asanka lakmal</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-9077</link>
		<dc:creator>Asanka lakmal</dc:creator>
		<pubDate>Tue, 02 Mar 2010 08:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-9077</guid>
		<description>Nice article , great work thank you very much.</description>
		<content:encoded><![CDATA[<p>Nice article , great work thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Wright</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8969</link>
		<dc:creator>Jacob Wright</dc:creator>
		<pubDate>Wed, 30 Dec 2009 18:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8969</guid>
		<description>I didn&#039;t think to post what version this had to work with. I guess PHP 5 &gt;= 5.2.3! :)

And if you want it to work in a subdirectory you can, just have to add the classes with &quot;/rest&quot; in front, like $server-&gt;addClass(&#039;ProductsController&#039;, &#039;/rest/products&#039;);

Maybe I&#039;ll add a global prefix for all classes.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t think to post what version this had to work with. I guess PHP 5 >= 5.2.3! :)</p>
<p>And if you want it to work in a subdirectory you can, just have to add the classes with &#8220;/rest&#8221; in front, like $server->addClass(&#8216;ProductsController&#8217;, &#8216;/rest/products&#8217;);</p>
<p>Maybe I&#8217;ll add a global prefix for all classes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8961</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 29 Dec 2009 18:39:28 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8961</guid>
		<description>Uhm....yeah. Don&#039;t u luv it when someone requests help and then answers their own questions?

I was trying to get this to work in a sub-directory (../rest) instead of in the root directory. Got to adjust the .htaccess file.</description>
		<content:encoded><![CDATA[<p>Uhm&#8230;.yeah. Don&#8217;t u luv it when someone requests help and then answers their own questions?</p>
<p>I was trying to get this to work in a sub-directory (../rest) instead of in the root directory. Got to adjust the .htaccess file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8960</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 29 Dec 2009 18:30:44 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8960</guid>
		<description>Aargh! Still running into issues. I got my PHP updated, but now the only thing I get returned when viewing index.php is:

{&quot;error&quot;:{&quot;code&quot;:404,&quot;message&quot;:&quot;Not Found&quot;}}

Any suggestions?</description>
		<content:encoded><![CDATA[<p>Aargh! Still running into issues. I got my PHP updated, but now the only thing I get returned when viewing index.php is:</p>
<p>{&#8220;error&#8221;:{&#8220;code&#8221;:404,&#8221;message&#8221;:&#8221;Not Found&#8221;}}</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8959</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 29 Dec 2009 17:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8959</guid>
		<description>hmm....looks like i may have to get PHP upgraded:

ReflectionParameter::getPosition
(PHP 5 &gt;= 5.2.3)</description>
		<content:encoded><![CDATA[<p>hmm&#8230;.looks like i may have to get PHP upgraded:</p>
<p>ReflectionParameter::getPosition<br />
(PHP 5 &gt;= 5.2.3)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8957</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 29 Dec 2009 16:23:03 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8957</guid>
		<description>Wanting to try this out, but getting:
Fatal error: Call to undefined method ReflectionParameter::getPosition() in ...\RestServer.php on line 264
Not seeing the getPosition function declaration anywhere within the Class. Any help would be appreciated.</description>
		<content:encoded><![CDATA[<p>Wanting to try this out, but getting:<br />
Fatal error: Call to undefined method ReflectionParameter::getPosition() in &#8230;\RestServer.php on line 264<br />
Not seeing the getPosition function declaration anywhere within the Class. Any help would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Wright</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8900</link>
		<dc:creator>Jacob Wright</dc:creator>
		<pubDate>Fri, 18 Dec 2009 17:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8900</guid>
		<description>I&#039;ve added an example .htaccess file at the end of this post. Should get you what you need.

All you need are the two classes I provide, unless you are working with Flash AND want to use AMF format rather than just JSON, then you&#039;ll need to have the Zend Framework in your class path.

That&#039;s why I wrote this. So I don&#039;t have to deal with all the extra stuff that other libraries add in. Keeps it simple.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added an example .htaccess file at the end of this post. Should get you what you need.</p>
<p>All you need are the two classes I provide, unless you are working with Flash AND want to use AMF format rather than just JSON, then you&#8217;ll need to have the Zend Framework in your class path.</p>
<p>That&#8217;s why I wrote this. So I don&#8217;t have to deal with all the extra stuff that other libraries add in. Keeps it simple.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Edwards</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8893</link>
		<dc:creator>Steve Edwards</dc:creator>
		<pubDate>Thu, 17 Dec 2009 23:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8893</guid>
		<description>Hi Jacob, 

This looks like what I&#039;m looking for.

Excuse the ignorance, though, how should I be rewriting my urls for this? I&#039;m a bit confused about how the urls map to the classes and methods. A snippet of .htaccess would help.

Also, all I&#039;m using is your classes. There&#039;s nothing else required is there?</description>
		<content:encoded><![CDATA[<p>Hi Jacob, </p>
<p>This looks like what I&#8217;m looking for.</p>
<p>Excuse the ignorance, though, how should I be rewriting my urls for this? I&#8217;m a bit confused about how the urls map to the classes and methods. A snippet of .htaccess would help.</p>
<p>Also, all I&#8217;m using is your classes. There&#8217;s nothing else required is there?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Wright</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8876</link>
		<dc:creator>Jacob Wright</dc:creator>
		<pubDate>Wed, 16 Dec 2009 01:38:30 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8876</guid>
		<description>I fixed a bug that prevented the RestServer from working correctly when a GET string of variables was used in the URL (e.g. /mypage?var1=value&amp;var2=foobar).

Yeah, I know, basic functionality. But I haven&#039;t given this a real work over yet. Any bugs let me know and I&#039;ll fix them relatively quickly. Thanks!!</description>
		<content:encoded><![CDATA[<p>I fixed a bug that prevented the RestServer from working correctly when a GET string of variables was used in the URL (e.g. /mypage?var1=value&#038;var2=foobar).</p>
<p>Yeah, I know, basic functionality. But I haven&#8217;t given this a real work over yet. Any bugs let me know and I&#8217;ll fix them relatively quickly. Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Wright</title>
		<link>http://jacwright.com/blog/250/simple-rest-server-in-php-supports-json-amf/comment-page-1/#comment-8711</link>
		<dc:creator>Jacob Wright</dc:creator>
		<pubDate>Mon, 30 Nov 2009 16:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=250#comment-8711</guid>
		<description>John, you&#039;re right. The data property is accessed on the controller, it is not passed in to the method parameters. I will update.

&lt;strong&gt;Update:&lt;/strong&gt; I fixed the class and updated it so that the keyword $data parameter would work as documented in the post.</description>
		<content:encoded><![CDATA[<p>John, you&#8217;re right. The data property is accessed on the controller, it is not passed in to the method parameters. I will update.</p>
<p><strong>Update:</strong> I fixed the class and updated it so that the keyword $data parameter would work as documented in the post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
