[eluser]bengrice[/eluser]
Hi there,
Im just starting a new project and i want to start things right.
Iv been reading for ages and i cannot find a simple answer for the question.
Whats the best practice (for CI) when naming M's V's an C's and there file name.
IE
I have controller control panel, with a view and a model, this is the kind of structure i want:
controllers/ControlPanel.php (for file name, do i use camel case and or underscore etc)
then inside controller what the class name? is it class 'ControlPanel' exten.. or Control_panel... (im assuming it should match the file name)
then views and models, i want them im subfolders based on the controller eg:
views/controlpanel/userList.php (again camel case file name or underscores) same with models and model class names eg models/controlpanel/userList.php
any advice / clarification would be greatly appreciated
many thanks
ben