<?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"
	>
<channel>
	<title>Comments on: Announcement of Flextrine 2</title>
	<atom:link href="http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/</link>
	<description>Professional and reliable UK based Actionscript development</description>
	<pubDate>Sun, 05 Feb 2012 18:23:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Andrea Rodríguez</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-720</link>
		<dc:creator>Andrea Rodríguez</dc:creator>
		<pubDate>Thu, 08 Sep 2011 17:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-720</guid>
		<description>Hello,
You can do this

var contactGroup:ContactGroup = new ContactGroup();
contactGroup.name = "New group";
em.callRemoteMethod("setContactGroup", contactGroup).add....

And as I receive it in PHP?

Thank’s for your answer</description>
		<content:encoded><![CDATA[<p>Hello,<br />
You can do this</p>
<p>var contactGroup:ContactGroup = new ContactGroup();<br />
contactGroup.name = &#8220;New group&#8221;;<br />
em.callRemoteMethod(&#8221;setContactGroup&#8221;, contactGroup).add&#8230;.</p>
<p>And as I receive it in PHP?</p>
<p>Thank’s for your answer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdave</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-576</link>
		<dc:creator>devdave</dc:creator>
		<pubDate>Thu, 05 Aug 2010 14:55:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-576</guid>
		<description>Unfortunately not.  Flextrine uses Doctrine 2 which makes heavy use of PHP namespaces (amongst other things) which were only introduced in PHP 5.3.</description>
		<content:encoded><![CDATA[<p>Unfortunately not.  Flextrine uses Doctrine 2 which makes heavy use of PHP namespaces (amongst other things) which were only introduced in PHP 5.3.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: exoa</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-575</link>
		<dc:creator>exoa</dc:creator>
		<pubDate>Thu, 05 Aug 2010 14:51:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-575</guid>
		<description>Hello,

Is it possible to have flextrine working on php 5.2 instead of 5.3 ? because if I upgrade my serveur, lots of websites will fall down :(

Thank's for your answer ;)</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Is it possible to have flextrine working on php 5.2 instead of 5.3 ? because if I upgrade my serveur, lots of websites will fall down <img src='http://www.actionscriptdeveloper.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Thank&#8217;s for your answer <img src='http://www.actionscriptdeveloper.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-565</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 31 Jul 2010 17:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-565</guid>
		<description>I've checked again. they matched. 
There is another thing i tested about is:
whenever i changed the path(folder name) of the ASClass.as, the server-side error reflex the changes.
e.g. if model/vos/ASClass.as folder structure (packagename) change to model/myvos/ASClass.as, then the error change to
"Failed opening required ‘\path\xampplite\htdocs\project/entities\model\myvos\ASClass.php"

I'll test again tomorrow. then log the issue.

thx
tim</description>
		<content:encoded><![CDATA[<p>I&#8217;ve checked again. they matched.<br />
There is another thing i tested about is:<br />
whenever i changed the path(folder name) of the ASClass.as, the server-side error reflex the changes.<br />
e.g. if model/vos/ASClass.as folder structure (packagename) change to model/myvos/ASClass.as, then the error change to<br />
&#8220;Failed opening required ‘\path\xampplite\htdocs\project/entities\model\myvos\ASClass.php&#8221;</p>
<p>I&#8217;ll test again tomorrow. then log the issue.</p>
<p>thx<br />
tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdave</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-564</link>
		<dc:creator>devdave</dc:creator>
		<pubDate>Sat, 31 Jul 2010 11:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-564</guid>
		<description>That's very strange.  I know its probably a stupid question but are you 100% sure that you have the namespace and the class name correct PHP side?  As far as I can think of there shouldn't really be any way that Flextrine can know about the AS class name except through the [RemoteClass] tag.  Also, be sure you are defining [RemoteClass] in ASClass.as, not ASClassEntityBase.as.

If it is still not working log it as an issue at www.flextrine.com and I'll have a closed look when I get some time :)

Dave</description>
		<content:encoded><![CDATA[<p>That&#8217;s very strange.  I know its probably a stupid question but are you 100% sure that you have the namespace and the class name correct PHP side?  As far as I can think of there shouldn&#8217;t really be any way that Flextrine can know about the AS class name except through the [RemoteClass] tag.  Also, be sure you are defining [RemoteClass] in ASClass.as, not ASClassEntityBase.as.</p>
<p>If it is still not working log it as an issue at <a href="http://www.flextrine.com" rel="nofollow">http://www.flextrine.com</a> and I&#8217;ll have a closed look when I get some time <img src='http://www.actionscriptdeveloper.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-563</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 31 Jul 2010 11:00:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-563</guid>
		<description>Hi Dave, 

thx for quick response, i did try the one suggested. but it doesn't work.
e.g. 
$_explicitType = "vo/MyClass"; 
[RemoteClass(alias="vo/MyClass")]

so the server side: entities/vo/MyClass.php
client side: model.vos.ASClass.as
(am i correct for this configuration?)

when i debug the session between client/server, the error shows in server-side:
Doctrine\Common\ClassLoader::loadClass(): Failed opening required '\path\xampplite\htdocs\project/entities\model\vos\ASClass.php

it seems the Flextrine tried to search based on client side package name (model.vos.ASClass.php) instead of what defined in [RemoteClass]

Tim</description>
		<content:encoded><![CDATA[<p>Hi Dave, </p>
<p>thx for quick response, i did try the one suggested. but it doesn&#8217;t work.<br />
e.g.<br />
$_explicitType = &#8220;vo/MyClass&#8221;;<br />
[RemoteClass(alias="vo/MyClass")]</p>
<p>so the server side: entities/vo/MyClass.php<br />
client side: model.vos.ASClass.as<br />
(am i correct for this configuration?)</p>
<p>when i debug the session between client/server, the error shows in server-side:<br />
Doctrine\Common\ClassLoader::loadClass(): Failed opening required &#8216;\path\xampplite\htdocs\project/entities\model\vos\ASClass.php</p>
<p>it seems the Flextrine tried to search based on client side package name (model.vos.ASClass.php) instead of what defined in [RemoteClass]</p>
<p>Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdave</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-562</link>
		<dc:creator>devdave</dc:creator>
		<pubDate>Sat, 31 Jul 2010 10:00:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-562</guid>
		<description>Hey Tim,

I believe that as long as the $_explicitType and the [RemoteClass(alias)] match up with the PHP class, that's all that matters for the purposes of class mapping.  However, the .php file itself has to be in a folder structure (within entities) that matches the package structure.

So if $_explicitType="org.davekeen.vo.MyClass", MyClass.php needs to be located in entities/org/davekeen/vo/MyClass.php, and you can name the AS class whatever you fancy.</description>
		<content:encoded><![CDATA[<p>Hey Tim,</p>
<p>I believe that as long as the $_explicitType and the [RemoteClass(alias)] match up with the PHP class, that&#8217;s all that matters for the purposes of class mapping.  However, the .php file itself has to be in a folder structure (within entities) that matches the package structure.</p>
<p>So if $_explicitType=&#8221;org.davekeen.vo.MyClass&#8221;, MyClass.php needs to be located in entities/org/davekeen/vo/MyClass.php, and you can name the AS class whatever you fancy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-561</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 31 Jul 2010 05:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-561</guid>
		<description>in fact, my experience with ZendAMF is that, in case:
PHP:
$server-&#62;setClassMap("ASClass","PHPClass");
AS:
package path.to
class ASClass{
[RemoteClass(alias="Class")]
}

ASClass alias(client) or classmap(server) is only for object register purpose, and must be same, other things don't matter. In client side, that's why I could have "alias (ASClass)" different from "package name(path.to.ASClass)". and it works. 
in my guess, since Wade created both Zend AMF and AMFPHP with similar concept, the first one might be the solution. what's ur idea in Flextrine project?

thx
Tim</description>
		<content:encoded><![CDATA[<p>in fact, my experience with ZendAMF is that, in case:<br />
PHP:<br />
$server-&gt;setClassMap(&#8221;ASClass&#8221;,&#8221;PHPClass&#8221;);<br />
AS:<br />
package path.to<br />
class ASClass{<br />
[RemoteClass(alias="Class")]<br />
}</p>
<p>ASClass alias(client) or classmap(server) is only for object register purpose, and must be same, other things don&#8217;t matter. In client side, that&#8217;s why I could have &#8220;alias (ASClass)&#8221; different from &#8220;package name(path.to.ASClass)&#8221;. and it works.<br />
in my guess, since Wade created both Zend AMF and AMFPHP with similar concept, the first one might be the solution. what&#8217;s ur idea in Flextrine project?</p>
<p>thx<br />
Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-560</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Sat, 31 Jul 2010 05:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-560</guid>
		<description>it actually works for annotation like this
&lt;b&gt;
$ php doctrine orm:convert-mapping --from-database annotation /path/to/entities
&lt;/b&gt;
I use this to generate roughly entities then do some modification again.

Here is actually another question. 
I read ur post "AMFPHP, PHP 5.3 and namespaces" and &lt;a href="http://my.opera.com/darylducharme/blog/2007/12/12/amfphp-explicittype-understood" rel="nofollow"&gt;this post&lt;/a&gt;, a little bit confused. and i want change the path of client-side package path to be different from server php package. 
e.g. client-side: path.to.ASClass
server-side: PHPClass  (directly put under entities folder)
how could i do that? 
1. set in $_explicitType = "/path/to/ASClass";
or 
2. $_explicitType = "PHPClass"; but change those ASClass code generated from Flextrine manager?

thx
Tim</description>
		<content:encoded><![CDATA[<p>it actually works for annotation like this<br />
<b><br />
$ php doctrine orm:convert-mapping &#8211;from-database annotation /path/to/entities<br />
</b><br />
I use this to generate roughly entities then do some modification again.</p>
<p>Here is actually another question.<br />
I read ur post &#8220;AMFPHP, PHP 5.3 and namespaces&#8221; and <a href="http://my.opera.com/darylducharme/blog/2007/12/12/amfphp-explicittype-understood" rel="nofollow">this post</a>, a little bit confused. and i want change the path of client-side package path to be different from server php package.<br />
e.g. client-side: path.to.ASClass<br />
server-side: PHPClass  (directly put under entities folder)<br />
how could i do that?<br />
1. set in $_explicitType = &#8220;/path/to/ASClass&#8221;;<br />
or<br />
2. $_explicitType = &#8220;PHPClass&#8221;; but change those ASClass code generated from Flextrine manager?</p>
<p>thx<br />
Tim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdave</title>
		<link>http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-558</link>
		<dc:creator>devdave</dc:creator>
		<pubDate>Sun, 18 Jul 2010 12:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.actionscriptdeveloper.co.uk/announcement-of-flextrine-2/#comment-558</guid>
		<description>As it stands right now Flextrine only supports entity definition via the annotations driver (this is PHP classes with the database mapping in docblock comments).  However, as you probably know Doctrine also allows the mapping to be defined in YAML and XML, and the 'reverse engineering' tool you are talking about will probably only work with YAML or XML (http://www.doctrine-project.org/projects/orm/2.0/docs/reference/tools/en#reverse-engineering).  However, it would be a pretty simple task to extend Flextrine and Flextrine Manager to support these alternative mapping drivers and if there is enough interest this is certainly something that will make it into a future version of Flextrine!

Dave</description>
		<content:encoded><![CDATA[<p>As it stands right now Flextrine only supports entity definition via the annotations driver (this is PHP classes with the database mapping in docblock comments).  However, as you probably know Doctrine also allows the mapping to be defined in YAML and XML, and the &#8216;reverse engineering&#8217; tool you are talking about will probably only work with YAML or XML (http://www.doctrine-project.org/projects/orm/2.0/docs/reference/tools/en#reverse-engineering).  However, it would be a pretty simple task to extend Flextrine and Flextrine Manager to support these alternative mapping drivers and if there is enough interest this is certainly something that will make it into a future version of Flextrine!</p>
<p>Dave</p>
]]></content:encoded>
	</item>
</channel>
</rss>

