2009年1月30日星期五

RE: [fw-mvc] Re:Usage

Hopefully not off topic

Could any one please point me to good resources on the business case
For using Zend framework and PHP?

Many Thanks

Shaun

-----Original Message-----
From: keith Pope [mailto:mute.pop3@googlemail.com]
Sent: 31 January 2009 09:51
To: shaun_hare@yahoo.co.uk
Cc: fw-mvc@lists.zend.com
Subject: Re: [fw-mvc] Re: URL mapping


you want to look at the router
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]
----------------------------------------------------------------------

没有评论: