Skip to content

Commit 62a99d4

Browse files
committed
Update README with key concepts
1 parent 64ded02 commit 62a99d4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
[![Build Status](https://travis-ci.org/activecollab/databaseobject.svg?branch=master)](https://travis-ci.org/activecollab/databaseobject)
44

5-
5+
DatabaseObject library is a set of classes that make work with database just a bit easier. Here are the key concepts:
6+
7+
1. Types - entities that map to a single table,
8+
2. Objects - type instances that map to a single row of a type table,
9+
3. Collections - a group of objects that meet the given criteria. This group is perfect for HTTP responses because collections support data tagging and tag validation,
10+
4. Pool - manage registered types and make multi-type interaction possible,
11+
6. Producers - customise the way pool produces new instances,
12+
7. Validators - validate object properties before saving them to the database.
613

714
## To Do
815

0 commit comments

Comments
 (0)