Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-2008, 06:43 PM
Junior Member
 
Join Date: May 2008
Posts: 1
Question Looking to convert - replacing Interakt style page incluudes..

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-16-2008, 10:14 PM
Junior Member
 
Join Date: May 2008
Posts: 3
Default Partials

You can use partials, Zend Partials helpers -> Zend Framework: Documentation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:34 AM.