tscms / mangodb
MongoDB for Kohana
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 35
Type:kohana-module
Requires
- php: >=5.4
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2024-12-07 18:56:40 UTC
README
Mango
Mango is an ORM/ActiveRecord like library that takes full advantage of MongoDB's features. Mango supports:
- Atomic updates - the library will calculate what values changed, and will update only those values using atomic modifiers like $set, $push/$pull and $inc
- All Mongo datatypes including embedded objects, arrays, enums and (multidimensional) counters
- Relationships you remember from the RDBMS world like has_one, belongs_to, has_many and has_and_belongs_to_many
- Validation of object data, including embedded objects
- Class Table Extension-like behavior - eg Model_Ferrari extends Model_Car extends Mango.
- Very easy syntax very familiar to users of other ORMs
MangoDB
A simple wrapper to access MongoDB. Store your database info in a config file and access MongoDB from anywhere in your code using MangoDB::instance().
MangoQueue
Want to implement a queue in MongoDB? Check MangoQueue: http://github.com/Wouterrr/mangoQueue and https://github.com/Wouterrr/MangoTask
MangoUtils
Use MongoDB for Kohana Log? Kohana Sessions? Scaffolding? or ACL assertions?
Check: https://github.com/Wouterrr/MangoUtils
License
"THE BEER-WARE LICENSE" (Revision 42): Wouter Wiegmans wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return - Wouter Wiegmans