raeldc / nooku-mongodb

An alternative database package for Nooku so you can use MongoDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MongoDB Support for Nooku Framework

Warning: This code is a prototype, incubation stage. Use it at your own risk!

Instructions

  • Clone into your /administrator/components and name it com_mongo.
  • Edit /administrator/components/com_mongo/databases/adapters/document.php, in the _initialize(), enter your MongoDB credentials.
  • In your model, extend ComMongoModelDocument.
  • It is recommended that you don't use this as a separate library because the tables/rowsets/rows will not fall back here. Just use it within your component, and rename the classes with ComComponent...

That's it you're ready to go MongoDB!

Notes:

  • There is still no validation and filtering. Everything you put in the Row object, will be saved in your collection!
  • Only basic CRUD and querying is supported for now.

About

An alternative database package for Nooku so you can use MongoDB


Languages

Language:PHP 100.0%