473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Twisted or Medusa or Zope

hi,
i m planning to start writing intranet applications and want ur real
cool advices for choosing the correct platform. the choice is between
the three:

1. Twisted
2. Medusa
3. Zope
(i do not know any of the three).

i want u people to help me choose the correct platform.
my questions are:

1. which has the least learning curve.
2. which is best suited for the purpose for applications like workflow
automation, groupware, and other business related apps.

please also highlight the major diffrences between the three.
also tell if there is a better alternative.

thanks in advance.
Jul 18 '05 #1
11 3553
In article <42**************************@posting.google.com >,
mir nazim <mi****@yahoo.com> wrote:

i m planning to start writing intranet applications and want ur real
cool advices for choosing the correct platform. the choice is between
the three:

1. Twisted
2. Medusa
3. Zope
(i do not know any of the three).

i want u people to help me choose the correct platform.


http://www.colorstudy.com/docs/shootout.html
--
Aahz (aa**@pythoncraft.com) <*> http://www.pythoncraft.com/

A: No.
Q: Is top-posting okay?
Jul 18 '05 #2
My advice ( I got some experience in all of them ) :

Medusa is old and you have to do alot yourself. You have to know abit about
HTTP, how async works etc. Get ready to get your hands dirty.

Twisted is similar to Medusa, but comes with a bunch of very cool
ready-to-use/more-or-less-stable modules which can be combined into complex
and nifty web-based applications. Very steep learning curve, some
fundamental things are still not documented and under heavy development,
especially the web/woven-part. I'm using the core http-server modules of
Twisted and are very happy with it. I've created a dynamic system on top of
it using simpleTales for templates, SQLite for database and alot of
homegrown modules. I'm very happy with Twisted in the form I'm using it now,
but I still haven't gotten into the really heavy stuff, like deferreds (
yes, that's heavy stuff !! ) but I'll get there. Twisted is probably one of
the framework killer apps of python, if not in it's current form, I'm sure
the dedicated developers behind Twisted will make it so in the future.

Zope is a huge beast, with lots of allready production ready
products/applications ready, alot of which are aimed at business use. My
problem with Zope is that you have to do alot of work in a web interface and
most of your code ends up in some object database, not as files in your
filesystem. It's a very powerfull and stable package, lots of documentation
and with a very helpful and dedicated user- and development-following. As
long as I could use the pre-packaged products available and simple tasks and
development, Zope was awsome. But I needed more control and ended up doing
alot of the things Zope does for you in my own code. You'll find most
groupware and business related code and products in Zope. Twisted and Medusa
are more bare-bone framework in which you create your own servers.

Take a long look at all the products Zope has to offer. It might happend
that you allready got most of the things you need available allready. If
not, dive into the development documentation and find out if this is how you
want to work, if it fits your taste and experience-level. If you still feel
there's something missing, like I did, study the documentation and the
postings in the twisted-mailing list.

Good luck!!

Thomas

"mir nazim" <mi****@yahoo.com> wrote in message
news:42**************************@posting.google.c om...
hi,
i m planning to start writing intranet applications and want ur real
cool advices for choosing the correct platform. the choice is between
the three:

1. Twisted
2. Medusa
3. Zope
(i do not know any of the three).

i want u people to help me choose the correct platform.
my questions are:

1. which has the least learning curve.
2. which is best suited for the purpose for applications like workflow
automation, groupware, and other business related apps.

please also highlight the major diffrences between the three.
also tell if there is a better alternative.

thanks in advance.

Jul 18 '05 #3
On Wed, Jan 07, 2004 at 08:08:55AM -0800, mir nazim wrote:
hi,
i m planning to start writing intranet applications and want ur real
"intranet applications" is a very vague term. Can you be more specific?
cool advices for choosing the correct platform. the choice is between
the three:

1. Twisted
2. Medusa
3. Zope
(i do not know any of the three).

i want u people to help me choose the correct platform.
It depends :)
my questions are:

1. which has the least learning curve.
Depends on what you're trying to do. Zope is probably easier to write most
kinds of web applications in, because that's what it's designed to do,
whereas Twisted is probably easier to implement a network protocol in,
because that's what it's designed to do.

