in reply to Re: Fetch Data from MySQL
in thread Fetch Data from MySQL
Ugh. Please don't recommend any of the object-relational mappers as a way around learning SQL. All ORMs I've seen so far allow you to avoid writing simple SQL statements, but horribly fail once your needs go beyond fetching single rows. Some ORMs allow you to define how to join tables together, but they all fail once your needs go towards more complex statements.
In addition, ORMs are the wrong way to think about your data. They make you think of aggregates over your data in terms of Perl loops instead of pushing the work down to the database. Also, they either force you to write a separate class representing a query result or think that all results you will ever fetch from the database correspond to a single row in one table. Neither approach makes much sense to me.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Fetch Data from MySQL
by aaron_baugher (Curate) on Sep 22, 2011 at 11:46 UTC | |
by anu2011 (Initiate) on Sep 22, 2011 at 14:51 UTC | |
by runrig (Abbot) on Sep 22, 2011 at 15:34 UTC | |
by anu2011 (Initiate) on Sep 22, 2011 at 19:53 UTC | |
by aaron_baugher (Curate) on Sep 22, 2011 at 20:31 UTC | |
by tospo (Hermit) on Sep 23, 2011 at 08:15 UTC |