##Toknot 3.0-devel master is devel
####About ToKnot is php MVC framework
####License The PHP framework is under New BSD License (http://toknot.com/LICENSE.txt)
The demos is under GNU GPL version 3 or later http://opensource.org/licenses/gpl-3.0.html
####中文教程
####API and Class Reference see (http://toknot.com/toknot/)
####Directory Structure Toknot/ framework sources code Config/ default ini file and load config of class Control/ Router Db/ Database opreate Di/ framework of object Exception/ Framework Exception class Http/ Http opreate Process/ Process manage Tool/ View/ view layer User/ User Control model that is like unix file access permissions Admin/ Admin model demos/
####Usage and Configure
-
Simply download the framework, extract it to the folder you would like to keep it in, then create application
-
In command line, use
php -f /yourpath/Toknot/Toknot.php CreateApp
create your application default directory structure flow to the guide -
edit /your-app-path/Config/config.ini
-
if be created general application, your should change /your-app-path/{APP-NAME}Base.php for your application
-
into /your-app-path/Controller change Index.php or create other controller file of php
-
use HTML template, create template file under
/your-app-path/View
-
change
/your-app-path/Config/config.ini
-
if your PHP verision higher than 5.4.0, In command line execute below code: $ cd /your-app-path/WebRoot $ php -S localhost:8000 index.php -t static/
####Previous Versions The ToKnot Freamwork v1 visit https://github.com/chopins/toknot/tree/V1