Releases for sf 1.4
| Version |
License |
API |
Released |
|
1.5.1stable
|
MIT license |
1.0.0stable
|
12/01/2010 |
|
1.5.0stable
|
MIT license |
1.0.0stable
|
11/01/2010 |
Releases for sf 1.3
| Version |
License |
API |
Released |
|
1.5.1stable
|
MIT license |
1.0.0stable
|
12/01/2010 |
|
1.5.0stable
|
MIT license |
1.0.0stable
|
11/01/2010 |
Releases for sf 1.2
| Version |
License |
API |
Released |
|
1.5.1stable
|
MIT license |
1.0.0stable
|
12/01/2010 |
|
1.5.0stable
|
MIT license |
1.0.0stable
|
11/01/2010 |
|
1.4.2stable
|
MIT license |
1.0.0stable
|
05/08/2009 |
|
1.4.1stable
|
MIT license |
1.0.0stable
|
01/07/2009 |
|
1.4.0stable
|
MIT license |
1.0.0stable
|
29/06/2009 |
|
1.3.0stable
|
MIT license |
1.0.0stable
|
05/05/2009 |
|
1.2.4stable
|
MIT license |
1.0.0stable
|
30/04/2009 |
|
1.2.3stable
|
MIT license |
1.0.0stable
|
16/04/2009 |
|
1.2.2stable
|
MIT license |
1.0.0stable
|
12/04/2009 |
|
1.2.0stable
|
MIT license |
1.2.0stable
|
09/04/2009 |
Releases for sf 1.1
| Version |
License |
API |
Released |
|
1.5.1stable
|
MIT license |
1.0.0stable
|
12/01/2010 |
|
1.5.0stable
|
MIT license |
1.0.0stable
|
11/01/2010 |
|
1.4.2stable
|
MIT license |
1.0.0stable
|
05/08/2009 |
|
1.4.1stable
|
MIT license |
1.0.0stable
|
01/07/2009 |
|
1.4.0stable
|
MIT license |
1.0.0stable
|
29/06/2009 |
|
1.3.0stable
|
MIT license |
1.0.0stable
|
05/05/2009 |
|
1.2.4stable
|
MIT license |
1.0.0stable
|
30/04/2009 |
|
1.2.3stable
|
MIT license |
1.0.0stable
|
16/04/2009 |
|
1.2.2stable
|
MIT license |
1.0.0stable
|
12/04/2009 |
|
1.2.0stable
|
MIT license |
1.2.0stable
|
09/04/2009 |
|
1.1.0stable
|
MIT license |
1.1.0stable
|
27/08/2008 |
|
1.0.0stable
|
MIT license |
1.1.0stable
|
26/08/2008 |
|
0.9.4beta
|
MIT license |
1.1.0stable
|
25/08/2008 |
|
0.9.3beta
|
MIT license |
1.1.0stable
|
25/08/2008 |
|
0.9.2beta
|
MIT license |
1.1.0stable
|
25/08/2008 |
Releases for sf 1.0
| Version |
License |
API |
Released |
|
1.2.0stable
|
MIT license |
1.2.0stable
|
09/04/2009 |
|
1.1.0stable
|
MIT license |
1.1.0stable
|
27/08/2008 |
|
1.0.0stable
|
MIT license |
1.1.0stable
|
26/08/2008 |
|
0.9.4beta
|
MIT license |
1.1.0stable
|
25/08/2008 |
|
0.9.3beta
|
MIT license |
1.1.0stable
|
25/08/2008 |
|
0.9.2beta
|
MIT license |
1.1.0stable
|
25/08/2008 |
Changelog for release 0.9.2 - 25/08/2008
Other releases
Release 1.5.1 - 12/01/2010
Fixed bug with DateTime handling of objects in Service-Browser
* Improved Look and feel of the Service browser
* Fixed typos in sfAdapterBase
* Improved documentation
Release 1.5.0 - 11/01/2010
- Released for Symfony 1.3 and 1.4
- Added first version of an AMF Service Browser (thanks to Benoit Gouchet)
- Updated SabreAmf to current version
Release 1.4.2 - 05/08/2009
- Changed error_handler behaviour
- Improved Doctrine Adapters, so they handle relations better
- Updated SabreAmf to current version
- Added default module for AMF-Gateway
Release 1.4.1 - 01/07/2009
- Fixing typos in handleRequest funtion (thanks to Daniel Holmes for spotting this)
Release 1.4.0 - 29/06/2009
- Added an error handler function. All Errors will now be delivered as an exception (thanks to raphox for this)
- Fixing problem with associative array values
- Updated SabreAmf to version 1.3.0
- Added correct content type support, you should now use the handleRequest method in your actions as shown in the documentation
Release 1.3.0 - 05/05/2009
- Fixing a bug with PHP Strict mode
- Adding the possibility to store the services in all lib-folders of a project (app, module, project, plugins)
- Fixing different bugs with AMF convertion of Doctrine objects
Release 1.2.4 - 30/04/2009
- Fixing a bug with PHP Strict mode
Release 1.2.3 - 16/04/2009
- Fixing bugs with package handling
Release 1.2.2 - 12/04/2009
- Fixing installation problems over the plugin:install task
Release 1.2.0 - 09/04/2009
- Added Symfony 1.2 compatibility
Release 1.1.0 - 27/08/2008
- Added support for ByteArrays
Release 1.0.0 - 26/08/2008
- Added support for the annotations @AmfIgnore and @AmfClassMapping
Release 0.9.4 - 25/08/2008
- Fixing bugs in package file
Release 0.9.3 - 25/08/2008
- Adding support for Propel objects
Release 0.9.2 - 25/08/2008
sfAmfPlugin
Overview
The sfAmfPlugin provides you with all you need to write symfony backends for Flex clients.
The communication is done via Adobes AMF protocol. On serverside the SabreAMF library is used
to encode/decode the AMF streams.
Install
Please use the current version from the subversion repository (http://svn.symfony-project.com/plugins/sfAmfPlugin). Copy
the checked out version to the plugins folder of your project and execute the command symfony cc.
That's it
Usage
AMF-Client Requests are try to execute Services on the backend. Therefore you have to create a RemoteObject in
Flex that has a Symfony-URL (i.e http://flextest/Test/amf).
All your services you can call will need to be saved under lib/services in your project folder. There you can
add as many subfolders as you need/want. Services on Flex-Side can use package names like
org.company.project.Servicename. You can use this with symfony too. All you need to do is to save this
Service under lib/services/org/company/project/Servicename.php. That’s it!
A service can look like this:
class TestService extends sfAmfService {
public function getValues() {
return array('value1', 'value2', 'value3');
}
}
Please keep in mind that your service needs to extend th sfAmfService class
But how is this service called from client side? We need an URL to do so. For symfony this means you need a
module and an action. The following listing shows you how an AMF action should look like:
public function executeAmf() {
$this->setLayout(false);
$gateway = new sfAmfGateway();
$response = sfContext::GetInstance()->getResponse();
$response->setContent($gateway->service());
return sfView::NONE;
}
Future improvements
- Support for Doctrine objects
- Support for Propel objects
- PEAR packaging so that you can install via the symfony installer
- Annotations for the Service-Methods (i.e. authorization, Class binding and so on)
- Configurable services folder
License
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.