Git Product home page Git Product logo

presleyhank / xiunophp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guoyu07/xiunophp

1.0 1.0 0.0 4.75 MB

XiunoPHP 3 is not a framework in the sense that it does not require you to organize your code, how to inherit the Control Base, Model Base, so it won't be like any other frame "box" to live in you. It's just adding some of the initial variables, and the global function. If you want to say that it is the framework, it can be said that it is a functional framework.

Home Page: http://bbs.xiuno.com/

License: Other

PHP 24.72% HTML 50.16% CSS 6.97% JavaScript 18.15%

xiunophp's Introduction

-------------------------- English --------------------------------

XiunoPHP 3 is not a framework in the sense that it does not require you to organize your code, how to inherit the Control Base, Model Base, so it won't be like any other frame "box" to live in you. It's just adding some of the initial variables, and the global function. If you want to say that it is the framework, it can be said that it is a functional framework.

In the development of ideas, as possible, do not use of OO, most of the functions of the package, is conducive to the HHVM compiler / opcode cache, perfect support PHP7, and promote the following principles:
1. don't include variables
2. Do not use eval(), do not use the regular expression 'e' modifier
3 don't use autoload
4 don't use $$var multiple variables
5 don't use the PHP advanced feature __set __get __call namespace etc.
6 as far as possible the use of function package, through the prefix distinction module.

-------------------------- 中文 --------------------------------

XiunoPHP 3.0 严格意义上它不是一个框架,它并没有要求你如何组织代码,如何继承 Base Control, Base Model,所以,它不会像其他框架一样“框”住你。
它只是在对 PHP 进行了一些增强,增加了一些初始变量,和全局函数而已。
如果非要说它是框架,那可以说它是一个函数式框架。

在开发理念上,尽可能少的采用 OO,大部分函数式封装,有利于 HHVM 编译 / opcode 缓存,完美支持 PHP7 ,并且倡导以下原则:
	1. 不要 include 变量
	2. 不要采用 eval(), 正则表达式 e 修饰符
	3. 不要采用 autoload
	4. 不要采用 $$var 多重变量
	5. 不要使用 PHP 高级特性 __call __set __get 等魔术方法
	6. 尽量采用函数封装功能,通过前缀区分模块。

xiunophp's People

Contributors

xiuno avatar

Stargazers

 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.