<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Invoking PHP functions from Flex using AMFPHP</title>
	<atom:link href="http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/feed/" rel="self" type="application/rss+xml" />
	<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/</link>
	<description></description>
	<lastBuildDate>Mon, 16 Nov 2009 08:57:21 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: wilfredo</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-27830</link>
		<dc:creator>wilfredo</dc:creator>
		<pubDate>Thu, 05 Nov 2009 15:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-27830</guid>
		<description>Hi,

I am getting this error. If I run the example. I have Tomcat 6.0, blazeds, PHP 5.26 and AMFPHP 1.9...
I can run the gateway find but not the browser example or your example...

Please help

(mx.rpc::Fault)#0
  errorID = 0
  faultCode = &quot;Client.Error.MessageSend&quot;
  faultDetail = &quot;Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed&quot;
  faultString = &quot;Send failed&quot;
  message = &quot;faultCode:Client.Error.MessageSend faultString:&#039;Send failed&#039; faultDetail:&#039;Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed&#039;&quot;
  name = &quot;Error&quot;
  rootCause = (Object)#1
    code = &quot;NetConnection.Call.Failed&quot;
    description = &quot;HTTP: Failed&quot;
    details = &quot;http://localhost:8080/amfphp/gateway.php&quot;
    level = &quot;error&quot;</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am getting this error. If I run the example. I have Tomcat 6.0, blazeds, PHP 5.26 and AMFPHP 1.9&#8230;<br />
I can run the gateway find but not the browser example or your example&#8230;</p>
<p>Please help</p>
<p>(mx.rpc::Fault)#0<br />
  errorID = 0<br />
  faultCode = &#8220;Client.Error.MessageSend&#8221;<br />
  faultDetail = &#8220;Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed&#8221;<br />
  faultString = &#8220;Send failed&#8221;<br />
  message = &#8220;faultCode:Client.Error.MessageSend faultString:&#8217;Send failed&#8217; faultDetail:&#8217;Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed&#8217;&#8221;<br />
  name = &#8220;Error&#8221;<br />
  rootCause = (Object)#1<br />
    code = &#8220;NetConnection.Call.Failed&#8221;<br />
    description = &#8220;HTTP: Failed&#8221;<br />
    details = &#8220;http://localhost:8080/amfphp/gateway.php&#8221;<br />
    level = &#8220;error&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shreyas</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-27631</link>
		<dc:creator>Shreyas</dc:creator>
		<pubDate>Fri, 09 Oct 2009 08:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-27631</guid>
		<description>Hi Sujit,

