About InfoWorld : Advertise : Subscribe : Contact Us : Awards : Events : Store
InfoWorld HomeNewsTest CenterOpinionsProduct GuideTechIndex
 COLUMN ARCHIVE  FORUMS
 

COLUMN

 
The Open Source
Nicholas Petreley

After many tutorials, I'm still waiting to become a Zope addict

TECHNICAL COLUMNISTS ARE paid to discuss their impressions when they experiment with software, but I am having trouble earning my wages this week. I've revisited two object-based open-source Web development tools, Enhydra and Zope, in the past few weeks.

   ADVERTISEMENT
  

Free IT resource

TechNet: More ways to know it, share it, and keep it running.

Sponsored by Microsoft

Free IT resource

Attend the SOA Executive Forum: Breaking SOA Bottlenecks SOAExecForum.com/may2007

Sponsored by InfoWorld

RELATED LINKS
»  IT trainer offers master's degree for hackers
»  MSNBC buys participatory news site Newsvine
»  Merchants: eBay ad programs drive buyers away
»  Web services RSS feed 

IDG ENTERPRISE NETWORK
Web Services Caution Abounds  (CIO)

TOP NEWS 


IT SOLUTION SEARCH
When it comes to which I prefer, there's no contest: Enhydra gets my vote. It's when I try to explain why I prefer Enhydra that I run into problems. As much as I dislike using Zope, it sounds so much better than Enhydra when I try to describe the two. I can't help but feel that if I just used Zope for another week, I'd become a Zope addict. But another week goes by, and I'm just as sour on Zope as ever. The biggest problem with Zope is that there is so little documentation to help a newbie get started. The situation has improved. There are links from the Zope site (www.zope.org) that walk you through an introduction to Zope. One good link is www.devshed.com/Server_Side/Zope/Intro. For $15, you can also purchase a Zope tutorial from www.beehive.de.

Zope is based on the programming language Python, but you don't need to write Python code to use it. You'll do most programming in Zope with DTML (Document Template Markup Language). DTML is similar to HTML, so it's easy to get started.

Zope is more than an object-based Web development tool; it's a Web-based development environment. The Web-based environment is written with Zope. The downside is that you must edit much of your code in a browser text box. Expecting someone to code that way is considered a human rights violation in most civilized nations. To be fair, there are ways to use your own editor to write the DTML for apps, but you sacrifice the seamless feel of the Web environment to do so.

Zope attempts to be OOP (object-oriented programming) to the max. If you want to create an online shoe store, you could start by creating a shoe object based on the Zope ZClass. You would define the object as catalog-aware, which means you can do things such as sort your database of shoes.

The next step is to define the properties of a shoe object. This is the same as defining the schema for a database table. Eventually you'll add instances of your shoe object, one for each type of shoe. This is equivalent to adding rows to a database table. To do that, click a few buttons and -- presto! -- Zope will generate DTML pages for adding your data. Sort of. Zope creates the basic DTML framework, but you must manually add data entry fields.

Which brings me to the biggest problem with Zope. It has an unnecessarily high nerd factor. Zope is really very basic stuff, but it never seems basic, and too often fails to automate simple tasks. It's as if the designers of Zope got so caught up in making Zope object-oriented that they forgot that real people want to use it. They seem to have deliberately made it a difficult environment for anyone but professional programmers who are already thoroughly familiar with OOP techniques and eager to get cracking with code.

This isn't necessary. It would be easier to understand how to create a data-centric Zope application if the designers simply exposed the similarities between creating Zope objects, methods, properties, and instances with creating database tables, fields, and rows. Zope would not have had to sacrifice its technical prowess to do this. How difficult would it be to automatically populate forms with fields when creating Zope data objects? That's a common feature for comparable products.

Next week I'll tackle Enhydra and try to figure out why I like it so much more than Zope.

Related story

Zope is a powerful open-source server


Nicholas Petreley is the founding editor of LinuxWorld ( www.linuxworld.com ). Reach him at nicholas_petreley@infoworld.com.




RELATED SUBJECTS

Web Technologies

Discuss this article in our online forums

MORE >


SPONSORED WHITE PAPERS
EMC - Lower costs and improve reliability-Get the EMC CLARiiON white paper!
Ciphertrust - Are you ready for Sobig.G? Learn how to protect your email systems.
CDW - Personal attention. CDW. The Right Technology. Right Away.
EMC - Explore key performance features and capabilities of EMC ControlCenter 5.1.1.
Intel - Free Intel white paper shows you how to deploy a secure wireless LAN
Cisco - FREE WHITE PAPER: BLUEPRINT to design and implement secure VPNs
Verity, Inc. - "Mass Consolidation Hits the Web-Search Market"
McDATA - Download a FREE storage consolidation white paper from McDATA(R).
Lucent Technologies - Overcoming Common Firewall Limitations
Lucent Technologies - Leverage Your Mobile High Speed Data Access. Download Free White Paper!
Nokia - Get the scoop! Mobilizing business white papers & case studies.
BMC Software - Maximize the Potential of Enterprise Data: Free white paper!
Network Associates - Free white paper - Strategies for Optimizing Network Costs and Benefits
Entrust - Manage identities across applications. Improve productivity.
Stalker Software - CommuniGate Pro - Transform your Email and Calendaring
Remedy - A NEW Gartner Research Note:Producing Quality IT Services

Search the IDG White Paper Library:


SPONSORED LINKS

INFOWORLD MARKETPLACE


» EMC delivers high-speed image capture, storage
Learn how you can quickly capture, organize, and deliver information with EMC ApplicationXtender.
» Agentless SOA Management
SOA operational visibility in less than a day, without installing message agents - free download.
» Apply BPM and ITIL at your IT Help Desk
ServiceWise brings BPM to complete IT service while eliminating integration cost. Learn more here.
» Find IT Consultant
Post Your Project for Free. Get Bids from Thousands of Pre-Screened Consultants. Register Now!
» Metadata Management Software
MetaCenter: Plug & play metadata management software for enterprise systems. Features: data ...




 HOME  NEWS  TEST CENTER  OPINIONS  PRODUCT GUIDE  TECHINDEX   About : Advertise : Subscribe : Contact Us : Awards : Events 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy

All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses, phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

Computerworld :: Network World :: CIO :: PC World :: Darwin :: CMO :: CSO
IT Careers :: JavaWorld :: Macworld :: Mac Central :: Playlist :: GamePro :: GameStar :: Gamerhelp
ITWorld Canada :: Computerwoche :: Techworld UK :: tecChannel :: IDG.se :: IDG.no