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.
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.
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.
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.
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.