New sfAmfPlugin release

29. June 2009 in General

I have just released a new version of my Symfony-Plugin sfAmfPlugin. The new version 1.4.0 has the following changes included:

  • 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

You can now use the the plugin in your actions like this:

public function executeAmf(sfWebRequest $request) {

  sfAmfGateway::getInstance()->handleRequest();

  return sfView::NONE;

}

There is a lot of stuff coming for the next version of the plugin, so stay tuned :-)

3 responses to New sfAmfPlugin release

  1. After updating to 1.4.0, and updating my controller to be like in your example I get the following PHP error:
    PHP Fatal error: Call to undefined method sfAmfGateway::handleRequest() in …actions\actions.class.php on line 15. Even after creating a new sf project it happens.

  2. You are right. Sorry for this release. Should have tested this. I just released version 1.4.1 fixing this problem

    Timo

  3. No probs, thanks for the great plugin, sfAmfPlugin really makes AMF easy! I’m using it on an Adobe AIR based Content Management System I’m building for the fun of it, and it works wonderfully!

Leave a reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>