Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #40207

Re: Twisted or Tornado?

Date 2013-02-28 17:39 -0700
From Michael Torrie <torriem@gmail.com>
Subject Re: Twisted or Tornado?
References <f2fafd69-0604-4026-8253-8cacdabdbe64@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.2695.1362098382.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 02/28/2013 05:28 PM, Jake Angulo wrote:
> My requirements for this framework in descending order: 1) Easy to
> use API 2) Widely available documentation / Examples / Community
> contributions 3) Feature-wise - kinda most that you commonly need is
> there

By this I take it you mean you want to export a standard web services
API, right (RPC over HTTP)?  Or are you insisting on writing your own
protocol?

If it's the first, I recommend something like web2py.
http://web2py.com/books/default/chapter/29/10.  Or Django.  Sounds heavy
but it's really not that bad especially if you don't need a real web UI,
but are just exposing an RPC api.

If it's the second, then, well, yes Twisted will work great, provided
you can understand how it works. It's actually not that complicated, but
python's dynamic nature can sometimes hide how things work from you at
first and what exactly is getting passed around from function to
function.  Took me about a month to really grok Twisted.  Now that my
project is done (quite successful actually... a full-blow LDAP proxy
server), I have forgotten much about how Twisted works.

In another vein, there's node.js as well.  Apparently it's being used a
lot to implement quick and dirty services like what you need.

> I prefer opinion from those who have programmed real projects in it -
> not just read some blog or Slashdot :P

Ha.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Twisted or Tornado? Jake Angulo <jake.angulo@gmail.com> - 2013-02-28 16:28 -0800
  Re: Twisted or Tornado? Michael Torrie <torriem@gmail.com> - 2013-02-28 17:39 -0700
  Re: Twisted or Tornado? Sven <svenito@gmail.com> - 2013-03-01 09:25 +0000
  RE: Twisted or Tornado? Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2013-03-01 12:55 +0300
  Re: Twisted or Tornado? Jake Angulo <jake.angulo@gmail.com> - 2013-03-04 10:35 +1100
  Re: Twisted or Tornado? Michael Torrie <torriem@gmail.com> - 2013-03-03 19:40 -0700
  RE: Twisted or Tornado? Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2013-03-05 11:07 +0300
  Re: Twisted or Tornado? Werner Thie <werner@thieprojects.ch> - 2013-03-05 09:53 +0100
  Re: Twisted or Tornado? system.healer@gmail.com - 2013-03-05 19:30 -0800

csiph-web