Development

Changeset 11154

You must first sign up to be able to contribute.

Changeset 11154

Show
Ignore:
Timestamp:
08/26/08 10:43:53 (2 years ago)
Author:
thaberkern
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfAmfPlugin/README

    r11152 r11154  
    1010Install 
    1111-------- 
    12 Please use the current version from the subversion repository (http://svn.symfony-project.com/plugins/sfAmfPlugin). Copy 
    13 the checked out version to the plugins folder of your project and execute the command `symfony cc`. 
     12The easiest way to install the plugin is to use the plugin:install command of symfony. 
     13{{{ 
     14$ php symfony plugin:install sfAmfPlugin 
     15}}} 
     16 
     17If you preffer you can use the current development version from the subversion repository  
     18(http://svn.symfony-project.com/plugins/sfAmfPlugin) instead. Copy the checked out version to the plugins folder of  
     19your project and execute the command  
     20{{{ 
     21symfony cc 
     22}}} 
     23 
    1424 
    1525That's it  
     
    4757        return sfView::NONE; 
    4858    } 
     59 
     60ORM-Support 
     61------- 
     62The sfAmfPlugin supports both ORM-Layers of Symfony (Propel and Doctrine). So you are able to return  
     63Doctrine_Recordset, Doctrine_Collection and Propel-Objects from your service. The plugin is doing  
     64the conversion to AMF for you. 
     65 
     66Sample: 
     67 
     68    class TestService extends sfAmfService { 
     69        public function getValues() { 
     70            $result = Doctrine::getTable('Menu')->findAll(); 
     71            return $result; 
     72        } 
     73    } 
     74     
    4975     
    5076Annotations 
     
    76102    } 
    77103 
    78 Future improvements 
     104TODO 
    79105------- 
    80  * Support for Doctrine objects (done in version 0.9.2) 
    81  * Support for Propel objects (done in version 0.9.3) 
    82  * PEAR packaging so that you can install via the symfony installer(done in version 0.9.2) 
    83  * Annotations for the Service-Methods (i.e. authorization, Class binding and so on) (partial done in version 1.0.0) 
    84  * Configurable services folder 
     106 * Annotations for authorization 
     107  
     108I like to hear from you! Maybe you have an idea how to enhance the plugin. Just send me an email!  
    85109 
    86 I like to hear from you! Maybe you have an idea how to enhance the plugin. Just send me an email!  
     110Changelog 
     111-------- 
     112 * 1.0.0 (08-??-2008) 
     113  * Added support for the annotations @AmfIgnore and @AmfClassMapping 
     114  * Added Configuration-File support for the service folder 
     115  * Updated Documentation 
     116 * 0.9.4 (08-25-2008) 
     117  * Fixing bugs in package file 
     118 * 0.9.3 (08-25-2008) 
     119  * Adding support for Propel objects 
     120 * 0.9.2 ((08-24-2008) 
     121  * Fixing some smaller bugs 
     122  * PEAR packaging for symfony installer support 
     123 * 0.9.1 (08-21-2008) 
     124  * Adding support for Doctrine objects 
     125 * 0.9.0 (08-20-2008) 
     126  * First public release 
    87127 
    88128License 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.