Welcome Guest, Not a member yet? Register   Sign In
problem in getting result from model.
#4

[eluser]boltsabre[/eluser]
>> it is a good practice to autolod the database in you application configuration files.

That's not true, it completely depends on the application. If Ram has an huge website, but only a small admin panel area (perhaps it's a cms site?) and the admin panel is the only place you need a DB connection why would you autoload it cross the whole site? In this case it would make much more sense to just load it in the admin constructor.

Anyway, if he didn't have a DB connection there would be a pretty obvious error message! Same if the model wan't being loaded!


Messages In This Thread
problem in getting result from model. - by El Forum - 06-05-2012, 12:08 AM
problem in getting result from model. - by El Forum - 06-05-2012, 12:44 AM
problem in getting result from model. - by El Forum - 06-05-2012, 01:12 AM
problem in getting result from model. - by El Forum - 06-05-2012, 06:18 AM
problem in getting result from model. - by El Forum - 06-05-2012, 06:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB