Welcome Guest, Not a member yet? Register   Sign In
HMVC: Base.php vs. Ci.php
#2

[eluser]wiredesignz[/eluser]
In Base.php the CI class extends the CI_Controller class which holds the application object (CI::$APP) used to contain all of the CodeIgniter core classes. This allows you to use multiple controllers (HMVC) in your application. Your controllers must extend the MX_Controller class.

In Ci.php the CI class does not extend the CI_Controller, but still allows the use of the same code base to access the application object and the core classes. This only provides your application with modular separation, not HMVC. Your controller must extend the CI_Controller class.


Messages In This Thread
HMVC: Base.php vs. Ci.php - by El Forum - 06-24-2011, 11:56 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-24-2011, 02:06 PM
HMVC: Base.php vs. Ci.php - by El Forum - 06-24-2011, 02:59 PM
HMVC: Base.php vs. Ci.php - by El Forum - 06-24-2011, 05:06 PM
HMVC: Base.php vs. Ci.php - by El Forum - 06-24-2011, 05:12 PM
HMVC: Base.php vs. Ci.php - by El Forum - 06-25-2011, 02:38 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-25-2011, 06:02 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-25-2011, 07:30 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-25-2011, 08:24 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-25-2011, 12:26 PM
HMVC: Base.php vs. Ci.php - by El Forum - 06-25-2011, 03:34 PM
HMVC: Base.php vs. Ci.php - by El Forum - 06-26-2011, 05:24 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-26-2011, 06:30 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-27-2011, 12:45 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-27-2011, 12:57 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-27-2011, 03:03 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-27-2011, 03:28 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-27-2011, 04:39 AM
HMVC: Base.php vs. Ci.php - by El Forum - 06-27-2011, 02:53 PM
HMVC: Base.php vs. Ci.php - by El Forum - 06-28-2011, 01:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB