LWN: Comments on "Introducing Three Python Web Frameworks (Linux Journal)" https://lwn.net/Articles/334872/ This is a special feed containing comments posted to the individual LWN article titled "Introducing Three Python Web Frameworks (Linux Journal)". en-us Wed, 22 Oct 2025 05:23:28 +0000 Wed, 22 Oct 2025 05:23:28 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net OT/lazyweb: Which framework for an embedded system https://lwn.net/Articles/335638/ https://lwn.net/Articles/335638/ debacle <p>Source-Code sizes of Python-based web frameworks. Very rough estimate after blindly removing tutorials, tests, ORMs (I don't need a db), etc.:</p> <pre> webpy 0.31 280 kB cherrypy 3.1.2 568 kB web2py current 928 kB </pre> <p>Both webpy and web2py seem to use the cherrypy WSGI server, webpy seems also to use the cherrypy HTTP server.</p> Tue, 02 Jun 2009 12:30:50 +0000 OT/lazyweb: Which framework for an embedded system https://lwn.net/Articles/335309/ https://lwn.net/Articles/335309/ mdipierro <div class="FormattedComment"> web2py uses the cherrypy wsgiserver which is great. Indeed it has https support. The complete web2py source code (unzipped but not including applications) is less than 800KB. It includes web server, database abstraction layer, template languages and more. Runs on Python 2.4,2.5,2.6, has no dependencies, and does not require installation.<br> </div> Mon, 01 Jun 2009 05:30:30 +0000 OT/lazyweb: Which framework for an embedded system https://lwn.net/Articles/335303/ https://lwn.net/Articles/335303/ rasjidw Not sure how it compares to <a href="http://webpy.org/">web.py</a> in terms of memory usage, but <a href="http://www.cherrypy.org/">CherryPy</a> is another low level python web framework that might be worth having a look at. It appears to have everything you are looking for, including built-in https support. Mon, 01 Jun 2009 00:35:49 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335302/ https://lwn.net/Articles/335302/ sbergman27 <div class="FormattedComment"> Yes, playing with Google Trends can be fun. I'm not sure how relevant. But fun:<br> <p> <a href="http://tinyurl.com/mmwz2k">http://tinyurl.com/mmwz2k</a><br> <p> <a href="http://tinyurl.com/lnz2e6">http://tinyurl.com/lnz2e6</a><br> <p> <p> </div> Sun, 31 May 2009 23:44:42 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335300/ https://lwn.net/Articles/335300/ mdipierro One of your assumptions is incorrect as <a rel="nofollow" href="http://www.google.com/trends?q=web2py%2C+turbogears&ctab=0&geo=all&date=all&sort=0">shown here</a> Anyway, I have nothing against technical comparisons and critiques. I complain that I do not see enough of them. Let me clarify that I we should not see Python (or Ruby) frameworks in competition with each other since their markets are correlated, not anti correlated. We are all better off if we do not fight and respect and acknowledge each other work. Sun, 31 May 2009 21:11:19 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335296/ https://lwn.net/Articles/335296/ sbergman27 <div class="FormattedComment"> I have used Web2Py. Not for a live project, but for an eval project. It's OK. A lot more "magic" than I would be comfortable with for most of my real projects. And granted, if you did merge with another project, that would be a problem. I doubt much of the magic would be accepted into any of the major Python frameworks. Perhaps that is Web2Py's niche.<br> <p> I have not said that I do not see the differences between the major Python frameworks and Web2Py. I said that they were not that different. (Bearing in mind the "magic" issue I just mentioned.)<br> <p> Nor has it been my intent to criticize Web2Py technically.<br> <p> Nor have I commented on your right to develop your own framework.<br> <p> What I have commented upon is the effect that the fragmented framework landscape of Python's history has had on Python's success as a language for web development, even against what was arguably technically inferior competition.<br> <p> """<br> I am sure the creator of other frameworks will agree with me on this one.<br> """<br> <p> Really? At Snakes and Rubies one of the people you are claiming to speak for specifically said that he would like to see "maybe 2" major web frameworks in the Python world. That is, as opposed to the one major framework in the Ruby world. He was clearly against fragmentation.<br> <p> Fortunately, we do not (yet) seem to be facing the fragmentation problem with the current generation of frameworks. Web2Py is a very distant 4th, and I have probably overstated the problem, as things currently stand.<br> <p> At any rate, this thread was originally about the fact that only the major frameworks were covered in the article. And I still think that was a very reasonable decision on the part of the author.<br> <p> </div> Sun, 31 May 2009 17:32:06 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335294/ https://lwn.net/Articles/335294/ mdipierro <div class="FormattedComment"> I am dropping this conversation. When you tell me that 1) you have tried web2py and 2) what specifically are your technical issues with it I may engage again. It is silly to say we (web2py community) should not have developed our own framework, Zope did, Django did, Pylons did, TG did, and so we did. You say you do not see differences between them. All I can say is look closer. I am sure the creator of other frameworks will agree with me on this one.<br> </div> Sun, 31 May 2009 16:06:53 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335292/ https://lwn.net/Articles/335292/ sbergman27 <div class="FormattedComment"> """<br> You told the previous user "you are the first person I've seen advocating Web2Py whose name was not Massimo Di Pierro". I just proved you are wrong.<br> """<br> <p> I don't see how. He was, in fact, the the first person I had seen advocating Web2Py whose name was not Massimo Di Pierro. And I've been watching reasonable closely. Though admittedly, I did not have a Twitter crawler running specifically to look.<br> <p> But this is getting silly. <br> <p> """<br> but web2py is very different technically and philosophically<br> """<br> <p> Not really that different. This is the mindset that fragmented the Python landscape so badly that the very arguably inferior Rails, running atop the abysmally slow Ruby, was able to waltz in and absolutely dominate over everything that Python had to offer. Projects felt that some minor difference made it imperative that they go their own way, and so everyone set about reinventing the wheel, over and over and over again in their own garages, dreaming of the day that their framework would one day come into its own as hoards of other people came to realize how wonderful their particular wheel was. And, of course, it never happened for any of them. Unless you count Zope. But that's a whole, sad, story in itself.<br> <p> I'm being horribly un-PC, of course. The prevailing fashion in the Python web framework community these days does discourage one from criticizing anyone else's framework (unless, of course, one is Mark Ramm). But I am still encouraged by the cullings (e.g. Subway) and consolidation (e.g. TG folding into Pylons) that I have observed during this new generation. Continued insistence that Web2Py is so special that it just has to be yet another fragment on the landscape seems, to me, to be a remaining loose end.<br> <br> </div> Sun, 31 May 2009 15:13:48 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335281/ https://lwn.net/Articles/335281/ mdipierro <div class="FormattedComment"> You told the previous user "you are the first person I've seen advocating Web2Py whose name was not Massimo Di Pierro". I just proved you are wrong.<br> <p> No, web2py is not as popular as Django but it is at least 4 years younger and for reasons I do not understand there are lot of people like you who complain about it without having even tried it. Nevertheless there are 1000 users on the google group and they are growing exponentially.<br> <p> Yes, Django, TG, and Pylons are excellent web framework but web2py is very different technically and philosophically. It is unlikely it will merge with them.<br> <p> Web2py does provide a compatibility layer for Django models and SQLAlchemy models, and users are free to use any template language the are comfortable with. Anyway, we don't encourage any of this because of what they'd miss.<br> <p> </div> Sun, 31 May 2009 07:55:08 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335271/ https://lwn.net/Articles/335271/ sbergman27 <div class="FormattedComment"> That counts as a few short Twitter tweets which mention Web2Py, and a claim of a website using Web2Py for an app. But do you really want to compare Web2Py's usage with that of other frameworks? There are whole websites with apps devoted simply to keeping track of all the other sites that use some of the larger Python frameworks.<br> <p> Python has traditionally had too many frameworks for its own good. (More web frameworks than keywords, as they say.) Fortunately, this new generation of frameworks, and TG's effective merging with Pylons, has enabled a much needed consolidation. Looking at Web2Py's feature set and style, it really looks like something that would be best merged with one of the more substantial frameworks. For Web2Py, I would say that Django would probably be the best fit. This generation could really do without all the "me too" frameworks of Python's past.<br> <p> Anyway, the original comment was that the article only covered the big three, which are arguably really the big two, TG2 being a superset of Pylons. And covering the popular frameworks seems reasonable to me.<br> </div> Sat, 30 May 2009 23:08:58 +0000 OT/lazyweb: Which framework for an embedded system https://lwn.net/Articles/335266/ https://lwn.net/Articles/335266/ stijn <p>Somewhere I've written on the topic of wiki-style markup languages: <i>white-space is significant in many different ways. It introduces a large amount of syntax and hard-wired conventions, has poor escape mechanisms, usually lacks the power of macros and is hard to extend</i>. To each his own of course, different applications have different needs, and diversity rules. Quite a while back I started something called 'zoem' to produce high quality manual pages with output in both troff and (hyperlinked) html. It uses a very strict syntax, but allows brevity at the same time. Recently I have streamlined (not yet published) the zoem html pacakge to enable html generation at a high level of abstraction. It uses a tex-like syntax, has dictionary stacks, lots of programming facilities, and the syntax, while strict, supports html. To give an example, \foo{bar}, \foo{bar}{zut}, and \&lt;div class="foo"&gt;{bar} are all valid zoem syntax. The aforementioned package leans heavily on overridable css. The most important property is probably that the package (as written in zoem) is quite small and demonstrates it is an easy way to write a powerful exo-skeleton around html. </p> <p> It may be a bit pointless to mention all this. The last few days I've been wondering whether this could be useful to anyone else, while realizing that there are already a gazillion other mark-up solutions out there. Your response bent the discussion in an interesting way, and I decided to bend it a bit further. It is now probably a crooked dead end. </p> Sat, 30 May 2009 20:05:39 +0000 Restructured text https://lwn.net/Articles/335261/ https://lwn.net/Articles/335261/ vonbrand <p> This looks an awful lot like <a href="http://www.methods.co.nz/asciidoc">asciidoc</a>... Sat, 30 May 2009 18:30:53 +0000 OT/lazyweb: Which framework for an embedded system https://lwn.net/Articles/335249/ https://lwn.net/Articles/335249/ wookey <div class="FormattedComment"> Do you know about wt ('witty')? You write C++ structure and it writes the web-apps for you, dealing with all that ajax/javascript/forms, ie/firefox pain and degrading gracefully to dimmer browsers. Very embeddable. It's not really a 'web framework' in the way that Django et al are, but it is exceedingly cool, and may well be what you are lookging for. <br> <p> <a href="http://www.webtoolkit.eu/wt">http://www.webtoolkit.eu/wt</a><br> </div> Fri, 29 May 2009 22:57:53 +0000 OT/lazyweb: Which framework for an embedded system https://lwn.net/Articles/335248/ https://lwn.net/Articles/335248/ leoc <a href="http://www.koanlogic.com/klone/index.html">KLone</a> sounds like it would be pretty cool for an embedded project. Fri, 29 May 2009 22:24:59 +0000 OT/lazyweb: Which framework for an embedded system https://lwn.net/Articles/335239/ https://lwn.net/Articles/335239/ drag I like using restructured text for a lot of things. <br><br> It's a simple, but extremely effective, mark-up language developed for python documentation purposes. It's based on the sort of 'natural' things people do to format plan text documents so you can do things like: <br><br> <pre> ############ Main Title ############ .. attention: Sample Document .. sectum:: .. contents:: Section 1 ========== stuff Section 1.1 ------------ stuff: * bullet point 1 * bullet point 2 Section 2 ========== .. include:: ./otherdoc.rst </pre> etc etc. Then you can convert that to html, latex, or odf. From latex then you can go to all sorts of other documents. You can use templates and styles and all that sort of stuff. You know.. seperate content from style. <br><br> A lot of Wikis use a approximation to restructured text for their web-based editors and such.. but restructured text isn't really useful for that.. due to the nature and original purpose it's not something that is easy to gaurd against things like code injection or cross-site scripting vulnerabilities. <br><br> But for server-side scripting and editing then it's wonderful. There are a few different little 'web frameworks' that use restructured text for the backend and use file-based storage to generate HTML code. Mostly scripts and stuff like that and are designed to be very lightweight and easy to manage. The most sophisticated is going to be Sphinx.<br> http://sphinx.pocoo.org/ Fri, 29 May 2009 19:01:48 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335228/ https://lwn.net/Articles/335228/ mdipierro <div class="FormattedComment"> I think what you are looking for is here<br> <p> <a rel="nofollow" href="http://groups.google.com/group/pyjamas-dev/browse_thread/thread/f051f537ca9ee734">http://groups.google.com/group/pyjamas-dev/browse_thread/...</a><br> </div> Fri, 29 May 2009 17:37:23 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335226/ https://lwn.net/Articles/335226/ mdipierro <div class="FormattedComment"> Perhaps because web2py users are busy professionals and it is my job to do the advocacy. Anyway, I have been getting some help. Here are some recent posts by other people.<br> <p> <a rel="nofollow" href="http://twitter.com/yarkot/status/1429071852">http://twitter.com/yarkot/status/1429071852</a><br> <a rel="nofollow" href="http://twitter.com/cbaron/status/1470661548">http://twitter.com/cbaron/status/1470661548</a><br> <a rel="nofollow" href="http://twitter.com/hurphendale/status/1517391449">http://twitter.com/hurphendale/status/1517391449</a><br> <a rel="nofollow" href="http://www.simplyhired.com/job-id/bfdjvwbulv/javascript-web-jobs/">http://www.simplyhired.com/job-id/bfdjvwbulv/javascript-w...</a><br> <a rel="nofollow" href="https://bentobako.org/david/blog/index.php?tag/web2py">https://bentobako.org/david/blog/index.php?tag/web2py</a><br> <p> Mind, don't be the last one to join bandwagon.<br> PyCon moved registration from Django to web2py already in 2009.<br> Does that count as advocacy?<br> <p> </div> Fri, 29 May 2009 17:34:57 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335222/ https://lwn.net/Articles/335222/ Webexcess <div class="FormattedComment"> I wear a bright orange "WEB2PY" cap (PyCon swag) when I'm out walking, does that count as advocacy?<br> <p> /never tried web2py<br> </div> Fri, 29 May 2009 17:16:57 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335217/ https://lwn.net/Articles/335217/ sbergman27 <div class="FormattedComment"> I've been watching the Python web frameworks landscape for a few years. And honestly, you are the first person I've seen advocating Web2Py whose name was not Massimo Di Pierro. I'm not just joking, by the way. I've actually been watching and waiting the last year or so, wondering when it would happen. Which is not to say that there is not a lot of advocacy for Web2Py out there. It is simply all posted by people named Massimo Di Pierro.<br> </div> Fri, 29 May 2009 15:49:25 +0000 OT/lazyweb: Which framework for an embedded system https://lwn.net/Articles/335198/ https://lwn.net/Articles/335198/ debacle <p>Currently, we use Django happily for a "big" application, but for an embedded system (ARM, tiny RAM), we're looking for a very small Python (or <tt>C</tt>) based web framework. No DB/ORM needed, just request handling, forms, maybe templates, maybe builtin HTTPS-Server... We came across <a href="http://webpy.org/">web.py</a>, but maybe there are other options?</p> Fri, 29 May 2009 13:15:37 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335191/ https://lwn.net/Articles/335191/ pboddie <div class="FormattedComment"> I think the "hoopla" around Rails has dampened down somewhat, but then the author does admit that the publication lead times are quite long. I was amused by the opening sentence given that something quite similar was used in a Byte magazine parody I did several years ago (now archived on an abandoned personal site, with a date of Friday 19th January 2001, incredibly):<br> <p> <a href="http://thor.prohosting.com/~pboddie/Personal/Caught_by_the_Intranet.html">http://thor.prohosting.com/~pboddie/Personal/Caught_by_th...</a><br> <p> Still, it's nice to see new comparative articles on such frameworks coming out every so often.<br> </div> Fri, 29 May 2009 10:33:16 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335190/ https://lwn.net/Articles/335190/ ableal <div class="FormattedComment"> I also liked what I read, and I'm putting it first on my "round tuit" queue, for a newbie test. More comments on web2py from LWN readers would be appreciated. Correlation with pyjamas (<a rel="nofollow" href="http://pyjs.org/">http://pyjs.org/</a>) would be even more interesting.<br> <p> </div> Fri, 29 May 2009 09:24:57 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335172/ https://lwn.net/Articles/335172/ BackSeat Shame they missed out <a href="http://www.web2py.com/">web2py</a>, a framework that is both comprehensive and easy to use. <p> BS Fri, 29 May 2009 06:42:04 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335143/ https://lwn.net/Articles/335143/ jake <div class="FormattedComment"> <font class="QuotedText">&gt; Not fixed: "Paul Barry introduces Django, Pylons and TurboGears in a </font><br> <font class="QuotedText">&gt; Linux.com article." </font><br> <p> heh, i saw the link was some feedproxy thing and figured that was the problem and fixed it. you don't expect me to actually read what Forrest posts do you? :)<br> <p> further fixed,<br> <p> jake<br> </div> Thu, 28 May 2009 22:57:00 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335139/ https://lwn.net/Articles/335139/ cwitty Not fixed: "<i>Paul Barry introduces Django, Pylons and TurboGears in a Linux.com article.</i>" Thu, 28 May 2009 22:28:50 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335132/ https://lwn.net/Articles/335132/ jake <div class="FormattedComment"> <font class="QuotedText">&gt; linuxjournal.com, surely?</font><br> <p> yup, fixed.<br> <p> jake<br> </div> Thu, 28 May 2009 21:41:01 +0000 Introducing Three Python Web Frameworks (Linux Journal) https://lwn.net/Articles/335121/ https://lwn.net/Articles/335121/ halla <div class="FormattedComment"> linuxjournal.com, surely?<br> </div> Thu, 28 May 2009 21:06:00 +0000