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

  1. Use as much as possible Eloquent Stuff
  2. Never use mysql_query() direct!
  3. Do not use complex queries with DB::. This will lead to DB dependencies!
  4. Avoid putting to much logic inside the Database – instead, use Laravel.
    AND try to think more in an MVC kind of style