going to build a php MVC, what naming conventions do i need to be aware of?
Posted
by Haroldo
on Stack Overflow
See other posts from Stack Overflow
or by Haroldo
Published on 2010-04-27T20:46:32Z
Indexed on
2010/04/27
20:53 UTC
Read the original article
Hit count: 203
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?
© Stack Overflow or respective owner