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

[eluser]xwero[/eluser]
If you have models and views in a library you should think about creating a controller because you are creating a pseudo controller. But the 'bad' thing about controllers in CI is that there is no elegant way call them in other controllers. Then you have to rely on 'big' libraries like Matchbox an ME but the developer of Matchbox made the Wick library that provides you an elegant way to load controllers.

In the long run it is a more transparent way of segmenting the code than adding data calls to a library.


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