Archive for the 'Model' Category

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