From 1038b52baf3e67c024527eb27f7493d9cbcae438 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sun, 25 Oct 2009 15:56:08 +0200 Subject: Added README --- README | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..4054ef7 --- /dev/null +++ b/README @@ -0,0 +1,37 @@ +MAIN - the simple PHP framework + +## Folder structure ## + +site: + public (this is the DocRoot for your site) + index.php + system (put all system support files in here) + lib + main + classes (store all your model files in here) + views (create a folder for each controller and an action.html file for every view) + data (a good place to store all your application data, logs, etc) + +## index.php ## + +A typical index.php using MAIN would look like this: + -- cgit v1.2.3