添加 Home

master
yutent 2023-08-30 14:48:57 +08:00
commit 5cdc2ad8f6
1 changed files with 50 additions and 0 deletions

50
Home.md Normal file

@ -0,0 +1,50 @@
```
____ _ __ _
/ ___(_)_ _____ _ __ ___ ___ / _(_)_ _____
| | _| \ \ / / _ \ | '_ ` _ \ / _ \ | |_| \ \ / / _ \
| |_| | |\ V / __/ | | | | | | __/ | _| |\ V / __/
\____|_| \_/ \___| |_| |_| |_|\___| |_| |_| \_/ \___|
```
一个轻量级的,易学的,拓展性灵活的 nodejs MVC 框架, 5 分钟即可上手。取自"Give me five"之意, 一切就是这么简单。
核心思想源于"**鸟哥**"的`YAF`框架。
## Five.js框架的特点
1. 原生Node.js开发, 没有臃肿的node_modules目录。
2. 所有的模块、类、以业务类, 都在启动时加载, 并常驻内存, 以获得更快的执行速度。
3. 更友好的异常捕获及输出。
4. 支持**拓展包**和**中间件**2种接口, 更灵活的拓展能力。
5. 内置高性能的模板引擎(默认不开启), 理念源于`php`的`smarty`。
6. 遵循文件即路由的宗旨, 让开发者不再为定路由烦恼, 专注于自身的业务开发。
7. 灵活简洁的配置文件, 可一键开启/关闭多个内置模块的启动, 你的业务你作主, 杜绝大而全的臃肿。
8. 内置几个常用的正则表达式, 如 手机号、身份证、邮箱、纯中文等的检测, 让你无需面对复杂的正则语法。
9. 支持import/export操作, 直接使用最新的ES语法, 不需要另外编译。
10. 全程支持async/await, 让你的书写顺序成为代码的执行顺序。
11. 更快的执行速度, 更少的内存占用。
## 开发文档
+ [⟪快速上手⟫](https://github.com/bytedo/gmf.core/wiki/Quickstart)
- [⟪入口文件配置⟫](https://github.com/bytedo/gmf.core/wiki/Entry)
- [⟪默认配置⟫](https://github.com/bytedo/gmf.core/wiki/Config)
- [⟪路由⟫](https://github.com/bytedo/gmf.core/wiki/Router)
- [⟪跨域配置⟫](https://github.com/bytedo/gmf.core/wiki/Cors)
- [⟪控制器⟫](https://github.com/bytedo/gmf.core/wiki/Controller)
- [⟪Request⟫](https://github.com/bytedo/gmf.core/wiki/Request)
- [⟪Response⟫](https://github.com/bytedo/gmf.core/wiki/Response)
- [⟪会话Session⟫](https://github.com/bytedo/gmf.core/wiki/Session)
- [⟪Json Web Token⟫](https://github.com/bytedo/gmf.core/wiki/Jwt)
+ [⟪进阶⟫](https://github.com/bytedo/gmf.core/wiki/Advanced)