Updated README. Going to beta (v0.1)
[activemongo.git] / README
blob52830b77da914f1cf84f00b6d0c5e2c711ec1646
1 Really simple ActiveRecord for MongoDB
2 ----------------------------------------
4 This class is under development, don't use it yet.
6 What it does now:
8 - Handle MongoDB connection, conecting once when it is needed
9 - Define a Collection as a class
10 - Abstracts iteration over a dataset
11 - Efficient save() which creates or updates efficiently (using $unset, $set) a record
12 - Provides simple queries interface, but allows to get MongoCollection for complex queries in sub-classes
13 - Delete current object, Drop() table
14 - Support filtering per property
15 - Support for efficient updates on nested documents
16 - Support Hooks:
17     - pre_save($operation, Array &$document): Right before to perform and insert or update
18     - on_save(): When a document is saved
19     - on_iterate(): On iteration, when the cursor moves to the next document
21 TODO:
22     - Add efficient support for references to another Record, and an efficient way to load it (with one query if possible)