Welcome Guest, Not a member yet? Register   Sign In
How to use Model as stand-alone (without controller or rest of CI)?
#1

[eluser]sauronlord[/eluser]
Hello,

I would like to use CI's model functionality just by setting up the basic config/database.php configuration and instantiate my Models directly in my application.

Is there a way that I can do this?

Thank you
#2

[eluser]toopay[/eluser]
[quote author="sauronlord" date="1306979602"]
Is there a way that I can do this?
[/quote]

No, there is not. At least, you need one controller. M can live without V and C, in MVC pattern.




Theme © iAndrew 2016 - Forum software by © MyBB