CakePHP naming conventions

URL will trigger controller
example:
http://appname.com/data_users

in app/controllers:
data_users_controller.php
in there:
class DataUsersController extends Controller {
}

this should be the same as the table it will reference:
data_users

in app/models:
data_user.php
class data_user extends AppModel {
}

in app/views/data_users:
function.ctp

Leave a Reply

You must be logged in to post a comment.