2009年9月22日星期二

[fw-db] Modeling MySQL enum

Hi.

I wonder what is the best way to model MySQL enums? Class with constants, or
array of constants, or maybe sth else? You need to render options in
templates (<select>) or to use enum values allll over the code.

So, what is the right way to go?

Regards,
Saša Stamenković.
--
View this message in context: http://www.nabble.com/Modeling-MySQL-enum-tp25530643p25530643.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: