Welcome Guest, Not a member yet? Register   Sign In
How I render partials?
#3

[eluser]Martin Snajdr[/eluser]
[quote author="xwero" date="1214998120"]It's an interesting way of making it easier to render a page but i think in the real world it will be only useful for a limited number of partials. A way to up the number of partials would be to put your library in the system/libraries and create a MY_Partials.php file in the application/libraries directory. This splits the data methods from the actual library methods.

I think there better ways to do this but it could be useful for someone.[/quote]

Thanks for answer xwero,

That's great idea but many people, including me, don't like to add any files into the system folder. So what about extending the Partial.php with a model where will be the data methods?


Messages In This Thread
How I render partials? - by El Forum - 07-01-2008, 11:40 PM
How I render partials? - by El Forum - 07-02-2008, 12:28 AM
How I render partials? - by El Forum - 07-02-2008, 12:47 AM
How I render partials? - by El Forum - 07-02-2008, 01:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB