needsomehelp wrote:
>
> Hi all - Just looking for a few suggestions here.
>
> I'm playing around with a social network type site. What I'm wondering is
> how to setup an MVC for a URI structure like myspace
> (myspace.com/username). What would be the best way to structure my MVC to
> differentiate between actual site content and user pages. Would I have a
> database table listing page URI and type? Example:
>
> id URI type
> 1 about content
> 2 tchocky user
>
> Thanks for your time!
>
Have a read about the router in the manual.
http://framework.zend.com/manual/en/zend.controller.router.html#zend.controller.router.usage
This is pretty much an example of what you want to do but with a 'user/'
prefix very useful piece of the manual.
-----
Simon Corless
http://www.ajb007.co.uk/
--
View this message in context:
http://www.nabble.com/Need-some-MVC-structure-suggestions-tp16363223p16367332.html
Sent from the Zend Framework mailing list archive at Nabble.com.