zoukankan      html  css  js  c++  java
  • 理解WSGI

    个人理解,不对的地方,欢迎指正

    1、WSGI

      web service gate intervice 

      WSGI itself is a protocol or convention that ensures that your web application can speak with the webserver and more importantly that web applications work nicely together.

       它本身是一个协议,确保webapp 和 webserver之间能够正常通信,更重要的是它使多个web应用在一起更好的工作。

       webserver 通常是 Apache、nginx 等,用来收发客户端的请求,其通常用c语言开发的。

           webapp、则可以用多种语言 java、php、python、ruby等进行开发。

       webserver 与webapp之间要通信,则必须有一个协议来完成语言转换工作,就是就有CGI,fastCGI,WSGI则是对利用pyhon对 CGI的一个封装。

      

      发现了一篇好文章,深入的讲解了常用的网关协议 CGI, WSGI

      详情参考连接:http://blog.csdn.net/i_bruce/article/details/44672493

           

      

  • 相关阅读:
    01
    py5.30
    py 5.28
    py5.25
    py 5.24
    py 5.22
    py5.21
    py 5.18
    py 5.17
    py 5.16
  • 原文地址:https://www.cnblogs.com/lazyboy1/p/5261472.html
Copyright © 2011-2022 走看看