Thursday, May 15, 2008

OR/M +=2: More than just Data to Objects

with Oren Eini

Oren is so far above the normal programmer it’s like he’s talking about a programming language I’ve never even heard of. So, there’s not much detail here.

Definitions

·Combinatorial Explosion

Data Access

·Is just too difficult

·However, Persistence is a solved problem

·Once we have the solution in place however we still have problems in scalability

Adaptive Domain Models

·A domain model that can change after it's been compiled

·Use in

    • Composite applications
    • Counded contexts
    • Pluggable components

Multi Tenancy

·Multiple tenets using the database so you need to virtually partition the data

·Or same code with different domain objects

·Each customer gets a model that matches their needs and a database that inherit that same structure

·Each customer can get the behaviors that matches their needs

·Have a standard model and just customize the different little bits

    • Don't use IF statements!

Full Text Searching over the entire database

·Apparently it's possible with NHibernateContrib, just don't ask me how

The Future

·Self optimizing queries

o A Future

o Defers execution until a value is needed, then fetches all the deferred values

o Check out the code for the Future Object in the DevTeach materials

Power Tools

·These tools and techniques give you flexibility and power, use them

Notes

·What is a Strategy?

·ThreadStatic Attribute

No comments: