I Am Not Myself

Bills.Pay(Developer.Skills).ShouldBeTrue()

First Draft Outline for Portland Code Camp Presentation on nHibernate

For whatever sadistic reason, I signed up to give not one, but two, presentations at the upcoming Portland Code Camp. I have also made a commitment to Chris Bilson to come up to Tacoma to present on nHibernate in support of the Lunch Time Speakers Group. So in an effort to kill two birds with one stone, I sat down today and whipped up a outline of what I intend to present. Your thoughts, comments, suggestions & ridicule are welcome.

Introduction to ORM with nHibernate

What is ORM?

  • Object/Relational Impedance Mismatch
  • Pros
  • Cons

The Basics

  • What Do I Need To Get Started?
  • Mapping Part I: Class Map XML
  • Configuration Part I: How Do I Connect to My Database?
  • nHibernate Config file
  • web.config or app.config
  • ISession
  • ISessionFactory
  • Configuration
  • ITransaction
  • Unit of Work Pattern

A Better Way

  • Mapping Part II: ClassMap<T> For the Win!
  • Mapping Part III: AutoMapping Using Conventions
  • Overriding for Special Cases
  • Configuration Part II: The Fluent Configuration API

Querying

  • Hibernate Query Language (HQL): Just Say No
  • Criteria API
  • The New Hotness: Linq to nHibernate

Tricks of the Trade

  • Generating Schema  From The Object Model
  • Updating Schema When The Objects Change
  • Integration Tests That Validate Your Mappings
  • Using SQLLite To Make BDD Style Tests Lightening Fast

Resources

  • nhforge.org
  • fluentnhibernate.org
  • summerofnhibernate.com
  • nhibernate in action from Manning

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: