[Catalyst] More natural access to model?
Paweł Tęcza
ptecza at uw.edu.pl
Tue May 12 22:49:44 GMT 2009
Dnia 2009-05-12, wto o godzinie 19:30 +0100, Matt S Trout pisze:
> Well, that's a horrible idea.
>
> The whole point of having a database is to -model- your data.
>
> If you try and turn it into a giant hash, then of course you're going to
> end up with nasty code.
>
> I -could- explain how to clean that loop up a lot, but the reality is that
> you should have actual columns for things and update your database as
> required as new types of data need to be included - you'll have to update
> the application anyway, so I don't see any reason not to update the database
> at the same time ...
Hi Matt,
Intriguing post. My application and database design are still under
heavy development, so all ideas, suggestions and comments are very
welcome :D
My best regards,
P.
More information about the Catalyst
mailing list