GithubHelp home page GithubHelp logo

guoyu07 / symfony-event-driven-kernel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janhuang/symfony-event-driven-kernel

0.0 0.0 0.0 19 KB

总结Symfony的事件驱动核心,如何在很短的代码行数上实现更多的扩展性。文档中如无意外,Symfony特指2.x和3.x版本,内部API可能有些不同,但是大体结构一致。

symfony-event-driven-kernel's Introduction

Symfony's Event Driven Kernel

总结Symfony的事件驱动核心,如何在很短的代码行数上实现更多的扩展性。文档中如无意外,Symfony特指2.x和3.x版本,内部API可能有些不同,但是大体结构一致。

核心组件

了解核心的构成组件实现的功能,学习如何单独使用它们,为了解Symfony的事件核心做准备。

Big Picture

通过代码执行时的调用分支,抽取顶层的运行逻辑,了解Symfony的最顶层事件。

应用事件系统

了解如何运用Symfony标准的事件系统,做到对Request-Response控制自如。了解如何实现自己的事件,用自定义事件解耦业务逻辑中的复杂流程。

与经典MVC框架的对比

与经典MVC框架的粗略对比,主要指初始化、加载具体逻辑处理代码、发送响应完成请求过程中的差异。这里是与Zend Framework 1.x进行对比。

DIY事件驱动框架

如何DIY一个事件驱动的小框架,以Silex为例,使用Symfony的标准库编写一个小的玩具框架。

参考资料

文档中参考了一些博客、文档、资料,整理在这章供大家查阅。

symfony-event-driven-kernel's People

Contributors

gitbook-bot avatar rivsen 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.