|
Posted by Manuel Lemos on 11/07/63 11:59
Hello,
on 09/22/2006 04:23 PM Thierry Lam said the following:
> I was reading the book AJAX in action and it mentions using ORM tools
> such as PEAR, EZPDO or Metastorage. The ORM is supposed to facilitate
> data retrieval. Is everyone out there using one of those ORM tools?
I am, but I am suspicious, as I wrote Metastorage. ;-)
Anyway, what can I tell you is that I started Metastorage in 2002 and I
wish I started invested time on it much sooner.
It is really a breeze. I use the Use Case Mapping methodology to develop
Web applications.
http://www.meta-language.net/metastorage-example.html
This methodology could be implemented without using ORM tools, but with
Metastorage now I focus most of my time on implementing the business
logic, i.e. classes that implement the use case logic steps. The data
access layer is totally generated by Metastorage.
Not only it generates bug free code (saving me a lot of debugging time),
but it also prevents that I waste time rewriting data access code
whenever I figure I need to change anything in the data model. Sound too
good to be true, but it is real.
I believe that most people still hand code their SQL. I think that is
due to the fact that they don't know the power of code generation tools
to implement ORM.
At least with Metastorage, you do not have to write a single line of
SQL. You just need to determine what objects of your data model you want
to access and how. If you are confortable with object oriented
programming, it is a matter of time until you get up and running with
ORM tools that do most of the muscle work for you, so you can focus
mostly on the brain work.
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
[Back to original message]
|