Welcome Guest, Not a member yet? Register   Sign In
CI for dummies
#8

[eluser]minimal design[/eluser]
[quote author="nmweb" date="1212610613"][quote author="minimal design" date="1212609581"]well, in his example I'm assuming news and products are 2 tables in the database, 2 different sets of data, so I think 2 models makes more sense. Most likely it will be used in many different places and keeping the models separated seems to be a more modular architecture that will help minimize code redundancy. If I'm wrong, please expand on how you'd do it... I'm always curious to learn new things Smile[/quote]

I'm a fan of wireddesignz HMVC meaning that would call in the controller the News_Controller for the news, and the Product_Controller for the product. The called controller would then load the model.[/quote]

I don't really get it... got an example online somewhere? Thanks!


Messages In This Thread
CI for dummies - by El Forum - 06-04-2008, 05:43 AM
CI for dummies - by El Forum - 06-04-2008, 08:23 AM
CI for dummies - by El Forum - 06-04-2008, 08:40 AM
CI for dummies - by El Forum - 06-04-2008, 08:59 AM
CI for dummies - by El Forum - 06-04-2008, 09:04 AM
CI for dummies - by El Forum - 06-04-2008, 09:09 AM
CI for dummies - by El Forum - 06-04-2008, 09:16 AM
CI for dummies - by El Forum - 06-04-2008, 09:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB