-
Notifications
You must be signed in to change notification settings - Fork 193
Home
Hey, how's it going there? Below is a bunch of documenation for Nilai. Read it till your eyes bleed. No seriously, do that.
At this time we require your table types to be set to InnoDB
. We make use of foreign keys and cascading throughout the app.
You do not have to worry about table type for migrations
table as we skip this check as it's just used to track migrations.
NOTE: We currently do not support the db_prefix
setting in CodeIgniter's database configs. We have a feature request for this and will be updating the application to support this.
Every view whether a web view, internal XMLHttpRequest request or API call returns the same exact data, just the format changes. Web view returns an array of data just like CodeIgniter wants so it can be turned into PHP variables. The other two will always return a JSON object. The application knows what type of data to return based on the request. All the URLs to access said data stay the same no matter what of response type you require. More information on the logic of how this is accomplished at the data returned per view can be found below.
The application comes with standard error codes for main actions. Supplementary actions like updating user information, resetting your password, etc also use a specific error reporting logic. Click the link below to read about both.
For those of you who have a thirst for information, feel free to click on the links below if you want to know more about what the application does at the code level. Below are links to controllers, models, libraries, etc. All with in-depth documentation on what there is and the requirements to use it. Enjoy.
- Plain Controller
- Cron
- Export
- Help
- Import
- Install
- JSON
- Labels
- Login
- Logout
- Marks
- Migrations
- Register
- Singletons
- Tags
- Tools
- User
- Welcome
If you want to extend Nilai, please don't update the core code. It will make merging our updates into your application a complete pain. Please follow this guide to extend your custom application.