Welcome Guest, Not a member yet? Register   Sign In
Widgets and Modules ?
#6

[eluser]bretticus[/eluser]
[quote author="Buso" date="1274171535"]ok ill try modules (not sure yet if they can be used that way)

doing it with a model method wouldn't let me have all the logic for the userbar contained in the same place. A widget should be almost plug & play[/quote]

Are you actually using Modular Separation? I don't want to discourage anyone from using some elegant way of modularizing code using MS/Matchbox/HMVC/etc. But I do think it's worth stating that most projects do not need "modular separation." I assume you plan on sharing your code with the community perhaps. In that case, yes, modules are a great way to package your code (albeit it relies now upon a module change to CI.)

I have no idea what widgets are as they are not a component of MVC nor CodeIgniter, but I know that it's convenient to drop in a plugin that just works. Perhaps widgets are always called by the view method when they exist. I'm just guessing this is functionality of the module code? From my basic perspective of modules, however, you have to refer to them via URL.

If I were you I'd find the forum post with the details/documentation for the modules code (Modular Seperation) and after looking for the specific information about "widgets", if you do not find it, ask there. The author most likely follows that post.

Good luck!


Messages In This Thread
Widgets and Modules ? - by El Forum - 05-17-2010, 07:28 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 08:52 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 09:14 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 09:20 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 09:32 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 09:48 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 10:06 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 10:07 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 10:10 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 10:13 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 10:15 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 10:24 PM
Widgets and Modules ? - by El Forum - 05-17-2010, 10:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB