Programming.ORMappers HistoryHide minor edits - Show changes to markup Friday 28 October 2005, at 21:46 GMT+8
by -
Changed lines 9-12 from:
Here come the OR Mappers or Object Relational Mappers. They are frameworks that take care of the nitty-gritty bits and make your life much easier when developping applications: you think in terms of objeects, classes, business logic, and the ORM will take care of mapping those to an existing or an automatically generated database schema. It's a high level of absctaction that sits above the data access layer of your application. As such, most ORM have a performance impact as data has to cross that additional layer, but the benefits are many, for you as a developer and for maintaining your application. to:
Here come the OR Mappers or Object Relational Mappers. They are frameworks that take care of the nitty-gritty bits and make your life much easier when developing applications: you think in terms of objects, classes, business logic, and the ORM will take care of mapping those to an existing or an automatically generated database schema. It's a high level of abstraction that sits above the data access layer of your application. As such, most ORM have a performance impact as data has to cross that additional layer, but the benefits are many, for you as a developer and for maintaining your application. Changed lines 20-21 from:
to:
Changed line 23 from:
to:
Changed lines 30-31 from:
This leads to data integrity needing to be checked at regular intervals, for instance whenever the application is connected to the database, it keeps a running counter in a to:
This leads to data integrity needing to be checked at regular intervals, for instance whenever the application is connected to the database, it keeps a running counter in a Friday 28 October 2005, at 19:07 GMT+8
by -
Added line 17:
Changed lines 19-20 from:
to:
Added lines 21-39:
It seems to me that XPCollection is trying to solve 2 problems with one stone:
Sometimes, what I want is a Collection to be aware that I created an object in another part of the application that should really be automatically visible in the Collection. Same with deleted objects; they should be removed automatically from the collection. Integrity check detectionThis leads to data integrity needing to be checked at regular intervals, for instance whenever the application is connected to the database, it keeps a running counter in a In a multiuser environment, a Integrity check detailsOnce an integrity issue has been detected, a flag must be set to disallow any client connection to the database until its integrity is verified. Integrity verification will check and reset editing flags in each record and can perform other needed tasks, like purging deleted records, checking referential integrity, verifying some known data entry issues, like adherence to company rules, etc. Friday 28 October 2005, at 18:29 GMT+8
by -
Added lines 1-2:
This page is just a bunch of ideas and is not meant to be accessible yet. Added lines 13-20:
Reflections on XPO and XPCollections. Issues I see with XPCollections:
Thursday 25 August 2005, at 10:45 GMT+8
by -
Changed lines 4-7 from:
Of course, there will always be a need to hand-craft databases, optimise everything, especially when dealing with large databases where performance is crucial, but most of the time, the database is just a way to persist your business logic and you really don't want to have to care so much about how it is done and you certainly don;t want to spend all that time writting glue code. Here come the OR Mappers or Object Relational Mappers. They are frameworks that take care of the nitty-gritty bits and make your life much easier when developping applications: you think in terms of objeects, classes, business logic, and the ORM will take care of mapping those to an existing or an automatically generated database schema. to:
Of course, there will always be a need to hand-craft databases, optimise everything, especially when dealing with large databases where performance is crucial, but most of the time, the database is just a way to persist your business logic and you really don't want to have to care so much about how it is done and you certainly don't want to spend all that time writing glue code. Here come the OR Mappers or Object Relational Mappers. They are frameworks that take care of the nitty-gritty bits and make your life much easier when developping applications: you think in terms of objeects, classes, business logic, and the ORM will take care of mapping those to an existing or an automatically generated database schema. Thursday 25 August 2005, at 10:26 GMT+8
by -
Added lines 1-9:
I hate database programming: I hate to have to build a database schema thinking in terms of database structures, then having to think about my programmes in terms of objects and classes and write all this code to interface them together. There has to be a better and more productive way to build general database applications. Here come the OR Mappers or Object Relational Mappers. They are frameworks that take care of the nitty-gritty bits and make your life much easier when developping applications: you think in terms of objeects, classes, business logic, and the ORM will take care of mapping those to an existing or an automatically generated database schema. It's a high level of absctaction that sits above the data access layer of your application. As such, most ORM have a performance impact as data has to cross that additional layer, but the benefits are many, for you as a developer and for maintaining your application. |