× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



However, why not just write SQL. It doesn't take a lot longer in
programmer time.

But what if you could save even more time by using an ORM? I was 50/50 on
ORMs until I started using ActiveRecord in RubyOnRails and realized it was
even simpler/more-powerful than native RPG DB access. Before that I was a
Java/Hibernate user and was frustrated by the amount of time I spent
modifying xml files, abstract classes, and implementation classes (yuck).
Ruby's open classes make this soooo much better.

Just an opinion :-)

Aaron Bartell
litmis.com - Services for open source on IBM i


On Fri, Jan 22, 2016 at 11:30 AM, Justin Dearing <zippy1981@xxxxxxxxx>
wrote:

On Fri, Jan 22, 2016 at 11:32 AM Matt Olson <Matt.Olson@xxxxxxxx> wrote:

We have been using the ADO .NET driver for years, but writing SQL is a
development pit we would like to try start digging ourselves out of.


I don' get this thinking at all. SQL is a high level Domain specific
language for doing tuples calculus and set based algebra. It is a
declarative language, and most database engines are able to compile it to a
very good query plan and get you your results quickly. Yes modern ORMs are
good, and are usually very well instrumented if you need to see what SQL
they are actually generating. However, why not just write SQL. It doesn't
take a lot longer in programmer time. ORMs don't generate better SQL than
the average programmer. SQL is not assembly. Its readable and writable by
mortals.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.