Skip to content

i29/toknot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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

  1. Simply download the framework, extract it to the folder you would like to keep it in, then create application

  2. In command line, use php -f /yourpath/Toknot/Toknot.php CreateApp create your application default directory structure flow to the guide

  3. edit /your-app-path/Config/config.ini

  4. if be created general application, your should change /your-app-path/{APP-NAME}Base.php for your application

  5. into /your-app-path/Controller change Index.php or create other controller file of php

  6. use HTML template, create template file under /your-app-path/View

  7. change /your-app-path/Config/config.ini

  8. 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

About

A PHP MVC Framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 71.0%
  • JavaScript 27.5%
  • HTML 1.5%