This time, a short post on how to model inheritance, which (at least in a class-oriented programming language) is one of the foundations of object-oriented programming. Let’s take an example with a person, who has a home address that can
Fun with NoRM 3
Third post in “Fun With NoRM” will be about how “the dynamism” of JavaScript and JSON is bridged into the rigid and statically typed world of C#. The thing is, in principle there’s no way to be certain that a
Fun with NoRM 2
This second post in “Fun With NoRM” will be about querying… How to get everything Querying collections can be done easily with the anonymous types of C# 3 – e.g. the Order collection from my previous post can be queried
Fun with NoRM 1
My previous posts on MongoDB have been pretty un-.NETty, in that I have focused almost entirely on how to work the DB through its JavaScript API. To remedy that, I shall write a few short posts on how to get
I will be speaking about NoSQL and MongoDB
as seen from the eyes of a .NET developer at two events in June (in Danish). The first event is a JAOO Geek Night at Dong Energy in Skærbæk on Tuesday June 29th at 4:30 pm. You can read more
Even more checking out MongoDB: The coolness continues
One thing I started to think about after having looked at MongoDB was how to model things that are somehow connected – without the use of foreign keys and the ability to join stuff. When working with documents, you generally
More checking out MongoDB: Updating
In MongoDB, there’s no way to lock a database, collection, or document. The ability to work without locking is a requirement for any db that wishes to be horizontally scalable, and obviously this imposes some limitations and/or possibilities (depending on
More checking out MongoDB: Querying
In my first post about MongoDB, I touched querying very lightly. Querying is of course pretty important to most systems, so it’s fair to dedicate a separate post to the subject. Querying in MongoDB works by sending a document to
More checking out MongoDB: References
This post will touch a little bit on the mechanism used for references, and then a few thoughts on how document-orientation relates to OO. Now – if you, like me, are into OO and normalized object models – the weirdness
Checking out MongoDB
Having experienced a lot of pain using RDBMSs ([1. Usually because of abusing RDBMSs, actually. Storing an object model in a RDBMS is not painful as long as the tooling is right – e.g. by leveraging the amazing NHibernate. The