<i id='6jlGw'><tr id='6jlGw'><dt id='6jlGw'><q id='6jlGw'><span id='6jlGw'><b id='6jlGw'><form id='6jlGw'><ins id='6jlGw'></ins><ul id='6jlGw'></ul><sub id='6jlGw'></sub></form><legend id='6jlGw'></legend><bdo id='6jlGw'><pre id='6jlGw'><center id='6jlGw'></center></pre></bdo></b><th id='6jlGw'></th></span></q></dt></tr></i><div id='6jlGw'><tfoot id='6jlGw'></tfoot><dl id='6jlGw'><fieldset id='6jlGw'></fieldset></dl></div>

      <bdo id='6jlGw'></bdo><ul id='6jlGw'></ul>

      <small id='6jlGw'></small><noframes id='6jlGw'>

      <tfoot id='6jlGw'></tfoot>
    1. <legend id='6jlGw'><style id='6jlGw'><dir id='6jlGw'><q id='6jlGw'></q></dir></style></legend>
    2. Django、Turbo Gears、Web2Py,哪个更好?

      时间:2023-07-04

        <tfoot id='yNZlr'></tfoot>
      • <legend id='yNZlr'><style id='yNZlr'><dir id='yNZlr'><q id='yNZlr'></q></dir></style></legend>

            1. <small id='yNZlr'></small><noframes id='yNZlr'>

                <tbody id='yNZlr'></tbody>
            2. <i id='yNZlr'><tr id='yNZlr'><dt id='yNZlr'><q id='yNZlr'><span id='yNZlr'><b id='yNZlr'><form id='yNZlr'><ins id='yNZlr'></ins><ul id='yNZlr'></ul><sub id='yNZlr'></sub></form><legend id='yNZlr'></legend><bdo id='yNZlr'><pre id='yNZlr'><center id='yNZlr'></center></pre></bdo></b><th id='yNZlr'></th></span></q></dt></tr></i><div id='yNZlr'><tfoot id='yNZlr'></tfoot><dl id='yNZlr'><fieldset id='yNZlr'></fieldset></dl></div>
                <bdo id='yNZlr'></bdo><ul id='yNZlr'></ul>
                本文介绍了Django、Turbo Gears、Web2Py,哪个更好?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                I got a project in mind that makes it worth to finally take the plunge into programming.

                After reading a lot of stuff, here and elsewhere, I'm set on making Python the one I learn for now, over C# or java. What convinced me the most was actually Paul Graham's excursions on programming languages and Lisp, though Arc is in the experimental stage, which wouldn't help me do this web app right now.

                As for web app fast, I've checked out Django, Turbo Gears and Py2Web. In spite of spending a lot of time reading, I still have no clue which one I should use.

                1) Django certainly has the nicest online presence, and a nicely done onsite tutorial, they sure know how to show off their thing.

                2) Web2Py attracted me with its no-install-needed and the claim of making Django look complicated. But when you dig around on their website, you quickly find content that hasn't been updated in years with broken external links... There's ghosts on that website that make someone not intimately familiar with the project worry if it might be flatlining.

                3) Turbo Gears ...I guess its modular too. People who wrote about it loved it... I couldn't find anything specific that might make it special over Django.

                I haven't decided on an IDE yet, though I read all the answers to the Intellisense code completion post here. Showing extra code snippets would be cool too for noobs like me, but I suppose I should choose my web frame work first and then pick an editor that will work well with it.

                Since probably no framework is hands down the best at everything, I will give some specifics on the app I want to build:

                It will use MySQL, it needs register/sign-in, and there will be a load of simple math operations on data from input and SQL queries. I've completed a functional prototype in Excel, so I know exactly what I want to build, which I hope will help me overcome my noobness. I'll be a small app, nothing big.

                And I don't want to see any HTML while building it ;-)

                PS: thanks to the people running Stackoverflow, found this place just at the right moment too!

                解决方案

                You should look at the web2py online documentation (http://web2py.com/book). It comes with a Role Based Access Control (the most general access control mechanism) and it is very granular, you can grant access for specific operation on specific records. It comes with a web based IDE but you can use WingIDE, Eclipse and PyCharm too. It comes with helper system that allows you to generate HTML without using HTML. Here is an example of a complete app that requires users to register/login/post messages:

                db.define_table('message',Field('body'),Field('author',db.auth_user))
                @auth.requires_login()
                def index():
                    db.message.author.default=auth.user.id
                    db.message.author.writable=False
                    return dict(form=crud.create(db.message),
                                messages=db(db.message.id>0).select())
                

                The web2py project is very active as you can see from the list of changes http://code.google.com/p/web2py/source/list

                If you have web2py related questions I strongly suggest you join the web2py mailing list: http://groups.google.com/group/web2py/topics

                We are very active and your questions will be answered very quickly.

                这篇关于Django、Turbo Gears、Web2Py,哪个更好?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:Python Web 开发 - 有或没有框架 下一篇:在 AWS lambda 中创建 utils.py

                相关文章

                  <tfoot id='2XlCF'></tfoot>

                  <legend id='2XlCF'><style id='2XlCF'><dir id='2XlCF'><q id='2XlCF'></q></dir></style></legend>

                    <small id='2XlCF'></small><noframes id='2XlCF'>

                    <i id='2XlCF'><tr id='2XlCF'><dt id='2XlCF'><q id='2XlCF'><span id='2XlCF'><b id='2XlCF'><form id='2XlCF'><ins id='2XlCF'></ins><ul id='2XlCF'></ul><sub id='2XlCF'></sub></form><legend id='2XlCF'></legend><bdo id='2XlCF'><pre id='2XlCF'><center id='2XlCF'></center></pre></bdo></b><th id='2XlCF'></th></span></q></dt></tr></i><div id='2XlCF'><tfoot id='2XlCF'></tfoot><dl id='2XlCF'><fieldset id='2XlCF'></fieldset></dl></div>
                      <bdo id='2XlCF'></bdo><ul id='2XlCF'></ul>