View Single Post
  #1 (permalink)  
Old 04-17-2008, 11:44 AM
Phunky Phunky is offline
Junior Member
 
Join Date: Apr 2008
Posts: 6
Default Static Pages without Custom Routes

I'm trying to push a site of mine out of my own mess of a MVC Framework into Zend, but sadly i have still to learn it

I've got the basis of my application down and am just looking at a simple way of creating some of the static elements of my site.

Let say we have the following three pages
Quote:
url.com/welcome/
url.com/location/
url.com/people/
Each of the above is just a basic static page with a little bit of blurb and maybe a few images, now i could go about creating a Controller for each one of them and then an action linking to the views but that seems a little over kill to me.

What i would like to do is be able to create them dynamically via the index controller some how? I think i should be looking at using __call(__call($id, $arguments) within my IndexController along side some static routes?!

Can anyone point me in the right direction please.

Last edited by Phunky : 04-17-2008 at 11:52 AM.
Reply With Quote