Hi,
if you want to use ZFs MVC Framework then you should start off with
the Zend_Controller manual pages:
http://framework.zend.com/manual/en/zend.controller.html

If it is a larger project you should take time to get familiar with ZF
specifics. Its worth the time!

With regards,
Juri

YaRo wrote:
> We have big (very big) application which was started long time ago when ZF
> was still in its childhood. Now the issue came up with moving everything
> under Zend Framework's hood. I would like to proceed slowly, step by step,
> with releasing portions of code one after another.

> For example, we have some area, responsible for displaying articles which
> currenty have only two major actions:

> 1) displaying last 10 articles (under
> <application>/articles/index.php )
> 2) displaying specific article in detail (under
> <application>/articles/view.php?id=N )

> Now what I would like to achieve is to introduce ZF's bootstrap routine to
> handle *only* controllers/ArticlesController.php with two actions: default
> 'index' (which will show last 10 articles for example) and additional 'show'
> (will be responsible for showing specific article in details). All other
> site's areas should be handled by existing scripts as before.

> So it looks like I need to have some standard/default controller which would
> simply pass request URI by usual Apache rules and outputs result as needed.

> Any advice where to dig?
> Thanks in advance.

Reply via email to