I'd go with #4, unless you're really processing so many requests at once that it is damaging to hit the database to get the constants. It's only one simple SELECT statement, that can't hurt anything much, can it?
In reply to Re: Synchronizing constants/enums in database and code
by Anonymous Monk
in thread Synchronizing constants/enums in database and code
by seattlejohn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |