Hibernate at work

The project I’m working on at work is gaining momentum, and we are nearly starting with the proof-of-concept architecture solution.

While I’ve used ORM‘s for data objects and domain persistence in the past, we have been playing with NHibernate at work for this project. NHibernate is a port of Hibernate Core for Java to the .NET Framework. It handles persisting plain .NET objects to and from an underlying relational database.

For the generation of business entity classes and the HBM mapping files for NHibernate-driven objects, we tried out a couple of tools. One such tool called the NHibernate Plugin caught my eye, because it includes a GUI modelling workspace to drag-and-drop database objects, and create relationships between them, and finally the plugin auto-generates the business entity classes and HBM XML files for you. Unfortunately the plugin is only available for Visual Studio 2005, and since our project utilizes .NET Framework 3.5 (with VS.NET 2008), we might not be able to make use of it anytime soon. Never the less, its a great tool worth mentioning, and if someone comes up with a workaround to make it work in VS.NET 2008 then please leave me a message. (Update: NConstruct Lite is a great wizard-like generator for NHibernate, and its free too!)

By the way, the other day at work, I received an email from Vishal Sharma, and as it turns out, we both work at the same company. Small world eh! Vishal covered the top Aussie webapps/startups, that also featured Feedity, sometime back. Vishal and I briefly talked about planning out a web venture of some sort in the coming months.

Microsoft ships Visual Studio 2008

Microsoft has released to manufacturing (RTM) its Visual Studio 2008 software development platform and the accompanying .Net Framework 3.5, meaning these technologies are available for download on MSDN to subscribers today. Among other things, Visual Studio 2008 is Microsoft’s development platform geared to building Windows Vista applications. More information…

Also noteworthy is the highlight that Vista sales have hit 88 Million, up 47% since July 2007.

.NET Framework Source Code

The Microsoft .NET team will be releasing the source code for the .NET Framework libraries starting with v3.5 and VS 2008. Being able to step through and review the source should provide much better insight into how the .NET Framework libraries are implemented, and in turn enable developers to build better applications and make even better use of them.