redpilllinpro/nosql-bundle

此包已被废弃且不再维护。作者建议使用 bisonlab/noorm-bundle 包。

为Symfony提供简单访问(主要是)nosql数据库的包

安装: 62

依赖者: 0

建议者: 0

安全: 0

星标: 5

关注者: 2

分支: 1

类型:symfony-bundle

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