redpilllinpro/nosql-bundle

This package is abandoned and no longer maintained. The author suggests using the bisonlab/noorm-bundle package instead.

Bundle for simple access to (mainly) nosql databases for Symfony

2.0.1 2020-01-13 13:38 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:23:37 UTC


README

This is now a Symfony Bundle for all kinds of DB access in a simple one-table way.

This was A Nosql Bundle for Symfony 2. 

Author: Thomas Lundquist <github@bisonlab.no>

Project started june 2011. 

This started as yet another way to access MongoDB in Symfony 2 and was
created because of the disliking of the concept of the Doctrine ODM.

The concept is the adapter/mapper/manager with the model being an object with ArrayAccess. The object can use thecollected data dynamically, creating it's own run-time-schema on the fly (Dynamic) or you can write a predefined schema (Static) in a few ways.

Right now there are adapters for:

 * Newest php MongoDb driver. (read and write).
 * MongoDB (read and write)
 * DBLib - Readonly.
 * Mysql - Readonly (Since that was what I needed at the time..)
 * SugarCRM REST v10 - Readonly

As you probably notice, it's both SQL, NoSQL and REST access.

The read/write adapter can use the "VersionedManager" for automagical logging
of the old dataset. (Only tested on the MongoDB services.)

Documentation can be found in  Resources/doc/index.rst

-- more will arrive in this README later

Just for todo:

 - Write access for mysql,
 - Kyoto Cabinet
 - Couchbase.org

And as a REST interface readonly-example:

 OpenBeerDatabase.com