473,696 Members | 1,487 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3592
In article <42************ **************@ posting.google. com>,
mir nazim <mi****@yahoo.c om> 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**@pythoncra ft.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.c om> wrote in message
news:42******** *************** ***@posting.goo gle.com...
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

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

Similar topics

1
3255
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: 4864 hits Availability: 100.00 % Elapsed time: 30.43 secs
3
4930
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 work in, the IT managers are wondering about the future of web technologies for our intranets. Currently, we run web applications in many technologies : heavy J2EE (EJB...), light J2EE (JSP), ASP.Net, ASP, PHP, ... Our big IT boss
0
1179
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 seems more oriented to multiple protocols than Zope. I'm intrigued by the ways that Zope and Twisted partition the problem of writing networking applications. Right now, I'd like to solicit comparisons from pythonistas that have some experience...
7
2761
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 termination method, but I'm unsure how that would mix with the polling loop. This simple framework seems to start and stop OK, but I wonder if I'm missing some obvious race or something.
3
3402
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 application in the attached script, the logon goes fine, and I can receive messages sent to the account, but it never seems to receive subscription requests. When I ran it on an account that already had some items on the contact list, I did receive...
4
2335
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 contained before: server1:/usr/lib/zope/lib/python/Products# ls ExternalMethod PageTemplates StandardCacheManagers ZSQLMethods Hotfix_2002-06-14 PluginIndexes TemporaryFolder ZopeTutorial
9
1599
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 which will ontain info like start time & end for task & task description. There will be different projects with different employees & approvers Also I need to genrate reports like timesheet for an employee for this particular week or month.Or...
47
2603
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 Python project too". Really. ROFL.
0
2121
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 X-Trace: fe12.lga 1108528794 24.46.113.251 (Tue, 15 Feb 2005 21:39:54 MST) NNTP-Posting-Date: Tue, 15 Feb 2005 21:39:54 MST Xref: number1.nntp.dca.giganews.com comp.lang.python:398656
0
8656
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8592
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8846
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7694
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6512
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5851
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4351
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3025
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1989
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.