Database
NMS Prime is database-independent. Anyhow It is mostly tested and used with MariaDB SQL.
One of our goals is to achieve database independents. For this purpose, we use default laravel Eloquent.
Coding Guidelines
- Use as much as possible Eloquent Stuff
- Never use mysql_query() direct!
- Do not use complex queries with DB::. This will lead to DB dependencies!
- Avoid putting to much logic inside the Database – instead, use Laravel.
AND try to think more in an MVC kind of style