Browse files

write some doc

  • Loading branch information...
mstdokumaci committed May 23, 2012
1 parent 9081df4 commit 9c023a89c8b7b4e52c00e3b3ff3310b1b7142f37
Showing with 14 additions and 0 deletions.
  1. +14 −0 doc/
@@ -0,0 +1,14 @@
+# arrayDB
+I've seen many PHP ORM libraries. Most of them makes you write a new class for each item you want to keep in DB. This seems repetition of same things to me. Extending this, extending that for no different logic.
+Items have fields of data in similar kind and have similar relations among. So a well-written class can be used for all. If you need somthing makes things easier, this is my approach.
+arrayDB ORM library has only 5 classes. You mostly use a singleton of one, others used internally, that's all. Caching and keeping cache synchronised with DB is all automated. You don't need to keep track of these.
+To start using this library, you have to do 3 simple definitions.
+- Define your data model (what items you need to keep, what are their fields and relations with each other).
+- Define your MySQL access.
+- Define your cache config.

0 comments on commit 9c023a8

Please sign in to comment.