Blog

Goodbye slots, hello components

« Back to the Blog

Categories

Feeds

feed Posts feed

comments feed Comments feed

Be trained by symfony experts
Dec 10: Paris (1.1 - Francais)
Dec 10: Atlanta (1.1 - English)
Dec 17: Montreal (1.1 - Francais)
Jan 21: Paris (1.1 - Francais)
Feb 18: Paris (1.1 - Francais)
and more...

Archives

Creative Commons License This work is licensed under a Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 Unported License.

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.

Comments comments feed

No comment yet.