PHP – PSR 0 – Configuration Constants
This question is about PSR-0 autoloaded libraries and the way main configuration constants should be declared and used.
Using configuration to determine whether to handle exception or bubble it up
On a side project I’m working on I came up with a way of handling exceptions that’s adjustable by configuration. So a try/catch block might look like this:
Using configuration to determine whether to handle exception or bubble it up
On a side project I’m working on I came up with a way of handling exceptions that’s adjustable by configuration. So a try/catch block might look like this:
Using configuration to determine whether to handle exception or bubble it up
On a side project I’m working on I came up with a way of handling exceptions that’s adjustable by configuration. So a try/catch block might look like this:
Using configuration to determine whether to handle exception or bubble it up
On a side project I’m working on I came up with a way of handling exceptions that’s adjustable by configuration. So a try/catch block might look like this:
Class/Object with different sets of configurations, singletons etc (PHP)
I want to produce maintainable code for configuring one or multiple classes differently depending whether in a production or development environment.
Best practice for configuration files in a website
I am creating something similar to a Content Management System, that can be downloaded and used by everyone that needs it. I’ve been working in web-development for a couple of years (mainly as a hobby, i.e. creating personal homepages for acquaintances), but have never had the need of a user to enter his own configurations (let it be database connection, meta-data about his site, desired behaviour of the website).
Best practice for configuration files in a website
I am creating something similar to a Content Management System, that can be downloaded and used by everyone that needs it. I’ve been working in web-development for a couple of years (mainly as a hobby, i.e. creating personal homepages for acquaintances), but have never had the need of a user to enter his own configurations (let it be database connection, meta-data about his site, desired behaviour of the website).
Moving our web application from a windows development environment to linux environment seamlessly
I am trying to develop a web application on a windows machine using apache wicket, java, jquery etc. Apache wicket comes with an embedded jetty server. I am using eclipse as the IDE.
how do you manage api keys?
I have a few projects that use various webservices e.g. DropBox, AWS. For managing private information I use bash_profile
which works great with heroku that uses env variables to manages secret informations. The problem is my bash_profile is growing significantly (HEROKU_ADD_ON_1 HEROKU_ADD_ON_2 etc.) and it bit me today.