I'm working on the following architecture for a site running symfony.
Seeking ideas and input for the best way this might be implemented on
a symfony platform.
Blocks
* Right now I am using the name block for lack of available
nomenclature. You could also refer to these as modules, widgets,
content areas, etc.
* A block can be any independent entity assigned to "pages" in the
frontend. If you go to education.com (as an example, not the site I'm
developing), "Science Fair Ideas and Help" would be a block, "Featured
Topics" would be a block, a chunk of html or ads can be made blocks.
* Blocks would be developed separately of other blocks. There
would be some sort of class of all the available blocks which pull in
the necessary db data, construct and return its individual html
segment.
* In the admin, blocks would be given properties such as order,
active/visible, etc.
Zones
* Each page would also be assigned zones (left side, middle,
footer, whatever). These would basically determine the page layout.
* Blocks would then be assigned to a zone on the page.
* When a page loads it pulls its assigned zones and blocks then
places them where necessary.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en