Welcome Guest, Not a member yet? Register   Sign In
The Partial Library
#6

[eluser]skunkbad[/eluser]
[quote author="micha8l" date="1331321692"]I understand that you guys think, "why not just load views in views?" and "why not just load multiple views from the controller?" This class won't benefit from simple layouts, but for generating complex layouts like below, combined with a CSS framework such as Blueprint or the 960 Grid System, then you'll see the benefits fast.[/quote]

I guess I just think that what you have done adds such a big layer of complexity to such a simple task. I use nested views all the time, and have never came across a situation where I thought I needed anything that CI didn't provide. Everyone has their own programming style, and I think your library reflects yours. There's nothing wrong with that, if that's the way you like to work, but I think it would make things more difficult for me, and that's not something that I can afford to deal with, and I really wouldn't want to deal with it, so it's just not for me. My first impression when looking at your code was, "Damn, I could have done what I need to do, to do what he is doing, in like 10 seconds". I'm being a little sarcastic of course.


Messages In This Thread
The Partial Library - by El Forum - 03-08-2012, 11:49 PM
The Partial Library - by El Forum - 03-09-2012, 12:04 AM
The Partial Library - by El Forum - 03-09-2012, 12:26 AM
The Partial Library - by El Forum - 03-09-2012, 05:30 AM
The Partial Library - by El Forum - 03-09-2012, 12:34 PM
The Partial Library - by El Forum - 03-09-2012, 11:40 PM
The Partial Library - by El Forum - 08-09-2012, 07:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB