Yii Framework Forum: [Extension] Yii-Mongodb-Driver - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Extension] Yii-Mongodb-Driver MongoDB Extension for Yii Framework 1.x Rate Topic: ***** 1 Votes

#1 User is offline   fromYukki 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 10-December 13
  • Location:Ho Chi Minh, Vietnam

Posted 10 December 2013 - 12:54 AM

Hello, Guys!

Let me introduce new extension for Yii 1.x - It is MongoDb driver with a lot of useful things!

Versions
Current stable release version is 1.0.1. You can download it from here.

Installation
You need to clone or download this repo, then unpack it into your extensions folder (protected/extensions/mongoDb) and add some lines in your protected/config/main.php config file:
        // Description of components
        'components' => array(
            // Database
            'mongoDb' => array(
                'class' => 'ext.mongoDb.YMongoClient',
                'server' => 'mongodb://localhost:27017',
                'dbName' => 'database_name',
            ),
        ),


Basic features
  • Working with Mongo document like with ActiveRecord model;
  • Nested documents (sub documents) support;
  • Relations support;
  • Validation of root and nested documents;
  • Scopes support;
  • DataProvider support;
  • Command builder with a lot of funtions like CDbCommand support;
  • HTTP Session storage extended from CHttpSession;
  • Cache driver extended from CCache;
  • Soft delete behaviour support and 5+ other useful behaviours support.


Full documentation and a lot of examples you can find at the Wiki pages of repo (README.txt).
If you find any bugs, please create an issue at Issue tracker for project GitHub repository (README.txt).

Attached File(s)


0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users