Wednesday, November 29th, 2006

symfony 1.0 beta released

Category: Ajax, Framework, PHP

<p>symfony, the popular PHP Ajax framework, has released a beta of their 1.0 framework.

New Features in 1.0

  • Easier installation and larger compatibility. Symfony is now compatible with magic_quotes_gpc set to on and PHP 5.2. Pake and phing are now bundled with the core classes, so symfony has no more external dependency. It is very easy to link a symfony application to the symfony libraries (through the config/config.php file), and PEAR is no more a prerequisite. The symfony command line now works out the box (for PEAR, SVN or .tgz).

  • Major performance improvement. Many parts of the code have been refactored, with performance in mind. The result is a performance increase of 50% to 500%, depending on your platform.

  • New plugin system. Extending symfony has never been easier. A plugin can package classes, modules, helpers, filters, web assets, fixtures, data models, unit tests, and so on. Plugins can be installed with one command. Check the Plugins page for a list of already available plugins.

  • New unit test library. Symfony is now bundled with its own unit and functional test framework, called lime, and a bunch of automated tests utilities, such as the sfTestBrowser and sfDomCssSelector classes. Symfony itself has more than 2800 unit and functional tests that guarantee its quality of code.

  • Updated default pages for error 404, error 500, insufficient credentials, unavailable page, and deactivated application (thanks justinm for the design!). These pages are both much nicer and much easier to customize than before.

  • Easier templating. Components and components slots now work perfectly on every situation, even with cache set to on. Their code was refactored to be fast and effective. The new temlate fragment tools, called slots, are faster than component slots, require no extra file or configuration to add a dynamic zone to a layout. And the icing on the cake: Ajax actions have no layout by default.

  • Better and more flexible Model layer. Symfony is now ORM independent: it is still bundled with Propel by default, but can work with others (such as Doctrine) in a snap. Database schemas can now be written in YAML instead of XML. Persistent support and specific database encoding are now supported natively.

  • New mixin feature. The sfMixin class introduces mixins in PHP, allowing core classes modification without inheritance, addition of new methods to existing classes, and multiple inheritance.

  • New behaviors for Propel classes. A behavior is a group of properties and methods that can alter the Propel generated classes. To make a Propel class sortable, to add a pessimistic lock, or to change the deletion by a is_deleted flag, you now need only one line of code with behaviors.

  • More user-friendly development tools. The symfony logs and the web debug toolbar now display more information about time and execution bottlenecks, thanks to the new sfTimer class. The symfony command line now has a color output (in *nix). The logging mechanism (via the sfLogger class) is more flexible and easier to extend. Logs rotation and cleaning are automated.

  • More flexible filter system. User filters can now be registered anywhere in the filter chain (even before the security filter).

  • New many-to-many relationships are now supported in the admin generator.

  • Easier deployment. The freeze task is implemented and fully functional. It transforms a symfony project into a self sufficient program by adding in the symfony libraries and assets.

  • Updated creole, Propel, script.aculo.us (1.6.5) and prototype (1.5.0_rc1)

  • And more than 200 bug fixes and small enhancements

Related Content:

Posted by Dion Almaer at 1:54 pm
5 Comments

+++--
3.9 rating from 60 votes

5 Comments »

Comments feed TrackBack URI

Symfony 1.0 beta is out

I just read on Ajaxian that Symfony 1.0 beta is out. This is a great MVC framework for PHP. It is based on the ideas of ROR and combines it with the big benefits of PHP and its ease of development. I think I have to plan some time to upgrade my projects t

Trackback by Robert Schmelzer is Thinking about IT — November 30, 2006

I like Script.aculo.us, but .. there are so few widget.
It’s would be if it can be plug/interface easily with Yahoo UI Extension or Dojo.

Comment by Nicolas BUI — November 30, 2006

It’s christmas :)

Comment by NoNo — November 30, 2006

“It’s would be if it can be plug/interface easily with Yahoo UI Extension or Dojo.”

Myself and a few others are in the process of writing an sfYUIPlugin for Symfony 1.0 – watch this space.

Comment by Nick Winfield — November 30, 2006

Spammers. They spammed Digg with this, posted a bunch of marketing hype faked up to look like actual user comments. Got dugg down quickly.

Comment by Dale — December 1, 2006

Leave a comment

You must be logged in to post a comment.