The NoSQL movement had been garnering a lot of attention recently. It’s a trend largely facilitated by the changing demands of the transactional web. Today, the web is bidirectional and much more content oriented than it was in years past. The amount of user generated content has increased exponentially and relational databases are not tailored to handle massive amounts of semi-structured content.
One NoSQL option that we at Avalon are very excited about is Marklogic. Some will argue that it does not fit into their definition of “NoSQL,” but Mark Logic CEO Dave Kellogg did a good job of positioning Marklogic as a relational database alternative (aka NoSQL) in a post last week.
Recently I’ve been spending a lot of time exploring how Marklogic, as a powerful document (yes, key [aka URI] – value) and XML database, can be used to support social media and user generated content use cases. For example, threaded comments are much more naturally represented in a hierarchical, ordered format like XML. Marklogic and xQuery make it easier to store, manipulate, and search these data structures.
To demonstrate, I built a simple element reordering example using Marklogic and jQuery. Even this simple example would be non-trivial in a traditional relational model where lists and order with respect to other elements are unnatural at best.
So this is obviously a super simplified example, but hopefully it gives you a small glimpse into one of the capabilities greatly simplified by Marklogic through XML and xQuery.
I will be at the MarkLogic User conference in San Francisco May 4-6th. I hope to see you there!