-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the alpha wiki!
For database configuration, you can choose to do that app/lib/Database.php
or you can do the settings in your app/config/config.ini
Run npm install
in public
to install all development dependencies. By default this framework doesn't use any css framework but has semantic UI and MaterializeCss as options you can choose. Of course, you could change it to suit your need.
Controller naming follow an pattern, controller name like events
with Controller
appended to it giving eventsController.php
. Controllers must be plural but of course, it's all dependent on you.
Models and Controllers cannot have the same class name. Models are usually singular. The Example
model gives you a base example of how a model should look like, which is also totally dependent on you.
The base controller has an example of how views are rendered. If you are passing data to a JS file in the views, I'd suggest you create a JS
directory in the controller view directory and put your JS file there. This applies to Partials as well, just to keep your code organization as clean as possible.