Symfony view more

Helpers. If you override a helper file make sure you override all as there is no inheritance.
Symfony uses the decorator pattern to form the page. Layout.php has a sf_data to hold the template data.
To include code fragments, use partial to include simple HTML, component to include some logic, and slot to replace stuff that has a default.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s