mongokit-pylons

MongoDB interface for ORM-like object mapping
Download

mongokit-pylons Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Brendan W. McAdams
  • Publisher web site:
  • http://bitbucket.org/bwmcadams/

mongokit-pylons Tags


mongokit-pylons Description

MongoDB interface for ORM-like object mapping mongokit-pylons is a MongoDB interface for ORM-like object mapping, with Pylons support.What is MongoDB/MongoKit?MongoDB is a free & open source, schemaless document oriented database (available at http://mongodb.org). The MongoKitframework is an ORM-like layer which provides an enhanced approach to managing your MongoDB data by providing an object layer. This layer allows you to define rough schema outlines including default values and allowed & required fields. While schemaless databases have power in their lack of schema, it helps to control what fields are and aren't permitted (even if you only use 3 of 10 most times) to ensure consistency.The original MongoKit is written by Namlook, and is available at http://bitbucket.org/namlook/mongokit/MongoKit-Pylons is a (hopefully temporary) fork which provides a toolset for easily integrating MongoKit within the Pylons webframework. It provides the ability to parse mongo configuration from Pylons ini config files, and setup easily in config/environment.py as an always-available, threadlocal connection pool (similar to how SQLAlchemy is typically setup in Pylons).From my own usage of MongoKit following integrating Pylons support into my production systems, I have added several enhancements to the MongoKit-Pylons fork which I've found useful. These features include property-like setter/getter proxying for values (instead of pure dictionary access) and support for the MongoDB driver's autoreferencing features. Autoreferencing allows you to embed MongoKit objects/instances inside another MongoKit object. With autoreferencing enabled, MongoKit and the pymongo driver will translate the embedded MongoKit object values into internal MongoDB DBRefs. The (de)serialization is handled automatically by the pymongo driver.It is my hope/intention to merge this fork back into the main project. Requirements: · Python


mongokit-pylons Related Software