Flex with sfAmfPlugin part 2

Posted by thaberkern on Aug 25 2008 | Flex, Model, Symfony, doctrine

Today I released a new version of my sfAmfPlugin for the symfony Framework. Main focus of this release was the support of Doctrine. Now you can transfer Doctrine_Recordset- and Doctrine_Collections directly without mapping the values. As you can see in the following listing there is nothing to do for you to use this feature.

class HelloWorld extends sfAmfService {

  public function sayHello($message) {

    $result = Doctrine::getTable('Menu')->findAll();

    return $result;

  }

}

So you can transfer your Doctrine classes directly to the Flex-Client.

You can find more information on the Plugin homepage.

I will keep on working on the plugin so stay tuned for upcoming changes :-)

Book Mark it->del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Windows Live | Tailrank | Furl | Netscape | Yahoo | BlinkList

4 comments for now

4 Responses to “Flex with sfAmfPlugin part 2”

  1. Hi, can you post a complete example?

    27 Aug 2008 at 14:20

  2. Hi,

    yes I can do so. But it will need some time to prepare this. Did you face any special problems?

    Timo

    27 Aug 2008 at 14:24

  3. Thanks
    I don’t know where to start :)
    How i call the remoting service from Flash / Flex?

    03 Sep 2008 at 12:52

  4. I hope i can do this new article over the weekend :-)

    Timo

    03 Sep 2008 at 13:02

Trackback URI | Comments RSS

Leave a Reply