Welcome Guest, Not a member yet? Register   Sign In
Relationships between Components, Modules and Plugins in mvc
#1

[eluser]Mahyar Ss[/eluser]
hi friends,

I'm confused!
in simple cms with CI how work Components, Modules and Plugins together!
(Technical relationship between these cases with MVC)

some cms use:
example: joomla

please explain their relationships in an application
With the mentioned technical reasons...

for example: i have saw com_poll in components also mod_poll modules
What is the difference?

i want to learn more about designing pattern and how do I use them for my program
(simple CMS with CI)

thnX!
#2

[eluser]rogierb[/eluser]
In joomla:
A component is a larger functionality like a gallery
A module can be part of a component, like a module for showing the latest 4 pictures.
A plugin is something that can be used by components or modules (like a PDF plugin)

In CI, there are no components.
If you want to make the comparison, which would be like comparing a chicken with a car:
Joomla Components = CI modules
Joomla Modules = CI helpers
Joomla Plugin = CI plugin

But that comparison is as accurate as shooting the sun with a bb-gun.
#3

[eluser]Mahyar Ss[/eluser]
Excellent
Was detailed
Thank you




Theme © iAndrew 2016 - Forum software by © MyBB