Coder Social home page Coder Social logo

jvphp's Introduction

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


jvphp's People

Contributors

zhengyouxiang avatar

Watchers

wyrover avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.