Archives


Master Symfony2 fundamentals

Be trained by SensioLabs experts (2 to 6 day sessions -- French or English).
trainings.sensiolabs.com

Symfony hosting done right

ServerGrove, outstanding support at the right price for your Symfony hosting needs.
servergrove.com

L'audit Qualité par SensioLabs

200 points de contrôle de votre applicatif web.
audit.sensiolabs.com

gravatar
Hey look! Symfony 1.3 alpha1!
by Kris Wallsmith – September 26, 2009 – 14 comments

The symfony team has just completed the first release of the 1.3 branch: 1.3.0 alpha 1. We have been working on and with this branch for some time, and are very excited about the enhancements it includes. This is an alpha release, which means it is not stable, but if you'd like to check it out or help us test, please download a copy and take it for a spin.

Here are some of the highlights of what's new in symfony 1.3.

Performance

When we queried the community for feedback on what we should work on for symfony 1.3, performance was at the top of this list. We've taken this feedback to heart and have made significant improvements.

A large portion of the routing system was rewritten to facilitate matching the incoming URL to a route much faster.

We've also added a project:optimize task that caches a snapshot of your project's directory structure, drastically reducing the number read operations that go to the filesystem.

These optimizations have grown out of feedback based in users' projects. If you have additional feedback, on these optimizations or on other areas of symfony that could use some optimization love, please send us specifics.

Doctrine

Doctrine is now the default ORM for symfony. We still support Propel, of course, but recommend you start new projects with Doctrine.

Mailer

The Swift Mailer project, which Fabien recently took over as Lead Developer, is bundled with symfony 1.3 and integrated into the framework. You can now take advantage of a flexible mailer from inside symfony, without adding any custom code.

Forms

A number of enhancements were made to the forms framework, all geared toward making it easier to use and easier to extend. All form classes generated by your ORM now notify events and extend a common stub class located in your project, making them easy to extend for your project, or from a plugin. A fluent interface has also been added, facilitating the creation of forms "on the fly."

Web debug panels

Two new debug panels have been added. A "view" panel, and a "mailer" one. The view one lists the templates and template partials that compose the current page, as well as all the variables that are passed to them. Each variable is described and, if it's an object, a link is provided to open it's class file in your favorite text editor. We hope the new view panel will give non-symfony developers the tools they need to work productively in symfony's view layer without too much hand-holding.

Improving your workflow

A number of enhancements have been made to increase your efficiency as a symfony developer. A new autoloader has been added to the development environment that knows when changes are made, so you no longer have to run symfony cc after adding a new class. Unit and functional tests have been improved for greater efficiency when writing and running them, and running tests from plugins is now natively supported.

These are just some of the improvements we've made for symfony 1.3, and we're very happy to be releasing this alpha so you can get a taste for the rest.

If you want to read more about this new version, read the "What's new?" tutorial. Upgrading from 1.2 is very easy thanks to the project:upgrade task and the "Upgrade" tutorial.

We are working hard to update the documentation, and the Jobeet tutorial and the reference guide should be available soon.

We need your help to try out this new version and report any problem you might find.

Enjoy!

Add a Comment

You must be connected to post a comment.

Comments RSS

  • gravatar
    #1 xarch said on the 2009/09/26 at 20:12
    Great ! I already downloaded it, I'll use at once, I can't bear doing everytime the same thing to use Doctrine instead of Propel.
  • gravatar
    #2 jim said on the 2009/09/26 at 20:49
    Great news! Thanks for all your hard work. Are there any improvements to the admin generator planned?
  • gravatar
    #3 altrano said on the 2009/09/27 at 02:30
    have you planed a new tutorial like Jobeet for 1.3 ?
  • gravatar
    #4 Jonathan Nieto said on the 2009/09/27 at 05:13
    Excellent news!, Can't wait to see the new Swift Mailer integration and the improvements to the forms framework!

    Congratulations guys!!!
  • gravatar
    #5 Matthieu said on the 2009/09/27 at 08:30
    What about lime 2.0?
    Is this included in the release?

    Thanks!!

    Matt.
  • gravatar
    #6 Javier Eguiluz said on the 2009/09/27 at 09:41
    @altrano Jobeet tutorial is already being updated for symfony 1.3:

    http://www.symfony-project.org/jobeet/1_3/
  • gravatar
    #7 henrik said on the 2009/09/27 at 12:17
    Have the autoloader been fixed so it finds the correct BaseForm class?
  • gravatar
    #8 paul said on the 2009/09/27 at 21:39
    New category - symfony 1.3 on support forum maybe?
  • gravatar
    #9 Fabien said on the 2009/09/28 at 11:31
    @Matthieu: Unfortunately Lime 2 won't be ready for symfony 1.3
  • gravatar
    #10 Andrey Esaulov said on the 2009/09/28 at 11:43
    Thank you very much for the hard work! Will be actively testing the new version and sending you as much feedback as possible.
  • gravatar
    #11 Lukas said on the 2009/09/29 at 02:16
    Hey Fabien, Kris and team, thanks for your hard work. I'm just upgrade my projects and all works fine :D... Let me do, one question to you.. Dou you think implement ajax to admin generator, like "modal boxes" to insert or edit data or any thing related to this operations over one o many records??? thats be great & all community apreciate very much.. Sorry my english folks.. Lukas from Argentina.. Congratulations Team again for make my life easy & enjoy my work every day :D:D
  • gravatar
    #12 Janneaa said on the 2009/09/30 at 08:33
    Thanks for this new release! I couldn't get it working until I removed the NOT NULL constraints from Session table's created_at and updated_at fields. This is the sfDataBaseException that I kept getting:

    PDOException was thrown when trying to manipulate session data. Message: SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "created_at" violates not-null constraint
  • gravatar
    #13 Kris said on the 2009/10/01 at 00:53
    @Lukas I agree that would be a great enhancement to the admin generator, but it would include creating a dependency to a Javascript library, which we won't do in the core, so a plugin is the appropriate place for this to happen.

    If anyone is working on such a plugin, now's the time to submit feedback on how to make the admin generator more easily customizable.
  • gravatar
    #14 altrano said on the 2009/10/17 at 16:06
    The plugins csn not be installed sfDoctrineGuardPlugin and sfFormExtraPlugin musst be installed manually. why???