doitphp V3.1 is officially released, a lightweight PHP framework

After more than three years of waiting, doitphp v3.1 finally meets everyone. Compared to doitphp v3.0, the changes are relatively large, and all the code for doitphp tools is rewritten.

Update log:

1. To further slim down, delete some of the extensions that are not commonly used: FTP, HTML, Benchmark, and the extensions with outdated content: excel, this extension is written 10 years ago, and currently generated excel files, except for wps office In addition to opening, the 2017, 2010 and other versions of ms office cannot be opened.

2. The removeXss class method of security in the extended class is moved to the Text extended class. Move security getToken() and validateToken() to encrpty extension class. The encrpty extension class is further optimized. OpenSSL encryption is used uniformly.

3. Due to the separation of front and back ends, the use of analytical templates in template engines is very outdated, such as smarty, which has long been out. Therefore, the files in the core directory have removed the files and codes of template class and analytical template engine. The page caching function of the original view is also outdated. With the current architecture, front-end caching is very popular. The page cache is out.

4. New image cutting function, makeClipImage(), is added to the extended class Image.

5. Rename the getParams() of the controller base class to obtain parameters: request().

6. Optimized the display content of error prompt pages such as showMsg(), 404error, etc.

7. Model file base class file further code optimization...

8. Delete the extended memcache. Reason for deletion: The memcache version is too outdated and is rarely used. At present, more people use memcached than memcache, and most of them use redis in practice.

9. Integrated doitphp tools and phpmailer and phpqrcode extension modules.

Download URL: http://www.doitphp.com/download/index

Source URL: https://github.com/doitphp/doitphp_v3

Guess you like

Origin www.oschina.net/news/120748/doitphp-3-1-released