Pros and Cons of different approaches to web programming in Python

前端 未结 9 935
孤城傲影
孤城傲影 2021-02-01 17:40

I\'d like to do some server-side scripting using Python. But I\'m kind of lost with the number of ways to do that.

It starts with the do-it-yourself CGI approach and it

9条回答
  •  闹比i
    闹比i (楼主)
    2021-02-01 18:01

    For smaller projects, rolling your own is fairly easy. Especially as you can simply import a templating engine like Genshi and get alot happening quite quickly and easily. Sometimes it's just quicker to use a screwdriver than to go looking for the power drill.

    Full blown frameworks provide alot more power, but do have to be installed and setup first before you can leverage that power. For larger projects, this is a negligible concern, but for smaller projects this might wind up taking most of your time - especially if the framework is unfamiliar.

提交回复
热议问题