in reply to Another Opinion Request...(config file)
When loading the page - you just need to grab the group and perform whatever initializations you would need to do at that time.
The admin facility would simply load the group and allow for modifications of their values.
Now, one nice this about taking this approach is that you have created a simple dynamic table - let's say in the future you need to extend a table say - customer - and add a field. Normally you would have to have the DB Admin create the field and roll in the change. Now, however, you can extend that table (type=customer) and store the field name (name=lastVisitDate) and the value (value="whatever time value you want to store"). Now, viola, you can dynamically add fields to tables until such time in the future when a DB change can actually take place. Don't forget to tag your code so that you can find which programs need to be changed in the future - if you do it with some planning up front - a simple search and replace may be all that you need!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Another Opinion Request...(config file)
by powerhouse (Friar) on May 12, 2003 at 16:20 UTC | |
by draconis (Scribe) on May 12, 2003 at 21:54 UTC | |
by powerhouse (Friar) on May 13, 2003 at 14:06 UTC | |
by draconis (Scribe) on May 13, 2003 at 15:13 UTC | |
by powerhouse (Friar) on May 13, 2003 at 17:46 UTC | |
by draconis (Scribe) on May 13, 2003 at 19:43 UTC |