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. _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
