http://framework.zend.com/manual/en/zend.controller.router.html
2009/1/29 Shaun Hare <shaun_hare@yahoo.co.uk>:
>
> As a newcomer to Zend I have decided to learn quick and fast with a small
> blog engine.
> I seem to be getting along OK but have little idea how I can achieve nice
> clean post title based urls mapped to my
> getPostAction
>
> E.g myblog.com/new-post-title & myblog.com/another-post-title Routes to
> indexController getPostAction
>
> What would be my best strategy
>
> I understand I could use the _call method? Will this overide other routes I
> have set up?
>
> What route would I create? Would I just slipt the url in the call method
>
> Would be grateful of some guidence
>
> Many Thanks
> Shaun
>
>
>
--
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------
没有评论:
发表评论