jysperm / lightphp Goto Github PK
View Code? Open in Web Editor NEWA Light PHP Library
A Light PHP Library
指导精神上没有什么变化:
定位上,LightPHP v4 之前还含有一部分前端代码,在之后的版本中,LightPHP 将作为一个纯粹的 PHP 库。
版本上打算按照最低 PHP5.4 进行支持。
配置文件,注册 autoload, 接管错误处理(可选功能).
构造器,用来实现类似工厂模式,以较短的语法来获取类实例,缓存创建的对象。
通过构造器还可以实现类名无关地创建实例,可以作为简单的插件机制。
构造器是 LightPHP 的基础构件,因为构造器的存在,所以 LightPHP 中大部分类都不通过静态类来实现。
配置文件管理类,可以按顺序加载多个配置文件,用后面的来覆盖前面的。
接管错误处理,封装 xdebug 的一些调试函数。
Session和Cookie操作封装
管理应用程序的资源,管理路由
控制器,整合 LightPHP 的各种功能,子类:
以统一的接口实现那些数据库无关的数据库操作。
各种语法的模版引擎
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.