Why avoid CGI for Python with LAMP hosting?

前端 未结 6 533
春和景丽
春和景丽 2021-01-31 04:52

I have been using PHP for years. Lately I\'ve come across numerous forum posts stating that PHP is outdated, that modern programming languages are easier, more

6条回答
  •  暖寄归人
    2021-01-31 05:07

    There is a page in the Python documentation that describes the advantages and disadvantages of the various possibilities.

    mod_python

    (…) These are the reasons why mod_python should be avoided when writing new programs.

    WSGI

    The Web Server Gateway Interface or WSGI for short is currently the best possible way to Python web programming. While it is great for programmers writing frameworks, the normal person does not need to get in direct contact with it.

    FastCGI and stuff

    These days, FastCGI is never used directly.

提交回复
热议问题