Tuesday, April 27, 2010

going to build a php MVC, what naming conventions do i need to be aware of?

Programmer Question

I'm pretty new to OO PHP, however i get how it all works and am ready to start building an MVC for a big site i'm working on. I know it isnt necessary written that you must do it like this but there's gotta be some normal practises....



class names - camelcase? underscores?



class files - same as class?



url/post/get controll name - router.php?



any other things i should be aware of before i embark?



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails