Geeks With Blogs
A Curious Mind #tastic August 2008 Entries
Make stuff
A friend of mine started a blog called make stuff with your kid

If you have kids and want to get them back into the physical world this blog should provide some interesting activities. Heck, he's talking about making all kinds of stuff and then showing us noobs how to do it as well!

Cool stuff,


Posted On Tuesday, August 19, 2008 9:42 AM

Sample FluentNHibernate Class Map
Please note that this is pre-AutoMap which I haven't dived into yet, but I thought it would be nice to share none-the-less. public class LeadMap : ClassMap { public LeadMap() { Id(o => o.Id); Map(o => o.CreatedOn); Component(o => o.Company, x => { x.Map(m => m.Name); x.Map(m => m.Address); x.Map(m => m.Website); x.Map(m => m.Telephone); }); Component(o => o.Contact, x => { x.Map(m => m.Name); x.Map(m => m.Telephone); x.Map(m => m.Email); x.Map(m => m.Title); ......

Posted On Monday, August 18, 2008 6:46 PM

The Simple Features
Just a quick post about FluentNHibernate. Its such a simple project that is really going to take NHibernate to a new level. The basics are there, and although the AutoMap stuff has just been committed I have already found a feature that has made it a must have: fluent configuration. var properties = PostgreSQLConfiguration .PostgreSQL82 .ConnectionString.Is("User ID=postgres;Password=xxx;Ho... .ToProperties(); var cfg = new Configuration() .AddProperties(properties); ......

Posted On Sunday, August 17, 2008 10:27 PM

A multi-lingual domain
I am working on domain where I need to support the ability to translate content. Such as a product description. I am imagining that the domain model might look something like: product.Description = "Widget"; product.Translation[Languag... = "Tegdiw"; or product.Description = "widget"; product.Description[Languag... = "tegdiw"; or IProduct product = repository.Get(1, English); product.Description = "wow"; IProduct productZh = repository.Get(1, Chinese); productZh.Description ......

Posted On Thursday, August 14, 2008 6:37 PM

Copyright © Dru Sellers | Powered by: