Welcome Guest, Not a member yet? Register   Sign In
codeigniter as compared to Joomla framework
#1

[eluser]elmne[/eluser]
I have a question. Codeigniter is a framework, and Joomla is also a framework on which teh CMS is built.


JOOMLA

Joomla has the following

Template
- with position tags

URL
- Urls are based on menus
The template is attached to a menu or is specified as default
- Modules show up wherever the position is on a template (unless resticted by menu in module settings)
- Component displays component's content based on level within the structure (homepage, section, category, item)
- Navigation to structure level is aided by the menu

Controller
- Modules, Components have controlle rthat validates data, receives input, calls model objects, passes output to specified tags in code

Model
- Modules, Components have models that contains functions which process the data and perform given tasks



CODEIGNITER

For codeigniter, there is similarity with the model and controller.


The difference seems to be that with Codeigniter, URLs are determined by Controlllers.

My question would be, how does one create what are like modules in Codeigniter so that data is displayed in a given page position and can be configured?

At the moment, the Controller not only determines teh URL, but also the tags that correspond to the Viewer to which data will be passed.


Is there a way to have
- a template that defines positions.
- Then each controller working as a module (as a module can have one or more functions) and being assigned to be displayed on a template in a given position
- The viewer for the module is the one that loads up for a given position
- And then one controller that manages URLs, such as the menu controller


Or how can a similar functionality be achieved?


Messages In This Thread
codeigniter as compared to Joomla framework - by El Forum - 08-12-2010, 03:19 PM
codeigniter as compared to Joomla framework - by El Forum - 08-12-2010, 03:48 PM
codeigniter as compared to Joomla framework - by El Forum - 08-12-2010, 05:06 PM
codeigniter as compared to Joomla framework - by El Forum - 08-14-2010, 04:10 AM
codeigniter as compared to Joomla framework - by El Forum - 11-28-2010, 02:19 AM
codeigniter as compared to Joomla framework - by El Forum - 07-29-2011, 01:30 AM
codeigniter as compared to Joomla framework - by El Forum - 08-02-2011, 03:23 PM



Theme © iAndrew 2016 - Forum software by © MyBB