|
|||
|
Hi there
I am looking to convert a code base of several sites and applications to ZF from source code generated using the Dreamweaver ADDT (mnainly Interakt extensions). Whilst the actual coding isnt an issue I am just looking for a smidgin of advice on best practice to replace the 'dynamic page includes' that we utilise right now - which works really well. For those not familiar with this: We define an includes table in a db and a set parameter then calls to the db and extracts the correct file to place in a div/area on the page as an include. We also use the same table to extract page content - which is edited by users online (text and images etc). I would like to get near this functionality using ZF but am not afraid to change as long as I can get my head around the methodology used to achieve this kind of thing in ZF. After some research I am guessing (and its a guess!) that my current scenario is a bit 'front end controller' ish ? My urls look a bit like domain.com/index.php?page=products&cat=4] (page being the included 'view' page - which includes all the code too (booh) and then cat being a param for that page) I am pretty sure that this is bog standard stuff, its just the table based include data which I am not certain can be done. Any help appreciated. Oo |
|
|||
|
You can use partials, Zend Partials helpers -> Zend Framework: Documentation
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|