Didn't know that really. I'm working on pretty large project and there are
enums all over tables, works fine. Will check ;)

Regards,
Saša Stamenković


On Tue, Sep 22, 2009 at 1:04 PM, till <klimp...@gmail.com> wrote:

> On Tue, Sep 22, 2009 at 12:56 PM, Саша Стаменковић <umpir...@gmail.com>
> 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
>

Reply via email to