You are here: Re: Is an ORM tool really necessary for web applications? « PHP Programming Language « IT news, forums, messages
Re: Is an ORM tool really necessary for web applications?

Posted by Tony Marston on 11/24/07 11:59

"Manuel Lemos" <mlemos@acm.org> wrote in message
news:effht4$tdj$1@emma.aioe.org...
> Hello,
>
> on 09/22/2006 08:41 PM Tony Marston said the following:
>> On ORM (Object Relational Mapper) most definitely does NOT facilitate
>> data
>> retrieval. It is used when the structure within an object is different
>> from
>> the structure within that part of the relational database with which it
>> connects, in which case you need a mapper to deal with the differences
>> between the two structures. If the two structures are identical then you
>> don't need a mapper because it is redundant.
>
> That is really not the role of Object Relational Mapping. In this
> context, mapping means translating data structures into SQL statements
> to store and retrieve such structures from objects.

I disagree. The primary function of an ORM is not to generate SQL
statements, that is what a Data Access Object is for. An ORM has a different
purpose which I have already explained. Take a look at
http://www.martinfowler.com/eaaCatalog/metadataMapping.html

--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация