Welcome Guest, Not a member yet? Register   Sign In
Database based Config library
#7

[eluser]steelaz[/eluser]
Well, the line between Config and Settings sometimes gets blurry, so I think it's a matter of preference or project you're working on. I extended my Config class when I wanted to move some hard-coded 3rd party config values to database and it worked out quite nicely.

I agree with "messy" factor, but I only use save_db_item() in my applications' "Settings" page. For the most part I call load_db_items() once in extended controller and it's $this->config->item() from there.


Messages In This Thread
Database based Config library - by El Forum - 10-11-2009, 12:53 PM
Database based Config library - by El Forum - 11-18-2009, 01:58 AM
Database based Config library - by El Forum - 11-18-2009, 02:19 AM
Database based Config library - by El Forum - 11-18-2009, 02:22 AM
Database based Config library - by El Forum - 11-18-2009, 02:39 AM
Database based Config library - by El Forum - 11-18-2009, 02:45 AM
Database based Config library - by El Forum - 11-18-2009, 02:52 AM
Database based Config library - by El Forum - 11-18-2009, 03:28 AM
Database based Config library - by El Forum - 11-18-2009, 03:31 AM
Database based Config library - by El Forum - 11-18-2009, 03:52 AM
Database based Config library - by El Forum - 11-18-2009, 03:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB