hfcorriez / pagon Goto Github PK
View Code? Open in Web Editor NEWModern PHP Framework
License: MIT License
Modern PHP Framework
License: MIT License
Some choice:
__init__.php
// 添加事件
$e = new Event($this)->bind('data', $update_data);
Event::fire('BEFORE.UPDATE', $update_data);
// do some thing.
Event::fire('AFTER.UPDATER', $updated_data);
// 绑定事件
Event::on('BEFORE.UPDATE', function(Event $e){
$e->trigger->checked = true;
$e->data['data'] = filter($this->data['data']);
});
与 Slim 相比有什么优势吗?
2015 年的新功能规划
If there is longer namespace like "\Symfony\Component\CssSelector"
I will use it Like this:
App::registerNamespace(CssSelector', '\Symfony\Component\CssSelector');
$cs = new \CssSelector\CssSelector()
phpstudy 如何安装 composer,以引用 pagon
看到除了pagon 又有啦pagon core, pagon framework, logger等
我想安装一个全的,且方便以后升级pagon新版该怎么做
与 Laravel 相比有什么优势吗?
Router.php 中的 handle方法
public function handle(array $routes, \Closure $mapper)
实在是看不懂,不知道能不能解释这部分的逻辑 ,谢谢
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.