Tagged with MongoDB

Writing my own NoSql DB?

Yesterday I got a thought: why not write something very simple that can store object-graphs without mappings and other fuss. Yes I know there’s MongoDb, RavenDb and several others, but it’s always a great deal of fun to write something of your own. So, inspired by Ayende’s technology choices, I spent a few hours last … Continue reading »

Simple-MongoDB – Part 1, Getting started

So, I thought it was time for me to write a “Getting started with MongoDB” article but instead of using Sam Corder’s driver, I will use my own: “Simple-MongoDB”. It will be a series of posts covering this topic. This post is the first and will cover how-to get connected and how-to add some entities. … Continue reading »

Simple-MongoDB – Simplified Querying

I just checked in some code to simplify querying. I will just let the code speak for itself. So far it only supports: $in $where $lt $lte $gt $gte More info about the operators I will continue the work with the inner design of this Querying-code, but the API will be the same. I will … Continue reading »

Simple-MongoDB – Querying

Updated: Read more about Simplified Querying So I keep getting questions about how to write queries in Simple-MongoDB. I will try to get time documenting this, but until then, and since I relly on JSON, you could attack the problem like this: Go to http://www.mongodb.org/display/DOCS/Querying Get inspired by the JSON written there and either write … Continue reading »

Simple-MongoDB – Implicit support for Cursors

Minor update just checked in. The Source-code as well as binaries can be downloaded here. I have reworked the underlying command-objects that are used to communicate with the MongoDb-server (Note! These are consumed by the EntityStore and Session API, hence you as an end user doesn’t have to use these commands). I have now implemented … Continue reading »

Simple-MongoDB – Current status

So, I’ve been attending the Scandinavian Developer Conference, held by Iptor, this week, and therefore haven’t got the time to work on my driver. The conference was great and I’m looking forward to it next year. The work with the driver is currently to support regular expressions. I recently updated the code to make use … Continue reading »

Simple-MongoDB – Simplified storage of entities

New features Just checkedin some new features to my C# 4.0 based MongoDB driver: New simplified API, using generics and adds pluralization for collection Added SimoIoC which will resolve resources like pluralizer, commands etc. this lets you replace certain parts of the implementation with own implementations. Support for document references via the new type SimoReference … Continue reading »