Blogs

The Progress Bar - DevExpress XPF Blog

Real World Application – Setting up the Data Access Layer using XPO

     

Real World Application - Setting up the Data Access Layer using XPO

 

We have published the next installment in the DX Airways Video Walkthrough Series. In this video, we explain the basic concepts of Object Relational Mapping (ORM), introduce you to eXpress Persistent Objects (XPO) as well as demonstrate how it is implemented as the Data Access Layer.

So why use XPO? There are many flavors of this design-concept out there, but XPO attacks this problem from a more real-world perspective. It will allow us to build the best business object model possible without worrying about the details of the database. This lets us take advantage of object-oriented characteristics like containment and inheritance, and XPO will take care of how best to persist the information. Behind the scene, XPO will create a database schema that best fits our object model and encapsulate all data access functionality.

 

So check out the video by Clicking Here or on the image to the right.

Published Apr 30 2009, 02:57 PM by Emil Mesropian (DevExpress)
Bookmark and Share

Comments

 

Boris Bosnjak said:

Keep 'em coming!  I'm enjoying this series.  While I'm generally familiar with the subject matter, I'm finding tidbits of useful information :-)

May 1, 2009 10:50 AM
 

CESAR F. QüEB said:

Totally agree with Boris... this serie offers a wider perspective about the XPO  model and the relation that it has with XAF. Please.. keep' em comming.. with more real implementations.

Best Regards

May 1, 2009 12:49 PM
 

Brendon Muck [DX Squad] said:

This is pretty great. I've yet to really delve into the world of Xpo, but I've actually watched this video 3 times already just to get a basic handle on it. Maybe this weekend I'll work on a little Xpo app just to get myself more comfortable with it.

May 1, 2009 2:35 PM
 

Nate Laff said:

Here's what I don't like...

You break a major XPO best practices recommendation in this sample.

5. Avoid the use of a default session.

May 1, 2009 2:39 PM
 

Martin Tremblay said:

Awesome

May 2, 2009 1:05 PM
 

Bassam Abdelaal said:

Does XPO now competes with LINQ to SQL or LINQ to Entities? they have a designer in VS to generate the object model then query by LINQ lang, how is this competes with XPO, im confused, can anyone explain

Thanks

May 6, 2009 3:29 AM
 

Confused! said:

This is just excellent. Superbly orchestrated videos, it's a shame you have nothing to back them up with.

Where is the source?

May 6, 2009 12:28 PM
 

Emil Mesropian (DevExpress) said:

@Confused:

The project is being developed along with the video tutorials. What this means is that we don't have a completed application yet and to avoid confusion, we are holding off from publishing any source code until the whole application or a big chunk of it is completed and functional.

May 7, 2009 12:37 PM
 

Oliver Sturm (DevExpress) said:

Hi Bassam,

> Does XPO now competes with LINQ to SQL or LINQ to Entities

No, it's the other way round :-)

There's a lot of common functionality in these products, although the focus is very different. Just one example: both LINQ to SQL and LINQ to Entities are bottom-up products, in that they expect you to work on the database layer a lot when it comes to designing and modifying the database - something that XPO assumes you're not really interested in. Because it focuses so much on the OO side of things, XPO has the advantage of targeting any number of different database backends from the same source code.

At the same time, there are several places where LINQ (to Objects, the base technology) can interface with XPO, so it's possible to query XPO through LINQ.

Hope this helps you out a bit!

Oliver

May 7, 2009 1:25 PM
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.