File tree 1 file changed +10
-8
lines changed
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
- ## 四脚猫轻量级框架sijiaomao-mvc
2
-
1
+ 四脚猫轻量级框架sijiaomao-mvc
2
+ =======================================
3
3
- 基于composer的包管理器
4
- - 默认路由规则简单,controller/model/arg1/arg2...
5
- - 轻量级的ORM
6
- - 模版引擎强大而轻量
4
+ - 路由规则灵活,可随意自定义路由规则
5
+ - 包含默认路由:controller/model/arg1/arg2...
6
+ - 轻量级的ORM ,轻松实现CRUD
7
+ - 轻量而强大的模版引擎,安全过滤各种有...
7
8
- 配置文件就是PHP数组,基本无配置
8
9
- 数据库迁移采用migration,so easy!
9
10
10
11
11
- ## 基本使用
12
- - 安装
12
+ 基本使用
13
+ ---------------------------------
13
14
1 . git clone https://github.com/phpinside/mymvc.git mymvc
14
15
2 . 编辑 Apache下的httpd-vhost.conf文件,添加如下内容:
15
16
** 注意以下的目录改成自己对应的本地目录!**
38
39
6 . 访问:http://my.mvc.com/todo/index 可以执行CRUD的各种操作。
39
40
40
41
41
- - 补充
42
+ 补充
43
+ ---------------------------------
42
44
1 . 系统自带默认路由,一般情况不需要去配置路由,自定义路由请查看config目录下的routes.php的示例。
43
45
配置参考 < http://altorouter.com/usage/mapping-routes.html >
44
46
2 . 模版引擎参考 < https://latte.nette.org/ >
You can’t perform that action at this time.
0 commit comments