Something that’s always annoyed me about writing web apps is having to write configuration pages. Each application obviously has different variables that need configuring, so it tends to be a laborious process of writing a unique configuration page per application.
However, I’ve had enough, so I’ve spent a massive amount of time (almost 8 hours!) and come up with something that’s pretty flexible. It’s not a totally user-friendly app, but if you know how to write XML files (to describe the settings that can be configured by the user), how to write custom PHP validation routines, and how to modify Smarty PHP templates, then it’s basically something you can drop in to an existing application.
Anyone interested?
[UPDATE. Later that day]
Here’s the code I now use to create a config page:
$config = new phpConfigWizard();
That’s it. Everything is is done via the XML settings file and Smarty templates.