Hey look! Symfony 1.3 alpha1!

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!

Comments

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.
Great news! Thanks for all your hard work. Are there any improvements to the admin generator planned?
have you planed a new tutorial like Jobeet for 1.3 ?
Excellent news!, Can't wait to see the new Swift Mailer integration and the improvements to the forms framework!

Congratulations guys!!!
What about lime 2.0?
Is this included in the release?

Thanks!!

Matt.
@altrano Jobeet tutorial is already being updated for symfony 1.3:

http://www.symfony-project.org/jobeet/1_3/
Have the autoloader been fixed so it finds the correct BaseForm class?
New category - symfony 1.3 on support forum maybe?
@Matthieu: Unfortunately Lime 2 won't be ready for symfony 1.3
Thank you very much for the hard work! Will be actively testing the new version and sending you as much feedback as possible.
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
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
@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.
The plugins csn not be installed sfDoctrineGuardPlugin and sfFormExtraPlugin musst be installed manually. why???

Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.