Archives for September 2008

symfony 1.1.3 released

Read release notes

A week of symfony #91 (22->28 september 2008)

Few weeks ahead of its release, symfony 1.2 continues improving components such as routing and forms while adding some goodies like format support for exceptions.

New in symfony 1.2: Small things matter (2)

Symfony 1.2 already comes with a lot of great new features but smaller things also matter a lot. Here is yet another post about small things we have recently added to symfony 1.2.

Open-Source cross-pollination

In his famous keynote at OSCON 2002, Lawrence Lessig talked about the "free culture" and the way "creativity and innovation always build on the past". The video is a must see for anyone working with or on Open-Source projects. Even if Lawrence does not talk explicitly about Open-Source in the first part of his talk, his arguments are still valid for Open-Source projects.

sfDoctrinePlugin: Forms documentation and some updates

The symfony team continues work on integrating sfDoctrinePlugin for the 1.2 release as well as adding official documentation for both symfony 1.1 and 1.2 versions.

Call the expert: A refactoring story (Part 5/5)

In the last part, we have moved some code to ProductForm. Today, we will enhance the actions even more by moving code to the View and by using some nice shortcuts provided by symfony for common situations.

A week of symfony #90 (15->21 september 2008)

Very busy week for symfony: completed the integration of Doctrine in symfony 1.2 (including a new symfony + doctrine book), symfony 1.1.2 bugfix version released, new filtering system based on the form framework and lots of new plugins released.

Call the expert: A refactoring story (Part 4/5)

In the last part, we have seen how to move code from the Controller to the Model. The principle is quite simple, you want thin controllers and fat models. Today, we will see how the new form framework can help us keep this clean separation of concerns.

Call the expert: A refactoring story (Part 3/5)

Today, we will start by refactoring some actions from the product module. As symfony is modeled after the MVC design pattern, Vince was pretty confident that he did the separation of concerns pretty well. The Controller role is to get data from the Model and pass them to the View. Pretty simple, no?

Call the expert: A refactoring story (Part 2/5)

Refactoring implies a lot of changes in the code. It means that you need a way to check that you don't break anything during the process. So, before beginning the refactoring session, I asked Vince about its unit and functional test suite. But Vince had no unit or functional tests. So, we decided to write some functional tests before starting the refactoring.

symfony 1.1.2 released

Read release notes

Call the expert: A refactoring story (Part 1/5)

Some time ago, Vince, a seasoned PHP developer, asked me to have a look at his very first symfony project, a product store. As the mistakes he did were quite common, I decided to tell you the story of this refactoring session in the hope you will learn as much as Vince did.

Doctrine gains symfony citizenship in 1.2

Today, Doctrine gained its citizenship in symfony 1.2.

Be trained in Paris

I provided a training session at the Symfony Camp 2008, and after having talked with some of the attendees it looks that it can be difficult to find symfony trainings in every country.

A week of symfony #89 (8->14 september 2008)

This week, the second edition of the symfony camp was held, with more than 80 attendees. In the technical talks, the great new features of symfony 1.2 were shown and the future of symfony 2 was outlined. Besides, the Symfony community showed this week its strength with a massive support for symfony inclusion in NetBeans.

symfony Camp day 2

The second and last conference day of symfony Camp was today.

symfony Camp 2008 - Day 1

symfony Camp started yesterday with a symfony 1.1 training but today is the first conference day.

Support symfony inclusion in NetBeans

NetBeans, the open-source development environment sponsored by Sun, is planning to include support for PHP frameworks in its upcoming versions. As there are so many PHP frameworks, NetBeans developers have organized a public election to choose the two PHP frameworks that will be initially supported.

A week of symfony #88 (1->7 september 2008)

Symfony continued this week adding cool new features for the upcoming 1.2 version. The routing framework will be refactored to allow further customization and complete RESTful architecture. In addition, Propel plugin development showed an immense activity during this week.

Call the expert: How to implement a conditional validator?

Jon wants to validate a form value but the validation depends on another form field. As Jon does not know how to do it with symfony 1.1, he called the expert. This post will explain how to accomplish this kind of conditional validation by using a post validator.

New in symfony 1.2: Toward a RESTful architecture (Part 1)

Yesterday, I have committed the first slew of changes to the routing framework. Thanks to this refactoring, developers have new opportunities to customize the routing and this will allow very cool features in the very near future. But today, let's dive into the goodness of the symfony 1.2 routing framework.

New in symfony 1.2: Small things matter

As for every symfony version, we try to simplify the API and make it more intuitive and powerful. Here are some examples that you will soon enjoy in symfony 1.2.