Re: Let's discuss enums!
| From: | Lester Caine | Date: | Fri, 18 Sep 2015 17:31:55 +0000 |
| Subject: | Re: Let's discuss enums! | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88345@lists.php.net to get a copy of this message | ||
On 18/09/15 00:06, Rowan Collins wrote:
> So, what are anyone's thoughts? Am I rambling on too much as usual? ;)
What happens when you need to switch language?
This is one area where a well formatted database system fills many
holes. Simply selecting a subset of entries from a table allows a user
to select the enumerated values in their language. We hit no end of
problems where English is encoded into the code rather than simply a set
of numbers.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk