Hi t0m,

On Sun, Jul 18, 2010 at 6:22 AM, Tomas Doran <[email protected]> wrote:

>
> On 11 Jul 2010, at 14:48, Leandro Hermida wrote:
>
>> I had a look at KiokuDB, its a very nice project and suitable for
>> certain needs, but it doesn't do ORM. In many software development
>> projects particularly business-related you really the database to be a
>> relational implementation of your entity object model because you have
>> other systems, software and programming languages that will be
>> interacting with the database.
>>
>
> Unless you're going to hide the entire actual DB behind views and stored
> procedures, then this is generally a REALLY BAD IDEA.
>
> You now have no level of abstraction from your database layout and your
> data model.
>
> Which means that changing the database layout (without changing all the
> apps which work on that layout at the same time) is going to break things,
> which then need fixing in multiples places, and releasing in sync - I.e. you
> just achieved very very close coupling to your DB schema, which you want to
> avoid (for reasons stated above) if possible...
>
>
very good points and makes a lot of sense.  If I can ask a more general
question then, why do ORMs exist in the first place and why are they so
popular vs using a object persistence mechanism?  There must be some serious
advantage to using them.


> Cheers
> t0m
>
>
> _______________________________________________
> List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive:
> http://www.grokbase.com/group/[email protected]
>
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to