[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?