Welcome Guest, Not a member yet? Register   Sign In
(Help needed) How to create plug and play applications with CI
#2

[eluser]bretticus[/eluser]
[quote author="navetz" date="1253535139"]
In the tutorials for django it you use MVC to create plug and play applications that if you design them to be loosely couple from other applications, can be simply plugged into another django project.[/quote]

plug and play is nice "marketing" but in reality that is the goal of object oriented programming. That is, abstract your tools as much as possible (loose coupling.) I suppose you might equate these to libraries in Codeigniter (which is a more traditional term not hidden behind a fluffy name.)

You'll find that codeigniter (or just about any MVC framework) fits this pattern for the most part. For example, you can certainly take controllers from any Codeigniter project and incorporate them into another project. Sure, you'd change the views but the functionality can be the same. Again this is true of any MVC framework for the most part (if not certainly the goal of MVC.) And, yes, it should be clear from the blog videos (or the manual) that Codeigniter also uses the convention-over-configuration model for accessing code within your project (just like pretty much all other MVC frameworks.)

django (and even CakePHP if you want a PHP example) have command line applications to automate code building. Codeigniter is just pure framework. So if you're into automation, you might not be into Codeigniter (me, on the other hand, like it for being lightweight and simplistic.)


Messages In This Thread
(Help needed) How to create plug and play applications with CI - by El Forum - 09-21-2009, 02:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB