HerosPHP high-performance lightweight framework 1.2 released

HerosPHP is a lightweight PHP learning framework, which is very suitable for intermediate and advanced programmers who want to understand the framework in depth and want to develop the framework. Because it is lightweight, the speed is quite fast, and the performance is still very good. The framework also provides some commonly used tools, such as file upload, image processing, generating charts, reports, etc., and has a fairly powerful built-in caching system, including database dynamic caching, html caching, and memcached caching. Everything that should be deleted has been deleted, but it maintains good scalability, which brings great convenience to users who want to carry out secondary development...
1. Functions of the framework
(1) Directory organization structure 
(2) Basic core class
(a) Template parsing
(b) generate static
(c) URL resolution. . . .
(3) MVC pattern structure
(4) Tool extension class
(5) Automatic loading of classes
(6) Automatic verification of data
(7) Input and output processing
(8) Capture and processing of error exceptions
(9) URL parsing processing (processing in the form of pathinfo)
(10) Some necessary toolkits for front-end development (javascript framework, css framework) (these may not be available)

2. Framework cache system
1. Dynamic cache, that is, the dynamic cache of the database (local cache, such as: caching the query results of a certain SQL), considering the horizontal division of data.
(Solved)
2. Static caching, that is, generating static files.
3. Memcache cache.
4. APC cache, that is, compile cache
5. http cache, that is, browser cache.


3. Data verification is divided into three steps:
1. Data type
2. The size of the data (specification: length)

3. Data purification (remove javascript code, HTML code, SQL statement...)

4. Tools

Image processing: upload images, generate thumbnails, generate watermarks (image watermarks and text watermarks)

生产图表,报表,折线图,饼状图,3D柱形图,条形图等

version1.2版本更新

1.        更新JDialog.js 的confirm 控件:

         a)支持更换皮肤。                                          

         b) 支持自定义按钮和回调函数。            

2 .更新了模板解析类,core/Template.class,新增了组建解析功能。

3. 更新访问模式, 新增了action层。现在访问模式为 index.php/模块/动作/参数/页面
http://herosPHP.my/index.php/ucenter /info /uid-123/name-zhangsan/index.html
|-------模块------------|------动作---------|-----参数------------|-----页面----|
如果找到相应的页面,在执行action以外,系统还会默调用init()方法, 用户可以在此初始化该页面需要的一些信息,如操作数据库,初始化配置等。

4. 更改了分页类

  a) 更新分页类page.class.php, 支持多皮肤选择。

b) 增加常规访问模式page_common.class.php

6.   更改静态文件的布局模式,静态文件如css,js,images等按模块布局,而以前的按文件分类布局不是很好扩展。比如css文件夹下再分模块,导致images和css的相对路径变得很复杂,现在将每个模块的静态文件单独分离开来也利于模块的安装和卸载。

。。。。。。。

更多更新请查看API中的HerosPHP的更新记录。

下载地址:http://download.csdn.net/detail/yangjian8801/5618767

The latest version of the source code hosting address: http://git.oschina.net/blackfox/herosphp

Guess you like

Origin blog.csdn.net/yangjian8801/article/details/9137689