In the example, what is the use of the destination attribute for the Remote Object?</description>
		<content:encoded><![CDATA[<p>Hi Sujit,</p>
<p>In the example, what is the use of the destination attribute for the Remote Object?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Himanshu</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-27544</link>
		<dc:creator>Himanshu</dc:creator>
		<pubDate>Mon, 14 Sep 2009 14:15:29 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-27544</guid>
		<description>Hi Sujit

I have been successfully using remoting with PHP at server and Flex as client.

My requirement is to poll my PHP service after regular intervals. So is it a good idea to invoke the service using RemoteObject in a timer function?  it will return an arraycollection and every time my my data provider will change so item renderer objects will recreate, which causes flickering in front end.
So do we have some better alternative where we only get the changed/ updated results from the server?

What is the proper technique to solve this problem?

Does BlazeDS with polling enabled help in such cases?</description>
		<content:encoded><![CDATA[<p>Hi Sujit</p>
<p>I have been successfully using remoting with PHP at server and Flex as client.</p>
<p>My requirement is to poll my PHP service after regular intervals. So is it a good idea to invoke the service using RemoteObject in a timer function?  it will return an arraycollection and every time my my data provider will change so item renderer objects will recreate, which causes flickering in front end.<br />
So do we have some better alternative where we only get the changed/ updated results from the server?</p>
<p>What is the proper technique to solve this problem?</p>
<p>Does BlazeDS with polling enabled help in such cases?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujit Reddy G</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-27423</link>
		<dc:creator>Sujit Reddy G</dc:creator>
		<pubDate>Fri, 28 Aug 2009 12:47:40 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-27423</guid>
		<description>Hi Binod,

Thanks for reporting this :) Please try this http://sujitreddy.g.googlepages.com/FirstService.php.txt</description>
		<content:encoded><![CDATA[<p>Hi Binod,</p>
<p>Thanks for reporting this <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Please try this <a href="http://sujitreddy.g.googlepages.com/FirstService.php.txt" rel="nofollow">http://sujitreddy.g.googlepages.com/FirstService.php.txt</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binod</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-27284</link>
		<dc:creator>Binod</dc:creator>
		<pubDate>Mon, 27 Jul 2009 07:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-27284</guid>
		<description>Hi Sujit 
When I open http://www.sujitreddyg.com/googlepages/FirstService.php it comes blank can you please let me know what actually its written there . I just wrote a class and a method like 

but I am getting error as channel disconnected. So please help me.</description>
		<content:encoded><![CDATA[<p>Hi Sujit<br />
When I open <a href="http://www.sujitreddyg.com/googlepages/FirstService.php" rel="nofollow">http://www.sujitreddyg.com/googlepages/FirstService.php</a> it comes blank can you please let me know what actually its written there . I just wrote a class and a method like </p>
<p>but I am getting error as channel disconnected. So please help me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujit Reddy G</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-15946</link>
		<dc:creator>Sujit Reddy G</dc:creator>
		<pubDate>Thu, 09 Apr 2009 15:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-15946</guid>
		<description>Hi David,

When you get the FaultEvent, please check the faultDetail and rootCause properties for more details on the error.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Hi David,</p>
<p>When you get the FaultEvent, please check the faultDetail and rootCause properties for more details on the error.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-14932</link>
		<dc:creator>david</dc:creator>
		<pubDate>Sun, 05 Apr 2009 17:01:49 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-14932</guid>
		<description>Hi thanks, this yhe simpliest i&#039;ve seen :-))
BUT, it works in localhost but it don&#039;t if I upload it to the server (it says &quot;send failed&quot;) The service works when runned from the gateway.php, but fails when called from swf :-? (i&#039;ve adde cross-domai-policy)
Any idea???</description>
		<content:encoded><![CDATA[<p>Hi thanks, this yhe simpliest i&#8217;ve seen <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> )<br />
BUT, it works in localhost but it don&#8217;t if I upload it to the server (it says &#8220;send failed&#8221;) The service works when runned from the gateway.php, but fails when called from swf <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' />  (i&#8217;ve adde cross-domai-policy)<br />
Any idea???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujit Reddy G</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-8732</link>
		<dc:creator>Sujit Reddy G</dc:creator>
		<pubDate>Mon, 09 Mar 2009 12:38:25 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-8732</guid>
		<description>Thanks Abbas :)</description>
		<content:encoded><![CDATA[<p>Thanks Abbas <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sujit Reddy G</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-8708</link>
		<dc:creator>Sujit Reddy G</dc:creator>
		<pubDate>Mon, 09 Mar 2009 09:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-8708</guid>
		<description>Hi Noel,

I would use Remoting, because its efficient and it lets me deal with objects I passed from PHP rather than depend on some intermediate format like XML or JSON.
Just create object for each row in the database and add it to a array. If you invoke a PHP function using AMF PHP or Zend AMF which returns an array containing objects, in Flex application you will receive it as ArrayCollection containing the objects.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Hi Noel,</p>
<p>I would use Remoting, because its efficient and it lets me deal with objects I passed from PHP rather than depend on some intermediate format like XML or JSON.<br />
Just create object for each row in the database and add it to a array. If you invoke a PHP function using AMF PHP or Zend AMF which returns an array containing objects, in Flex application you will receive it as ArrayCollection containing the objects.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abbas Ali Butt</title>
		<link>http://sujitreddyg.wordpress.com/2008/09/04/invoking-php-functions-from-flex-using-amfphp/#comment-8707</link>
		<dc:creator>Abbas Ali Butt</dc:creator>
		<pubDate>Mon, 09 Mar 2009 07:53:24 +0000</pubDate>
		<guid isPermaLink="false">http://sujitreddyg.wordpress.com/?p=105#comment-8707</guid>
		<description>Hi Sujit, 
 Good Article</description>
		<content:encoded><![CDATA[<p>Hi Sujit,<br />
 Good Article</p>
]]></content:encoded>
	</item>
</channel>
</rss>
