bisonlab / noorm-bundle
用于简单访问(主要是)NoSQL数据库的Symfony扩展包
3.2.0
2023-07-05 18:46 UTC
Requires
- symfony/framework-bundle: ^5.4 || ^6.0
Suggests
- bisonlab/sugarcrm-bundle: dev-master
- mongodb/mongodb: The new MongoDB php library
Replaces
This package is auto-updated.
Last update: 2024-09-08 15:18:49 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 * PlainPDO - Readwrite * Postgres jsonb adapter as an alternative to MongoDB 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 and Postgres json 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