<?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: sfAmfPlugin 1.5.0 released</title>
	<atom:link href="http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/</link>
	<description>Timo Haberkern blogs about symfony</description>
	<lastBuildDate>Mon, 16 Jan 2012 21:55:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: j_ulio14</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-8514</link>
		<dc:creator>j_ulio14</dc:creator>
		<pubDate>Mon, 11 Jul 2011 07:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-8514</guid>
		<description>Hello, I would like to know how to map class AS3 with class PHP ?
Thanks</description>
		<content:encoded><![CDATA[<p>Hello, I would like to know how to map class AS3 with class PHP ?<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-5777</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Fri, 17 Dec 2010 15:27:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-5777</guid>
		<description>Hi!
Great thing!
But the really big pain is to write *.as classes for doctrine ORM... the only solution i&#039;ve found is Flextrine (http://code.google.com/p/flextrine2/) but it works only with Doctrine 2 &amp; PHP 5.3(i don&#039;t know hosting that support it =))
May be you already have some *.as generator? ;)</description>
		<content:encoded><![CDATA[<p>Hi!<br />
Great thing!<br />
But the really big pain is to write *.as classes for doctrine ORM&#8230; the only solution i&#8217;ve found is Flextrine (<a href="http://code.google.com/p/flextrine2/" rel="nofollow">http://code.google.com/p/flextrine2/</a>) but it works only with Doctrine 2 &amp; PHP 5.3(i don&#8217;t know hosting that support it =))<br />
May be you already have some *.as generator? <img src='http://www.symfony-zone.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-4699</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Fri, 10 Sep 2010 05:42:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-4699</guid>
		<description>The service class again **
Note: My service class looks like this - 

require_once dirname(FILE).&#039;/../../config/ProjectConfiguration.class.php&#039;; 

class UsersService extends sfAmfService { 

public function construct() { 

parent::construct(); 

$configuration = ProjectConfiguration::getApplicationConfiguration(&#039;frontend&#039;, &#039;dev&#039;, true); 

$this-&gt;context = sfContext::createInstance($configuration); 

$this-&gt;user = $this-&gt;context-&gt;getUser(); 

} 

public function login($username, $password){ 

// code to validate $username and $password from database 

if ($result) { 

// put values in session variables 

$this-&gt;user-&gt;setAttribute(&#039;username&#039;, $username); 

} 

} 

public function anothermethod(){ 

// try to access session variable now, **Doesn&#039;t Work ** 

return $this-&gt;user-&gt;getAttribute(&#039;username&#039;); 

}</description>
		<content:encoded><![CDATA[<p>The service class again **<br />
Note: My service class looks like this &#8211; </p>
<p>require_once dirname(FILE).&#8217;/../../config/ProjectConfiguration.class.php&#8217;; </p>
<p>class UsersService extends sfAmfService { </p>
<p>public function construct() { </p>
<p>parent::construct(); </p>
<p>$configuration = ProjectConfiguration::getApplicationConfiguration(&#8216;frontend&#8217;, &#8216;dev&#8217;, true); </p>
<p>$this-&gt;context = sfContext::createInstance($configuration); </p>
<p>$this-&gt;user = $this-&gt;context-&gt;getUser(); </p>
<p>} </p>
<p>public function login($username, $password){ </p>
<p>// code to validate $username and $password from database </p>
<p>if ($result) { </p>
<p>// put values in session variables </p>
<p>$this-&gt;user-&gt;setAttribute(&#8216;username&#8217;, $username); </p>
<p>} </p>
<p>} </p>
<p>public function anothermethod(){ </p>
<p>// try to access session variable now, **Doesn&#8217;t Work ** </p>
<p>return $this-&gt;user-&gt;getAttribute(&#8216;username&#8217;); </p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rakesh</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-4698</link>
		<dc:creator>Rakesh</dc:creator>
		<pubDate>Fri, 10 Sep 2010 05:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-4698</guid>
		<description>Hi Timo,

I have used your plugin and it worked great. There is only one little glitch - when I try to add data to current session using say ... 

$this-&gt;user-&gt;setAttribute(&#039;username&#039;, $username); in login method of a service class 

and then try to access this value in another method of the same class later - a error is generated. Is there any way to propoagate and access value using $this-&gt;user-&gt;getAttribute. 

Note: My service class looks like this - 

context = sfContext::createInstance($configuration); 

$this-&gt;user = $this-&gt;context-&gt;getUser(); 

} 

public function login($username, $password){ 

// code to validate $username and $password from database 

if ($result) { 

// put values in session variables 

$this-&gt;user-&gt;setAttribute(&#039;username&#039;, $username); 

} 

} 

public function anothermethod(){ 

// try to access session variable now, **Doesn&#039;t Work ** 

return $this-&gt;user-&gt;getAttribute(&#039;username&#039;); 

} 

?&gt; 

any clues would be greatly appreciated. thanks &amp; regards, 

 

Rakesh</description>
		<content:encoded><![CDATA[<p>Hi Timo,</p>
<p>I have used your plugin and it worked great. There is only one little glitch &#8211; when I try to add data to current session using say &#8230; </p>
<p>$this-&gt;user-&gt;setAttribute(&#8216;username&#8217;, $username); in login method of a service class </p>
<p>and then try to access this value in another method of the same class later &#8211; a error is generated. Is there any way to propoagate and access value using $this-&gt;user-&gt;getAttribute. </p>
<p>Note: My service class looks like this &#8211; </p>
<p>context = sfContext::createInstance($configuration); </p>
<p>$this-&gt;user = $this-&gt;context-&gt;getUser(); </p>
<p>} </p>
<p>public function login($username, $password){ </p>
<p>// code to validate $username and $password from database </p>
<p>if ($result) { </p>
<p>// put values in session variables </p>
<p>$this-&gt;user-&gt;setAttribute(&#8216;username&#8217;, $username); </p>
<p>} </p>
<p>} </p>
<p>public function anothermethod(){ </p>
<p>// try to access session variable now, **Doesn&#8217;t Work ** </p>
<p>return $this-&gt;user-&gt;getAttribute(&#8216;username&#8217;); </p>
<p>} </p>
<p>?&gt; </p>
<p>any clues would be greatly appreciated. thanks &amp; regards, </p>
<p>Rakesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus Staab</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-4380</link>
		<dc:creator>Markus Staab</dc:creator>
		<pubDate>Sat, 31 Jul 2010 14:49:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-4380</guid>
		<description>the next step would be to generate also the flash classes for the client side, so we can use the doctrine models also on the client.</description>
		<content:encoded><![CDATA[<p>the next step would be to generate also the flash classes for the client side, so we can use the doctrine models also on the client.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sharif</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-4130</link>
		<dc:creator>Sharif</dc:creator>
		<pubDate>Mon, 07 Jun 2010 13:34:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-4130</guid>
		<description>How do i map my doctrine classes with amfclassmappnig? or do i need to create a new object and interate over the result set to return it. Also when im passing a valueObject from flex to the server, it complains about the paramater needs to be of type valueObject.

So for example... TeamVO as a param... but yet it complains the param is not TeamVO.</description>
		<content:encoded><![CDATA[<p>How do i map my doctrine classes with amfclassmappnig? or do i need to create a new object and interate over the result set to return it. Also when im passing a valueObject from flex to the server, it complains about the paramater needs to be of type valueObject.</p>
<p>So for example&#8230; TeamVO as a param&#8230; but yet it complains the param is not TeamVO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Schirch</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-3479</link>
		<dc:creator>Patrick Schirch</dc:creator>
		<pubDate>Sun, 07 Mar 2010 12:51:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-3479</guid>
		<description>@and1hotsauce

The correct value for is_secure option in &quot;modules/amfgateway/config/security.yml&quot; is &quot;false&quot; not &quot;off&quot;. The value &quot;off&quot; won&#039;t disable the security function in newer symfony versions.</description>
		<content:encoded><![CDATA[<p>@and1hotsauce</p>
<p>The correct value for is_secure option in &#8220;modules/amfgateway/config/security.yml&#8221; is &#8220;false&#8221; not &#8220;off&#8221;. The value &#8220;off&#8221; won&#8217;t disable the security function in newer symfony versions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sergio</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-3440</link>
		<dc:creator>sergio</dc:creator>
		<pubDate>Tue, 02 Mar 2010 21:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-3440</guid>
		<description>I`have the same problem.

did you find the solution?

Regards</description>
		<content:encoded><![CDATA[<p>I`have the same problem.</p>
<p>did you find the solution?</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergio Marcano</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-3439</link>
		<dc:creator>Sergio Marcano</dc:creator>
		<pubDate>Tue, 02 Mar 2010 18:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-3439</guid>
		<description>I have the same problem.

i&#039;ve tried many things and nothing..
we should keep working and share the solution.
regards</description>
		<content:encoded><![CDATA[<p>I have the same problem.</p>
<p>i&#8217;ve tried many things and nothing..<br />
we should keep working and share the solution.<br />
regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guille</title>
		<link>http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/comment-page-1/#comment-3390</link>
		<dc:creator>Guille</dc:creator>
		<pubDate>Wed, 24 Feb 2010 18:56:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.symfony-zone.com/wordpress/2010/01/11/sfamfplugin-150-released/#comment-3390</guid>
		<description>Hello,

I&#039;ve been using the amfbrowser and found one little bug:
In the amfbrowser template, the url for each service is &#039;.../amfBrowser/..&#039; but that url doesnt work (at least for me). So I changed the file to &#039;.../amfbrowser/...&#039; and worked well.

In second place, i&#039;ve been trying without success, to send to my service an object as parameter. The amfbrowser get it as a string or a bad formatted JSON.
How should I do to write the object to pass it as parameter? Cause i followed the instructions you wrote on the README file, but that doesnt work for me.

Thanks in advance</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I&#8217;ve been using the amfbrowser and found one little bug:<br />
In the amfbrowser template, the url for each service is &#8216;&#8230;/amfBrowser/..&#8217; but that url doesnt work (at least for me). So I changed the file to &#8216;&#8230;/amfbrowser/&#8230;&#8217; and worked well.</p>
<p>In second place, i&#8217;ve been trying without success, to send to my service an object as parameter. The amfbrowser get it as a string or a bad formatted JSON.<br />
How should I do to write the object to pass it as parameter? Cause i followed the instructions you wrote on the README file, but that doesnt work for me.</p>
<p>Thanks in advance</p>
]]></content:encoded>
	</item>
</channel>
</rss>

