Python Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPython Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 13th, 2002, 11:25 AM
MidnightFears MidnightFears is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 0 MidnightFears User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Zope Vs. Java

Can anyone tell me the benefits and disadvantages of Zope vs. Java? I will build a complex web application with several services. I know about Java but lack in my knowledge of Zope. I would like some input for my decision. I desire my site to be easily maintainable, easy to change and create new sites, and be extremely secure.

Reply With Quote
  #2  
Old August 24th, 2002, 10:02 PM
mattyoungrev2 mattyoungrev2 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Location: Wichita, KS
Posts: 1 mattyoungrev2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have some experience with Java in general, though only a little with servlets and JSP. And since I just got back from a Zope class I'll add my $0.02 (I also have questions about the comparrison).

Since you know Java I'll focus on Zope.

Zope Pros:
- Administerable entirely through web interface --
you'll probably want to use a WYSIWYG editor to make
things look nice, but if you're stuck somewhere and you
need to fix a page you can always drop in to a local
Kinko's, log in through the web, and edit the page
(html, dynamic markup, Python scripts) through HTML
input forms. This is a major plus.

- Very nice security model. Like a full-blown o.s. in this respect--
you could easily give a client access to content resources
but restrict him/her from touching code. The client can access
Zope through the same web-based management screens
that you use, ie doesn't need shell access, which wouldn't
be appropriate.

- Has a promising portal product, known as CMF, available for
free. Allows you to easily provide a site in which users
can register, get their own page with nested files and folders,
and post documents, images, etc. With considerably more
effort (but less effort than programming from scratch) you
can enforce workflow so that, for instance, documents must
be approved before they become public. Also has built in
search.

- Quick edit-test cycle (no compile). This is part of what makes
web access appealing--you really might want to fix one small
thing in a script, for instance.

- Has a versioning feature that allows you to edit the entire
site, then click a button to make all the changes go live
at once. Not friendly to multiple users, I've heard, but
good for a solo project or projects with good division of
labor.

- Built in undo. You can back out of any screw up that's
confined to Zope (ie not in an external db).

- Some conveniences, like putting form variables into
python variables for form processing. You write less
code to peel objects.

- Python is very strong in two areas that apply here:
string processing and built-in data structures. You
script in Python (optionally: Perl). Java is a bit more
cumbersome though the functionality is there
with a few exceptions.

- Python libraries are strong, but for most things,
probably not as complete as Java's. There are
exceptions, though.


Zope Cons:
- Half-baked documentation
- Proven? Unknown.
- Performance? Some say it's a little slow.
- May be good for your own uses (very good in fact), but
your boss probably wouldn't go for it.
- Java libraries are in some places more complete.


In all, I'd say that if price, security *model*, or web access are very important to you, Zope is worth looking into. But of course,
you can do pretty much anything with either. It's just a question of how hard it would be--replicating the Zope security model, with users, roles, and permissions, for instance, would be a major undertaking.

-- Matt

Reply With Quote
  #3  
Old September 6th, 2002, 02:04 AM
wabirdman wabirdman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Australia
Posts: 111 wabirdman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 19 sec
Reputation Power: 13
Zope is very good with the security aspect of things. You can create roles and then add users to certain roles. Plus you can also look up the users from an LDAP group (if you have one).

So say I am the administrator and then I have 4 people who are content managers. I can allow them access to edit the content but not the root folder. Or I can even give a person access to one specific folder.

At work we have removed the version feature, because in theory it is good. But if you start a version and then dont close it - the whole instance can get locked and no-one can edit/manage anything.

wabirdman
__________________
Real programmers code in binary

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPython Programming > Zope Vs. Java

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap