Update README

This commit is contained in:
antao 2019-05-14 11:14:51 +08:00
parent a59c7ca793
commit 1b5abb0b03
2 changed files with 4 additions and 4 deletions

View File

@ -17,10 +17,10 @@ Drogon's main application platform is Linux. It also supports Mac OS and FreeBSD
* Support Http1.0/1.1 (server side and client side);
* Based on template, a simple reflection mechanism is implemented to completely decouple the main program framework, controllers and views.
* Support cookies and built-in sessions;
* Support back-end rendering, the controller generates the data to the view to generate the Html page, the view is described by a "JSP-like" CSP file, the C++ code is embedded into the Html page by the CSP tag, and the drogon command-line tool automatically generates the C++ code file for compilation;
* Support back-end rendering, the controller generates the data to the view to generate the Html page. Views are described by CSP template files, C++ codes are embedded into Html pages through CSP tags. And the drogon command-line tool automatically generates the C++ code files for compilation;
* Support view page dynamic loading (dynamic compilation and loading at runtime);
* Provide a convenient and flexible routing solution from the path to the controller handler;
* Support filter chains to facilitate the execution of unified logic (such as login verification, Http Method constraint verification, etc.) before controllers;
* Support filter chains to facilitate the execution of unified logic (such as login verification, Http Method constraint verification, etc.) before handling HTTP requests;
* Support https (based on OpenSSL);
* Support WebSocket (server side and client side);
* Support JSON format request and response, very friendly to the Restful API application development;

View File

@ -17,7 +17,7 @@ Drogon的主要应用平台是Linux也支持Mac OS、FreeBSD目前还不
* 支持Http1.0/1.1(server端和client端)
* 基于template实现了简单的反射机制使主程序框架、控制器(controller)和视图(view)完全解耦;
* 支持cookies和内建的session
* 支持后端渲染把控制器生成的数据交给视图生成Html页面视图由类似JSP的CSP文件描述通过CSP标签把C++代码嵌入到Html页面由drogon的命令行工具在编译阶段自动生成C++代码并编译;
* 支持后端渲染把控制器生成的数据交给视图生成Html页面视图由CSP模板文件描述通过CSP标签把C++代码嵌入到Html页面由drogon的命令行工具在编译阶段自动生成C++代码并编译;
* 支持运行期的视图页面动态加载(动态编译和加载so文件)
* 非常方便灵活的路径(path)到控制器处理函数(handler)的映射方案;
* 支持过滤器(filter)链,方便在控制器之前执行统一的逻辑(如登录验证、Http Method约束验证等)
@ -35,4 +35,4 @@ Drogon的主要应用平台是Linux也支持Mac OS、FreeBSD目前还不
* 支持插件,可通过配置文件在加载期动态拆装;
* 支持内建插入点的AOP
### 更多详情请浏览 [wiki](https://gitee.com/an-tao/drogon/wikis/概述)
### 更多详情请浏览 [wiki](https://github.com/an-tao/drogon/wiki/Chinese-home)