Giter VIP home page Giter VIP logo

zigmo's Introduction

zigmo - Python web framework

README: 中文 | English

zigmo框架实现参考Tornado框架,学习tornado并实现一个类似框架。

更新日志

  • 2017-02-19 添加concurrent模块, 基本实现异步处理
  • 2017-02-19 添加coroutine实现(tornado_style模块),使用@coroutine可以写出tornado以tornado中同步风格来写异步代码
  • 2017-02-17 添加ioloop实现(ioloop模块)
  • 2017-02-12 添加WSGI server实现(wsgi_server模块) 和 主框架实现(zigmo模块)

目标

  1. 理解yield
  2. 理解coroutine
  3. 理解ioloop
  4. 理解为什么要异步
  5. 实现ioloop
  6. 实现coroutine
  7. 实现一个基于epoll的异步框架

模块

  • ioloop - 基于epoll的ioloop简化实现
  • zigmo - 主框架
  • wsgi_server - WSGI协议web server的demo实现
  • tornado_style - tornado中同步风格写异步代码的简化实现

环境

zigmo 需要 Python 2.7 以及支持 epoll 的Linux

感谢

  • Tornado

zigmo's People

Contributors

leohowell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

plumpmath

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.