Why avoid CGI for Python with LAMP hosting?

前端 未结 6 530
春和景丽
春和景丽 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:13

    Aside from the suggestions others make, you should really consider using a framework of some kind. You can and should be using FastCGI, mod_python, or mod_wsgi, but they weren't really intended for you to write code directly against. Might I suggest one of the following?

    • django (my favorite for practical applications)
    • pylons
    • cherrypy (my favorite for not-so-practical applications)
    • web.py

提交回复
热议问题