I think this is the wrong question to ask. The three packages you listed
above do quite different things, so the important issue isn't which is
easier to learn, but which is the right tool for your job.
2. which is best suited for the purpose for applications like workflow
automation, groupware, and other business related apps.
How do you want people/systems to interact with your "workflow automation,
groupware, and other business related apps"? A custom network protocol?
Remote procedure calls, e.g. XML-RPC? Web pages? Something else?
please also highlight the major diffrences between the three.
also tell if there is a better alternative.


Twisted:

Paraphrasing http://twistedmatrix.com/ slightly: "Twisted is an
event-driven networking framework written in Python and licensed under
the LGPL. Twisted supports many different transports, such as TCP, UDP,
SSL/TLS, multicast and Unix sockets. Twisted includes a large number of
ready-to-use protocol implementations, including HTTP, NNTP, IMAP, SSH,
DNS, IRC, FTP. Twisted also includes some applications implemented with
these protocols, such as a web server and domain name server."

Medusa:

http://www.amk.ca/python/code/medusa.html says: "Medusa is a framework
for writing asynchronous socket-based servers." It is simpler and
lower-level than Twisted. This means it's harder to work with, but
perhaps lighter-weight. For new projects, I think Twisted is probably a
better choice than Medusa. Zope uses Medusa for its web server.

Zope:

http://www.zope.org/ says: "Zope is an open source application server
for building content managements, intranets, portals, and custom
applications." It's a web server with an integrated object database.
Notably for you, there are "products" (i.e. modules) for Zope that
include Workflow automation engines for document publishing -- I'm
thinking of CMF here (http://cmf.zope.org/). Plone
(http://www.plone.org), which is built on CMF, is worth looking at if
you are interested in the CMF.

My guess is that Zope is probably the tool best suited to your problem, but,
well, "it depends" :)

It's entirely possible that you might want more than one of these tools,
too!

-Andrew.
Jul 18 '05 #4
Thomas Weholt wrote:

My advice ( I got some experience in all of them ) :

Medusa is old and you have to do alot yourself. You have to know abit about
HTTP, how async works etc. Get ready to get your hands dirty.

Twisted is similar to Medusa, but comes with a bunch of very cool
ready-to-use/more-or-less-stable modules which can be combined into complex


Heh. :-)

Twisted is similar to Medusa in about the same way that Linux is similar to,
say, CPM...

-Peter
Jul 18 '05 #5
"Peter Hansen" <pe***@engcorp.com> wrote in message
news:3F***************@engcorp.com...
Thomas Weholt wrote:

My advice ( I got some experience in all of them ) :

Medusa is old and you have to do alot yourself. You have to know abit about HTTP, how async works etc. Get ready to get your hands dirty.

Twisted is similar to Medusa, but comes with a bunch of very cool
ready-to-use/more-or-less-stable modules which can be combined into
complex
Heh. :-)

Twisted is similar to Medusa in about the same way that Linux is similar to, say, CPM...

-Peter


Ok, my point was that they are similar type of frameworks, if we compare
medusa and the webserver-part of Twisted. They don't do much without a bit
of work/coding. Unlike Zope which comes with a UI, user-management etc
running the minute you finish the installation procedure.

I might not know the entire technical aspect of medusa and twisted, not
really enough to compare them in detail. I was referring to the way a
programmer will have to use them, based on my experience using the two. In
that regard they're somewhat similar and different from zope. If I'm
completly off track here feel free to enlighten me.

Thomas
Jul 18 '05 #6
Thomas Weholt wrote:

"Peter Hansen" <pe***@engcorp.com> wrote:
Twisted is similar to Medusa in about the same way that Linux is similar

to, say, CPM...

Ok, my point was that they are similar type of frameworks, if we compare
medusa and the webserver-part of Twisted. They don't do much without a bit
of work/coding. Unlike Zope which comes with a UI, user-management etc
running the minute you finish the installation procedure.

I might not know the entire technical aspect of medusa and twisted, not
really enough to compare them in detail. I was referring to the way a
programmer will have to use them, based on my experience using the two. In
that regard they're somewhat similar and different from zope. If I'm
completly off track here feel free to enlighten me.


Thomas, you're completely ON track here... I just wanted to emphasize that
Twisted is much more polished and sophisticated. I'd even have to say,
as a programmer using them, that Twisted does actually provide a simpler and
cleaner API. It and Medusa are much closer in concept than either is to
Zope, though, as you say.

-Peter
Jul 18 '05 #7
In article <3F***************@engcorp.com>, Peter Hansen
<pe***@engcorp.com> writes
...
....
enlighten me.

Thomas, you're completely ON track here... I just wanted to emphasize that
Twisted is much more polished and sophisticated. I'd even have to say,
as a programmer using them, that Twisted does actually provide a simpler and
cleaner API. It and Medusa are much closer in concept than either is to
Zope, though, as you say.

-Peter

In another thread http://snakelets.sf.org was mentioned.
--
Robin Becker
Jul 18 '05 #8
Robin Becker wrote:

In article <3F***************@engcorp.com>, Peter Hansen
<pe***@engcorp.com> writes
..
...
enlighten me.

Thomas, you're completely ON track here... I just wanted to emphasize that
Twisted is much more polished and sophisticated. I'd even have to say,
as a programmer using them, that Twisted does actually provide a simpler and
cleaner API. It and Medusa are much closer in concept than either is to
Zope, though, as you say.

In another thread http://snakelets.sf.org was mentioned.


I get at least a temporary "server not found" error when I try that name.

In any case, anything added on top of Twisted and Medusa are, of course,
not Twisted and Medusa. Zope is added on top of Medusa, and doubtless there
are and will be many things added on top of Twisted, some of which may
be similar in purpose to Zope (specifically, content-management systems
rather than just frameworks for application writing).

-Peter
Jul 18 '05 #9
thanks a lot for he4lping me out. keep ideas flowing.
its really cool group.
thanks again.
Jul 18 '05 #10
On Fri, 09 Jan 2004 09:44:18 -0500, Peter Hansen <pe***@engcorp.com>
wrote:
I get at least a temporary "server not found" error when I try that name.


http://snakelets.sourceforge.org/

("We're Sorry. The SourceForge.net Website is currently down for
maintenance. We will be back shortly) :-)

JD.
Jul 18 '05 #11
In article <h3********************************@4ax.com>, Jane Doe
<ja******@acme.com> writes
On Fri, 09 Jan 2004 09:44:18 -0500, Peter Hansen <pe***@engcorp.com>
wrote:
I get at least a temporary "server not found" error when I try that name.


http://snakelets.sourceforge.org/

("We're Sorry. The SourceForge.net Website is currently down for
maintenance. We will be back shortly) :-)

JD.

whoops, my bad :(
--
Robin Becker
Jul 18 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bowen Chiu | last post by:
Dears: I use a 4KBytes HTML content to do this benchmark, it is just a simple test of python based web server. mod_python with Apache Lifting the server siege... done. Transactions: ...
3
by: Sig | last post by:
Hi there, Could you help me finding out whether Zope could be a serious technological framework for big corporation (compared to J2EE and ..Net) or not ? In the (quite very) big corporation I...
0
by: John Benson | last post by:
Hi, I've read a little about Zope but know only 1 hour's worth of web surfing about Twisted. I was initially trying to puzzle out how to use Zope for a socket server, and stumbled onto Twisted, which...
7
by: Robin Becker | last post by:
I wonder if this is the right way to write a medusa(asyncore) server with the win32all framework. Other example services seem to create an event to pass the stop signal from SvcStop into a separate...
3
by: Rico Huijbers | last post by:
Does anybody have experience in writing Jabber clients with Twisted? I came across a simple sample, and tried to build out from it, but for some reason it's barely working. When I run the...
4
by: Jochen Demuth | last post by:
Hi, I am trying to install ZWiki on Zope 2.5.1 / Debian 2.4.20-bf2.4-xfs. First I copied the contents of the ZWiki-0.32.0.tgz to the Products-directory under SOFTWARE_HOME: This is what it...
9
by: john | last post by:
Hi I am developing a timesheet system. It will have 3 levels of access 1)Administrator 2)Approver -- Will approve or reject the timesheet filled by employees 3)Employees -- Fill in the timesheet...
47
by: Will Stuyvesant | last post by:
Hello all, So Zope still lives, yay. Well, I like that they use Python. <rant> What amazed me is they write that they "added types to the variables and hope that it will be added to the...
0
by: Unigroup of New York | last post by:
Content-Type: multipart/mixed; boundary="------------C465DF38DCB38DD2AF7117E0" Lines: 327 Date: Tue, 15 Feb 2005 23:36:38 -0500 NNTP-Posting-Host: 24.46.113.251 X-Complaints-To: abuse@cv.net...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.