Skip to content

wyrover/JVPHP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JVPHP ( Return JSON And View) 是一个基于BSD开源协议发布的,快速、简单的面向对象的 轻量级PHP开发框架。
本身仅仅提供php引擎View,可以对其进行扩展。如果不用View,请使用JJPHP 。主要特性:
1.基于MVC架构
2.数据访问基于NotORM(www.notorm.com)
3.集成了OAuth2
4.无需配置除了数据库
5.系统采用单例模式
6.提供了File、DB等种缓存机制
7.提供常用的类库如Curl、File、Http的等等

JVPHP开发框架永久开源和免费提供使用,域名 (www.111work.com/jjphp)

JVPHP框架目录
|
| -config 配置
| |-JJDbConfig.php 数据库配置
| |-JJCacheConfig.php 默认缓存配置
| |-JJOAuthConfig.php OAuth配置
|
| -core 框架核心
| ├cache 缓存
| ├comm 核心类
| ├dao 数据访问
| ├oauth oauth
| ├util 核心辅助类
| ├lib 采用类库
| ├JJPHP.php 最核心类
|
| -otherweb 另一个网站 里面有config,web等
|
| -web 项目目录
| ├contrlib 自定义controller
| ├controller 控制器类
| ├model 模型类数据访问层
| ├service 服务类
| ├util 项目辅助类
|
| -index.php 入口文件

部署说明:
1.数据库配置 配置文件在config/JJDbConfig.php下 填写相应的配置就可以了
2.缓存配置 如果要用缓存 请参考config/JJCacheConfig.php
3.oauth配置 请参考config/JJOAuthConfig.php
4.访问格式为 http://baseurl/index.php/controler-action.html
或者 http://baseurl/index.php/controler-action
5.如果要用实例 请执行JVPHPTest.sql
6.如果要用实例可以把文件下载下来命名为JJPHPDemo


Releases

No releases published

Packages

No packages published