On Tue, Sep 22, 2009 at 12:56 PM, Саша Стаменковић <[email protected]> wrote: > You mean dynamic modeling (DESCRIBE TABLE and load in PHP), no need, I think > I'll just have class with constants and one method to return them as array > (using reflection) and thats it. Not really an enum, but will do the job. > > Regards, > Saša Stamenković
No, I meant, changing the ENUM - e.g. adding a value to it - is expensive. Zend_Db_Table does a DESCRIBE TABLE anyway, so you can use the data and if you apply the meta cache, it's even faster. Till
