Thursday, November 6, 2008

Switch to the persistency framework Data Objects.NET 4.0

Long time ago I've decided to use DataObjects.NET as ORM framework. The content management of our company homepage relies soley on it. It also uses some JQuery plugins for layouting. You can find them on my private homepage under JQuery Projects.

A view months ago they announced the new 4.0 version. It is licenced under GPL and comes along with some propertiary licence models. It is a awesome framework, with goundbreaking changes to any ORM i know.

But i miss some important things:
  • Syncronsiation or replication like SQL - but on the level of business objects
  • Update and upgrade support
  • Backup and resorte support
So i've decided to use syncronsation and distribution knowledge from our software for travel agencies (comes with replication, backup update and so on) and build a framework for it that is able to:
  • Syncronize
  • Backup
  • Deploy
In the moment i am working on syncronisation and update issues. Because x-tensive follows the "sorce code is source of everything" (SCSE) pattern, i will do too.

Here is a sample class form my NUnit tests:

class TestEntity : SyncEntity
public string Payload { get; set; }

public string FieldWithSyncVersionNoUpdate { get; set; }

public string NoFieldProperty
get { return ""; }
set {}

The RevXXX (Revision) attributes will tell the framework when a property is introduced, deleted or the name changed. So the backup and synchronization layer can automatically do the necessary transformations between the versions.


Unknown said...

Thomas, if we could discuss possible ways of joining the efforts here, I'd be glad. We're planning to start working on schema upgrade in the end of November \ December now, and actually already did a significant part of this in SqlDom. If there is a common vision, it could help both sides.

Please skype me (Skype: alexyakunin) when the time will permit.

Aura Romano said...

Every single one of the itemsDamenmode showcased inside our comments is available for purchase upon Amazon as of your day evaluation is actually printed, therefore you will always be able to get precisely what you’re searching for in one in our newest releases. They will deal that offer individual huge discounts on specific products, and you should pounce on these types of opportunities prior to their purchase period of time would wear aside….

Eliza said...

Only aspire to mention ones content can be as incredible. This clarity with your post is superb and that i may think you’re a guru for this issue. High-quality along with your concur permit me to to seize your current give to keep modified by using approaching blog post. Thanks a lot hundreds of along with you should go on the pleasurable get the job done. abgaswärmetauscher

jack said...

I enjoy a straight and clear conversation. In available discussion posts, I can very best find out how I could optimally give you support inside the staff area.interim hr manager

Eliza Beth said...

This is actually the kind of information I have been trying to find. Thank you for writing this information. Profi Fachübersetzungen GmbH

Gladys Bane said...

Nice service. Easy and straightforward to kind was required and delivered all details given at the site . This was a home purchase and can still use United Kingdom Meds in future