Differences with FuelPHP

Constants path

See API documentation for constants.

Autoloader

Two namespaces are added by Novius OS :

novius-os:points to NOSPATH.
local:points to APPPATH.

Bootstrap and entry points

In Novius OS, front-office and back-office are two very separated areas.

So instead of a single index.php entry point from FuelPHP, Novius OS has two entry points:

  • ~/novius-os/htdocs/admin.php: Back-office entry point. Handles all URL starting with /admin/.
  • ~/novius-os/htdocs/front.php: Front-office entry point. Handles all URL ending with .html or the root of your website.

Back-office entry point

Novius OS defines a special route for the back-office, which works as follow:

<?php
'routes' => array(
        '^admin/(:segment)/(:any)' => '$1/admin/$2',
),

For example, the URL admin/noviusos_page/page/insert_update/113 will be transformed into noviusos_page/admin/page/insert_update/113. Which boils down to executing the action_insert_update method from the Controller_Admin_Page controller of the noviusos_page application.

Read the Docs v: chiba.1
Versions
latest
chiba.2
chiba.1
0.2
0.1
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.