Giter VIP home page Giter VIP logo

engine's Introduction

UnPHP

UnPHP is a framework of PHP.

框架缘由:

2012年我和我伙伴们一起用PHP(yaf前台、Yii后台)+ mysql、mongodb、redis 开发了一个多站点多语言的电商平台,在这个过程当中,我负责过一段时间的开发组长,本人主要完成了对项目的底层基础类、前后台之间的接口、程序与数据库之间的接口、mysql与mongodb之间数据同步...等核心部分的编程设计。 其中在对前台进行总体架构时,对yaf这个框架了解比较透彻,比较认同它的设计思想。

但因为 yaf 它是一个基于C编写的PHP内置扩展框架,在实际应用当中受到很多局限性(比如某些中小型网站没有自己的服务器,很难能自己独立扩展PHP)。

因此,本人基于它的思想,开始编写了这个PHP版的框架,并根据项目中实际需要,拓展了一些类库,并取名它为UnPHP。

============================== UnPHP框架 目录结构说明:

|-- UnPHP
	|-- Core         目录 (框架核心类)
	|-- Lib          目录 (框架基础类)
	|-- Ext          目录 (框架扩展模块)
	|-- UnPHP.PHP    文件 (框架入口文件)

==============================

==============================

测试项目 目录结构说明:

|-- test			    项目主目录
	|-- conf                    目录 (配置)
	|    |-- commin.ini         项目配置文件
	|
	|-- library                 目录 (项目公共类库)
	|
	|-- www                     目录 (应用)
	|    |-- controllers        目录 (应用的主“控制器”目录)
	|    |
	|    |-- library            目录 (应用类库)
	|    |
	|    |-- Bootstrap.php      文件 (应用初始引导文件)
	|
	|-- index.php               文件 (项目入口文件)
	|
	|-- rewrite.conf            文件 (项目nginx重写规则,单一入口。)

engine's People

Contributors

dwdcth avatar langhuihui avatar mask-pp avatar

Watchers

 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.