pcplantdb@lists.ibiblio.org
Subject: pcplantdb
List archive
- From: John Schinnerer <john@eco-living.net>
- To: pcplantdb@lists.ibiblio.org
- Subject: [pcplantdb] Object oriented model reprise
- Date: Wed, 01 Sep 2004 23:02:01 +0000
Aloha,
Can you provide a layman's explanation of ORM with MySQL and what the default/alternative would be?
What are the advantages offered by ORM as the object-oriented approach?
I'll leave these to Chad - he is more familiar with details of this stuff than I am.
Whhat does object-oriented mean in the ocntext of what we are doing and how does it fiffer from non-OO methods?
There's been a lot of posts on this already - check the archives for a reprise.
IMO an object model for our project is much more appropriate than a relational-database model.
Plant objects (stored in an object DB) would contain information about themselves and ways ('methods', meaning essentially bits of code) to share than information.
This is essentially what real-world plants do - they 'know' about themselves and communicate with other entities in a variety of ways - colors and scents to attract pollinators and/or repel predators, root exudates to attract symbiotic micro-fauna or scare off predatory micro-fauna, and so on.
In a relational-DB model, plants are abstracted as tables of information 'about' plants, with columns identifying general attributes/characteristics of plants and rows containing specific information on particular plants.
Instead of simply asking a plant object about itself in various ways, queries have to be constructed to de-abstract the abstractions created in making the tables, in order to extract the desired information 'about' the desired plant or plants.
Either approach can be made to do what we want.
I think the relational databse approach will get really really nastily complex and hard to work with as we add complexity to both tables and queries.
The object-oriented approach just seems way more appropriate - simpler, more like what we are trying to model.
We are already a culture addicted to abstraction; I think plant objects in an OO database are less an abstraction than relational database tables full of bits of data about plants.
--
John Schinnerer - MA, Whole Systems Design
------------------------------------------
- Eco-Living -
Whole Systems Design Services
People - Place - Learning - Integration
john@eco-living.net
http://eco-living.net
-
[pcplantdb] Object oriented model reprise,
John Schinnerer, 09/02/2004
-
Re: [pcplantdb] Object oriented model reprise,
Lawrence F. London, Jr., 09/02/2004
-
Re: [pcplantdb] Object oriented model reprise,
John Schinnerer, 09/03/2004
- Re: [pcplantdb] Object oriented model reprise, Lawrence F. London, Jr., 09/03/2004
- Re: [pcplantdb] Object oriented model reprise, Lawrence F. London, Jr., 09/03/2004
-
Re: [pcplantdb] Object oriented model reprise,
Richard Morris, 09/03/2004
- Re: [pcplantdb] Object oriented model reprise, John Schinnerer, 09/04/2004
-
Re: [pcplantdb] Object oriented model reprise,
John Schinnerer, 09/03/2004
- <Possible follow-up(s)>
-
Re: [pcplantdb] Object oriented model reprise,
Stephanie Gerson, 09/03/2004
- Re: [pcplantdb] Object oriented model reprise, Lawrence F. London, Jr., 09/04/2004
-
Re: [pcplantdb] Object oriented model reprise,
Stephanie Gerson, 09/03/2004
- Re: [pcplantdb] Object oriented model reprise, Richard Morris, 09/06/2004
-
Re: [pcplantdb] Object oriented model reprise,
Lawrence F. London, Jr., 09/02/2004
Archive powered by MHonArc 2.6.24.