Giter Club home page Giter Club logo

core's Introduction

Pagon框架核心

  • 简单高效的现代应用框架。使用类似Ruby的Sinatra或Node的Express.js
  • 致力于打造一个拥有最小化核心组件且尽量不依赖粗糙三方库的简单、智能和高效的框架。
  • 高效不只是开发效率,还有执行效率。
  • 不只WEB,CLI下的开发也做了很多优化。
  • 只需要一套框架,便能快速完成一套高效Web应用的开发!
  • Write less, Do more!

使用Pagon

特性

  • 简单,无配置就能使用,小应用可快速成型
  • 智能,经过考虑的模式设计,
  • 扩展,使用中间件方式随意扩展自己想要的
  • 标准,基于PSR规范开发
  • 性能,效率上优于目前所有主流框架
  • 事件,所有类基于事件,随时随地用事件驱动
  • 现代,支持主流的现代应用开发:Web/Cli, Restful, Xml/Yaml/Json/Ini, Jade/Twig?, Dependency Injector

安装

已有项目

composer.phar require pagon/core

使用

$app = new App();

// 使用匿名函数实现控制器
$app->get('/', function($req, $res){
   $res->end('Hello world');
});

License

(The MIT License)

Copyright (c) 2012 hfcorriez <[email protected]>

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.

core's People

Contributors

hfcorriez avatar

Stargazers

龙猫 avatar

Watchers

James Cloos 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.