Welcome Guest, Not a member yet? Register   Sign In
Activate / deactivate modules
#1

[eluser]GlennJ[/eluser]
I'm working on a project at the moment which will utilise the modular separation library. But I would like to build the system in such a way that modules can be turned on/off.

Now I could do this in 2 obvious ways - by config file, or by DB table.

What do people think? Is there much in it performance wise as DB reads are reasonably cheap these days?
#2

[eluser]theprodigy[/eluser]
I, personally, would set it up in a database table with boolean fields for each module in the application. That way you can set up an admin interface to control all of it and/or view what the current settings are, alot easier then ftp-ing files down or ssh-ing into the server just to view/update some config boolean settings.




Theme © iAndrew 2016 - Forum software by © MyBB