Django Book 翻译
菜单>:
TOC
返回
原文:
With a one-off dynamic page such as this one, the write-it-from-scratch approach isnt necessarily bad. For one thing, this code is simple to comprehend even a novice developer can read these 16 lines of Python and understand all it does, from start to finish. Theres nothing else to learn; no other code to read. Its also simple to deploy: just save this code in a file called ``latestbooks.cgi`` , upload that file to a Web server, and visit that page with a browser.
翻译:
类似这样的一次性动态页面,从头写起并不是最好的办法。其中一点,这些代码简单易懂,就算是一个开发初学者都能理解这16行代码从开始到结束做了些什么,不需要阅读额外的代码。同样这16行代码也很容易部署:只需要将它保存在名为“latestbooks.cgi”的文件里,上传至网络服务器,通过浏览器访问即可。
备注:
译者: