I only use the PHP framework developed on 13 generations. If you do not understand the framework and do not know what the framework has done for you, you can refer to this framework for a look,
In addition, if you want to develop your own framework, you can develop it based on the idea of this framework.
Sources under the source region address: http://download.csdn.net/detail/sibang/6197315
Generation:
<? ('Content-type: text/html; charset = UTF-8 '= (['W'])? (['W']): ''= () = '')? 'Index ':(! ('Error: '..', maximum number of bytes! ''Hello World! ''This framework was developed by Seven community from QQ group: 223494678 '}
. Htaccess content
The lower limit is the lower limit:
Header ('content-type: text/html; charset = UTF-8 '); // $ w = isSet ($ _ REQUEST ['W'])? AddsLashes ($ _ REQUEST ['W']): ''; // retrieve the value of w from the rewrite rules file. htaccess $ w = (Trim ($ w) = '')? 'Index': $ w; // IF the value of w is null, the system calls the default index method IF (! Is_callable ($ w) {// if the function created by $ w does not exist Exit ('error: '. _ LINE _.', the number of calls exceeds! '); // Outputs response} $ w (); // calls $ w to indicate the response function, for example, http: // URL/hello will invoke the "hello ()" function // custom method (available for future release) Function hello () {Echo 'Hello World! ';} Function index () {Echo' this framework is developed by Seven internal grouping from the QQ group: 223494678 ';}