Changeset 11154
- Timestamp:
- 08/26/08 10:43:53 (2 years ago)
- Files:
-
- plugins/sfAmfPlugin/README (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfAmfPlugin/README
r11152 r11154 10 10 Install 11 11 -------- 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`. 12 The easiest way to install the plugin is to use the plugin:install command of symfony. 13 {{{ 14 $ php symfony plugin:install sfAmfPlugin 15 }}} 16 17 If 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 19 your project and execute the command 20 {{{ 21 symfony cc 22 }}} 23 14 24 15 25 That's it … … 47 57 return sfView::NONE; 48 58 } 59 60 ORM-Support 61 ------- 62 The sfAmfPlugin supports both ORM-Layers of Symfony (Propel and Doctrine). So you are able to return 63 Doctrine_Recordset, Doctrine_Collection and Propel-Objects from your service. The plugin is doing 64 the conversion to AMF for you. 65 66 Sample: 67 68 class TestService extends sfAmfService { 69 public function getValues() { 70 $result = Doctrine::getTable('Menu')->findAll(); 71 return $result; 72 } 73 } 74 49 75 50 76 Annotations … … 76 102 } 77 103 78 Future improvements 104 TODO 79 105 ------- 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 108 I like to hear from you! Maybe you have an idea how to enhance the plugin. Just send me an email! 85 109 86 I like to hear from you! Maybe you have an idea how to enhance the plugin. Just send me an email! 110 Changelog 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 87 127 88 128 License

