Welcome Guest, Not a member yet? Register   Sign In
Guidelines for Modular/Extensible Code
#1

[eluser]Deep Arora[/eluser]
I am wondering how we should structure code such that it works on modular architecture. Somthing like EE, Joomla or Wordpress where people can write new custom modules or plugins and application reads them and get the new functionality.

Any suggestions?

Thanks.
#2

[eluser]designfellow[/eluser]
Hi,
you can write plugins, libraries & helpers for CI also.
You can extend functionality using any of the above.
#3

[eluser]Deep Arora[/eluser]
I understand that, but what I fail to undertand is the link between these custom plugins and libraries and core application.

I mean, lets say I have a application, now I want application to know automatically that some new plugin is written and saved in plugins folder and then it shows that plugin as pending in screen. Once admin enables the plugin, it gets installed and stars working..something like EE or joomla.
#4

[eluser]zyzzzz[/eluser]
[quote author="Deep Arora" date="1251673316"]I un
#5

[eluser]umefarooq[/eluser]
Deep if you can see joomla is using database to keep record of its plugin where as CI is just a framework which help you to create your application it can give you the same functionality and its upon you how you are managing your plugins, modules, if you can keep record of it in database and you can enable and disable from admin panel




Theme © iAndrew 2016 - Forum software by © MyBB