Welcome Guest, Not a member yet? Register   Sign In
overall code organization: helper, library, core, or model?
#3

@sneakyimp

"2) A registry to store site-wide configuration values such as:" - this is where I started https://github.com/ericbarnes/ci-setting...ttings.php This library stores your settings within the database, storing and retrieval is by keywords.

I've got slightly different implementations, I don't need grouping of the settings, on the other hand, I need language-sensitive settings. You know where my repository is.

And within the administration panel user-interface for settings is to be created.

Before storing the email password, API keys and other security-sensitive data - encrypt them. On retrieval - decrypt them. Use a separate encryption key (not the default one) for this purpose.
Reply


Messages In This Thread
RE: overall code organization: helper, library, core, or model? - by ivantcholakov - 01-02-2015, 10:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB