<?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: Flex and PHP: remoting with AMFPHP</title>
	<atom:link href="http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/feed/" rel="self" type="application/rss+xml" />
	<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/</link>
	<description>Flex, AIR and Rock&#38;Roll</description>
	<pubDate>Tue, 06 Jan 2009 11:09:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1511</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Thu, 01 Jan 2009 21:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1511</guid>
		<description>@jcarlos

You can have a look to my post here: http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/

Thank you for the nice words!</description>
		<content:encoded><![CDATA[<p>@jcarlos</p>
<p>You can have a look to my post here: <a href="http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/"  rel="nofollow">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/</a></p>
<p>Thank you for the nice words!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcarlos</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1508</link>
		<dc:creator>jcarlos</dc:creator>
		<pubDate>Thu, 01 Jan 2009 14:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1508</guid>
		<description>Thank you very much for this great and clear tutorial. 

If you have any example, link or direction showing how to have user authentication with remote object calls I would thank you a lot.

I´m still a newbie with flex and having a hard time to find even small but complete examples where the user is authenticated (I find one of yours, great too!) and after that how to send the the user´s credentials, or session, or token to validate the data access.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this great and clear tutorial. </p>
<p>If you have any example, link or direction showing how to have user authentication with remote object calls I would thank you a lot.</p>
<p>I´m still a newbie with flex and having a hard time to find even small but complete examples where the user is authenticated (I find one of yours, great too!) and after that how to send the the user´s credentials, or session, or token to validate the data access.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chaz</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1490</link>
		<dc:creator>Chaz</dc:creator>
		<pubDate>Mon, 22 Dec 2008 18:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1490</guid>
		<description>thanks a lot it works with Flex 2.0.1, i do not know which Hoxfix i have.

Thanks</description>
		<content:encoded><![CDATA[<p>thanks a lot it works with Flex 2.0.1, i do not know which Hoxfix i have.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1486</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Fri, 19 Dec 2008 20:53:26 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1486</guid>
		<description>@Chaz

Should work with Flex 2.0.1 Hotfix 3. Let me know if it doesn't.</description>
		<content:encoded><![CDATA[<p>@Chaz</p>
<p>Should work with Flex 2.0.1 Hotfix 3. Let me know if it doesn&#8217;t.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chaz</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1485</link>
		<dc:creator>Chaz</dc:creator>
		<pubDate>Fri, 19 Dec 2008 18:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1485</guid>
		<description>Thanks for getting back quickly…

Is this just for flex 3 or can I use this example for flex 2?

Thanks
Chaz</description>
		<content:encoded><![CDATA[<p>Thanks for getting back quickly…</p>
<p>Is this just for flex 3 or can I use this example for flex 2?</p>
<p>Thanks<br />
Chaz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1482</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Fri, 19 Dec 2008 09:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1482</guid>
		<description>@Chaz
Yes you can. Probably you will do a call to another domain name than the one that served the SWF file. If this is the case you have to either have cross-domain policy file on the PHP server, or to use BlazeDS and proxy features, that lets you make call to other domains without the need of cross domain file.</description>
		<content:encoded><![CDATA[<p>@Chaz<br />
Yes you can. Probably you will do a call to another domain name than the one that served the SWF file. If this is the case you have to either have cross-domain policy file on the PHP server, or to use BlazeDS and proxy features, that lets you make call to other domains without the need of cross domain file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chaz</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1475</link>
		<dc:creator>Chaz</dc:creator>
		<pubDate>Thu, 18 Dec 2008 16:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1475</guid>
		<description>Can I run flex swf file on a coldfusion server making a remote call to a php class?

Thanks
Chaz</description>
		<content:encoded><![CDATA[<p>Can I run flex swf file on a coldfusion server making a remote call to a php class?</p>
<p>Thanks<br />
Chaz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Munich Flex and PHP user group meeting : Mihai CORLAN</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1435</link>
		<dc:creator>Munich Flex and PHP user group meeting : Mihai CORLAN</dc:creator>
		<pubDate>Tue, 09 Dec 2008 11:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1435</guid>
		<description>[...] http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/"  rel="nofollow">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1346</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Mon, 24 Nov 2008 09:40:55 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1346</guid>
		<description>@Jean-Claude

On any RemoteObject, there is a property for each method, that offers access to the last result from the server. In my example I have the method getData() defined on the PHP class. Thus when I call this method in Flex, I have the property on the RemoteObject "getData", and on this property I have the property lastResult.

This is not a property of the data grid, but of the RemoteObject. You can find more looking in the Flex documentation.</description>
		<content:encoded><![CDATA[<p>@Jean-Claude</p>
<p>On any RemoteObject, there is a property for each method, that offers access to the last result from the server. In my example I have the method getData() defined on the PHP class. Thus when I call this method in Flex, I have the property on the RemoteObject &#8220;getData&#8221;, and on this property I have the property lastResult.</p>
<p>This is not a property of the data grid, but of the RemoteObject. You can find more looking in the Flex documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean-Claude</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1344</link>
		<dc:creator>Jean-Claude</dc:creator>
		<pubDate>Sun, 23 Nov 2008 23:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1344</guid>
		<description>{myRemote.getData.lastResult}??

Would you please elaborate more on the use of the above code, I searched the datagrid methods and I did not see anything related to getData.lastResult

myRemote calls getData.lastResult which is located where? it was not in the php code or the actionScript code. WHere is it?</description>
		<content:encoded><![CDATA[<p>{myRemote.getData.lastResult}??</p>
<p>Would you please elaborate more on the use of the above code, I searched the datagrid methods and I did not see anything related to getData.lastResult</p>
<p>myRemote calls getData.lastResult which is located where? it was not in the php code or the actionScript code. WHere is it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex and PHP: remoting with Zend AMF : Mihai CORLAN</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1247</link>
		<dc:creator>Flex and PHP: remoting with Zend AMF : Mihai CORLAN</dc:creator>
		<pubDate>Thu, 13 Nov 2008 15:58:16 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1247</guid>
		<description>[...] way to get your data in Flex/AIR clients, I wanted to add a short post explaining how to do use it (here is another post I wrote on remoting with AMFPHP). Actually this post, is a part of a larger article [...]</description>
		<content:encoded><![CDATA[<p>[...] way to get your data in Flex/AIR clients, I wanted to add a short post explaining how to do use it (here is another post I wrote on remoting with AMFPHP). Actually this post, is a part of a larger article [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marty</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1177</link>
		<dc:creator>Marty</dc:creator>
		<pubDate>Thu, 06 Nov 2008 13:37:19 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1177</guid>
		<description>Thanks Mihai! 

I'd been banging my head against the keyboard trying to get AMFPHP to return my objects, until I ran across your article. No other tutorial seemed to mention that you needed to place them in services/vo/. 

Keep up the good work!

Cheers!</description>
		<content:encoded><![CDATA[<p>Thanks Mihai! </p>
<p>I&#8217;d been banging my head against the keyboard trying to get AMFPHP to return my objects, until I ran across your article. No other tutorial seemed to mention that you needed to place them in services/vo/. </p>
<p>Keep up the good work!</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1108</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Fri, 24 Oct 2008 06:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1108</guid>
		<description>Hi Gilly,

Both destination and source for AMFPHP need to be the name of the PHP class if you want not to use the remote-config.xml file. So, this is why you don't need this configuration file.

cheers</description>
		<content:encoded><![CDATA[<p>Hi Gilly,</p>
<p>Both destination and source for AMFPHP need to be the name of the PHP class if you want not to use the remote-config.xml file. So, this is why you don&#8217;t need this configuration file.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilly</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1107</link>
		<dc:creator>Gilly</dc:creator>
		<pubDate>Thu, 23 Oct 2008 21:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1107</guid>
		<description>Thank you very much for this tutorial.. (Indeed one get quickly lost although it looks simple..)

In your RemoteObject definition you define destination="MyService" source="MyService"
I suppose the source is the actual php file in amfphp\services, but what should be the destination  ? I thought it was the identifier of a destination defined in a config-file but I don't see it in your services-config.xml ... 
Thanks, 
G.</description>
		<content:encoded><![CDATA[<p>Thank you very much for this tutorial.. (Indeed one get quickly lost although it looks simple..)</p>
<p>In your RemoteObject definition you define destination=&#8221;MyService&#8221; source=&#8221;MyService&#8221;<br />
I suppose the source is the actual php file in amfphp\services, but what should be the destination  ? I thought it was the identifier of a destination defined in a config-file but I don&#8217;t see it in your services-config.xml &#8230;<br />
Thanks,<br />
G.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1103</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Thu, 23 Oct 2008 09:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1103</guid>
		<description>Hi there!

What I would do:
1. Make sure that there are no errors in the PHP class you want to call from Flex. Just open the scrip in a web browser and see if there are errors (you should have PHP configured to output the errors)
2. Make sure there are no spaces or enters before the opening and after the closing tag &lt;?php / ?&gt;
3. Next I would try to reach the method using AMFPHP browser. Alternatively, you can add a small code at the top of the PHP class, to instantiate the class and call the method you want with the given arguments. This way you check that the PHP code is working correctly
4. Finally, if all the steps before were passed, you probably have something wrong on the Flex side. Either you didn't configure correctly the RemoteObject,or the VOs or something.

While working with AMFPHP is not rocket science, it needs a lot of attention for details, and when you try for the first time it can be a little difficult.

Good luck!</description>
		<content:encoded><![CDATA[<p>Hi there!</p>
<p>What I would do:<br />
1. Make sure that there are no errors in the PHP class you want to call from Flex. Just open the scrip in a web browser and see if there are errors (you should have PHP configured to output the errors)<br />
2. Make sure there are no spaces or enters before the opening and after the closing tag < ?php / ?><br />
3. Next I would try to reach the method using AMFPHP browser. Alternatively, you can add a small code at the top of the PHP class, to instantiate the class and call the method you want with the given arguments. This way you check that the PHP code is working correctly<br />
4. Finally, if all the steps before were passed, you probably have something wrong on the Flex side. Either you didn&#8217;t configure correctly the RemoteObject,or the VOs or something.</p>
<p>While working with AMFPHP is not rocket science, it needs a lot of attention for details, and when you try for the first time it can be a little difficult.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avidFlex</title>
		<link>http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/comment-page-1/#comment-1094</link>
		<dc:creator>avidFlex</dc:creator>
		<pubDate>Wed, 22 Oct 2008 07:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/#comment-1094</guid>
		<description>Hi there,

Been referring to what u posted abt AMFPHP and Flex and must say its really comprehensive. Just a question though, I keep getting AMF message errors in the localhost AMFPHP browser and this causes my application to unexpectedly quit during runtime. What i'm trying to do is create a simple flex form which links to AMFPHP and inserts the data into the database. 

Any suggestions?

Thanks
avidFlex</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Been referring to what u posted abt AMFPHP and Flex and must say its really comprehensive. Just a question though, I keep getting AMF message errors in the localhost AMFPHP browser and this causes my application to unexpectedly quit during runtime. What i&#8217;m trying to do is create a simple flex form which links to AMFPHP and inserts the data into the database. </p>
<p>Any suggestions?</p>
<p>Thanks<br />
avidFlex</p>
]]></content:encoded>
	</item>
</channel>
</rss>
