: This article mainly introduces the release of CrossPHP153 and the lightweight PHP development framework. For more information about PHP tutorials, see. 1.5.3 update description
1. new features
Add Rest: any () to match all request types.
$ App = Cross \ Core \ Delegate: loadApp ('web'); $ rest = $ app-> rest (); $ rest-> any ('/', function () {echo 'hi';}); $ rest-> run ();
II. Optimization
RemoveDelegate: mRun (), With more powerful functionsDelegate: rest ()Replace
ClosureContainer: isRegister ()RenamedClosureContainer: has ()
It is case-sensitive when the Rest matches the url, improving the performance without parameter matching.
ImageThumbGenerate a thumbnailAdd quality parameters
Reduce the number of static member variables in FrameBase and use an anonymous function container to pass parameters.
Optimize the decryption failure BUG caused by the parameter with question mark
III. skeleton
Admin is changed to adminLTE by default.
The above introduces the release of CrossPHP 153 and the lightweight PHP development framework, including the generation of thumbnails, and hope to help those who are interested in PHP tutorials.