From 343d39037727d7820cfea4bf4be37e6a91547517 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Mon, 9 Jan 2012 10:59:02 -0500 Subject: [PATCH] Updated Readme with some basic information --- README.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dc6005c..09fb54f 100644 --- a/README.md +++ b/README.md @@ -36,4 +36,42 @@ miniMVC is a minimalistic Modular MVC framework, with built-in minifier, and pur * models - model classes * views - module-specific views -* sys - core framework classes \ No newline at end of file +* sys - core framework classes + +### Common Tasks + +* Creating a controller + + db = db::get_instance($db_name);` + + Note that multiple databases can be used in the same class + by specifying a different database name. + +* Loading a model (From a controller) + + `$this->load_model($model)` + +#### Disclaimer + +Please treat this as alpha-level code. Structure might change, classes might appear or disappear overnight. \ No newline at end of file