加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT
-------------------------- English --------------------------------

XiunoPHP 4 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 4.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. 尽量采用函数封装功能,通过前缀区分模块。
MIT License Copyright (c) 2020 Xiulab Team Copyright (c) 2015 axiuno@gmail.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

xiunophp from xiunobbs (sources) 展开 收起
PHP
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化