Skip to content

Commit

Permalink
Signed-off-by: hezachary <hezachary@hotmail.com>
Browse files Browse the repository at this point in the history
  • Loading branch information
hezachary committed May 24, 2012
1 parent f45326b commit 2237ba4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -13,7 +13,7 @@ Example:


Your project theme : `\wp-content\themes\twentyeleven` Your project theme : `\wp-content\themes\twentyeleven`


The MVC framework : \wp-content\themes\twentyeleven\framework` The MVC framework : `\wp-content\themes\twentyeleven\framework`


After you install the mvc, the `mvc.ini.php` is at `\wp-content\themes\twentyeleven\framework\mvc.ini.php` After you install the mvc, the `mvc.ini.php` is at `\wp-content\themes\twentyeleven\framework\mvc.ini.php`


Expand Down Expand Up @@ -50,11 +50,13 @@ b. In your theme files, example: page.php
4. How to developing: 4. How to developing:
------------ ------------
a. Load local class first: a. Load local class first:

1. framework\core\ is for core code 1. framework\core\ is for core code
2. framework\local\ is for project code 2. framework\local\ is for project code
3. If local and core has same file and class, local will be load. This rule almost apply to all the classes and files. 3. If local and core has same file and class, local will be load. This rule almost apply to all the classes and files.


b. Locate class by CamelCase: b. Locate class by CamelCase:

1. Last CamelCase name become the base load folder 1. Last CamelCase name become the base load folder
2. Classname1Classname2Classname3, will be load in : 2. Classname1Classname2Classname3, will be load in :
i. classname3\Classname1Classname2Classname3 - right i. classname3\Classname1Classname2Classname3 - right
Expand Down

0 comments on commit 2237ba4

Please sign in to comment.