Pros and Cons of different approaches to web programming in Python

前端 未结 9 933
孤城傲影
孤城傲影 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条回答
  •  深忆病人
    2021-02-01 18:17

    It's always worth doing something the hard way - once - as a learning exercise. Once you understand how it works, pick a framework that suits your application, and use that. You don't need to reinvent the wheel once you understand angular velocity. :-)

    It's also worth making sure that you have a fairly robust understanding of the programming language behind the framework before you jump in -- trying to learn both Django and Python at the same time (or Ruby and Rails, or X and Y), can lead to even more confusion. Write some code in the language first, then add the framework.

    We learn to develop, not by using tools, but by solving problems. Run into a few walls, climb over, and find some higher walls!

提交回复
热议问题