Goodbye slots, hello components

The 0.6 is still not released as a beta, but for the impatient lazy folks, here is another new feature to expect. The slots were used as template fragments with a logic, but they had two drawbacks: They were slow, and could only be used in the main template.

Symfony 0.6 introduces a new partial helper, include_component(), which takes the best of the slots plus the speed and flexibility.

The detailed description of the new features of the 0.6 has been updated to show how to use components. Make sure you take a look at it.

The 0.6 won't be long now, so come back soon to check this weblog for news.

Help the Symfony project!

As with any Open-Source project, contributing code or documentation is the most common way to help, but we also have a wide range of sponsoring opportunities.


Comments are closed.

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