Drop-In MVCs |
[eluser]slowgary[/eluser]
Hey guys, I've been working with a lightweight CMS called Frog, http://www.madebyfrog.com. Frog is MVC based, and has a plugin system where you can drop your plugin into the plugins directory and it magically appears in the backend. Each plugin is a self-contained MVC folder that includes an index.php, and of course, it's own Models - Views - Controller(s). I've recently started tinkering with building a CMS and wondered... could the same be achieved with CodeIgniter? I'd like to cook something like this up, but haven't yet had my lightbulb go off. Anyone got any bright ideas of how to make this work? I appreciate your help in advance. Thanks.
[eluser]eoinmcg[/eluser]
Take a look at the rather brilliant Modular extensions http://codeigniter.com/wiki/Modular_Extensions_-_HMVC/ It's pretty much what you describe. Also, I haven't had the time to take a look at it but I believe that PyroCMS is based on such a modular approach http://pyrocms.com/
[eluser]slowgary[/eluser]
Perfect!! That's exactly what I was looking for. Thank you very much.
[eluser]Phil Sturgeon[/eluser]
Sssh eoinmcg, you are helping the enemy!! :-p
[eluser]slowgary[/eluser]
Yeah, I looked at Pyro, but the demo isn't up and I'm too lazy to install it I'm not competing with anyone anyways, I'm just doing this for fun. Thanks for your help guys. |
Welcome Guest, Not a member yet? Register Sign In |