PHP vs. Zope/Plone? Which better overall and for what?
I don't know much about web stuff. I can see amazing power in Zope and thought PHP was just for quick and easy little projects. However, I keep hearing about more and more big beefy web projects and companies using PHP. Without starting a flame war, is there a chance in future the power AND ease of PHP may win out over Zope? Does Zope's architecture have some killer features that PHP can never copy? It seems Zope's steep learning curve is a showstopper for some. Please advise. Chris -- _______________________________________ Christian Seberino, Ph.D. SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A. Phone: (619) 553-9973 Fax : (619) 553-6521 Email: seberino@spawar.navy.mil _______________________________________
seberino@spawar.navy.mil wrote:
I don't know much about web stuff.
I can see amazing power in Zope and thought PHP was just for quick and easy little projects.
However, I keep hearing about more and more big beefy web projects and companies using PHP.
Without starting a flame war, is there a chance in future the power AND ease of PHP may win out over Zope? Does Zope's architecture have some killer features that PHP can never copy?
For me going from Zope to PHP oe ASP (which I have had to do at a number of occations) has been quite a disaster every time. I'm always ended up trying to implement some feature of Zope that's just not there (which I so use to by now, doing Zope since 1999). It might be that I'm just plain stupied or it might be that ones your zoped, you're hooked for "life" ;-) -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM
On Dec 15, 2004, at 7:03 PM, Johan Carlsson wrote:
It might be that I'm just plain stupied or it might be that ones your zoped, you're hooked for "life" ;-)
There is probably a reason why Tres Seaver's email .signature says "Zope Dealers"
Andrew Langmead wrote:
On Dec 15, 2004, at 7:03 PM, Johan Carlsson wrote:
It might be that I'm just plain stupied or it might be that ones your zoped, you're hooked for "life" ;-)
There is probably a reason why Tres Seaver's email .signature says "Zope Dealers"
"Psst! Little boy, wanna try some Zope? First taste is free!" ;) Tres. -- =============================================================== Tres Seaver tseaver@zope.com Zope Corporation "Zope Dealers" http://www.zope.com
Hi Chris, seberino@spawar.navy.mil wrote:
I don't know much about web stuff.
I can see amazing power in Zope and thought PHP was just for quick and easy little projects.
However, I keep hearing about more and more big beefy web projects and companies using PHP.
Without starting a flame war, is there a chance in future the power AND ease of PHP may win out over Zope? Does Zope's architecture have some killer features that PHP can never copy?
I've seen many, many, diverse web apps done with PHP. In terms of approach, size of "building block" and choice of core components PHP is very diverse. This diversity makes for quick starts and slow finishes - it's easy to tie the application in a knot. In Zope (and Plone) I see a fuller framework as a starting point, a more consistent approach and bigger building blocks. This all seems to have more "legs" to me. But that's why I'm using Zope and not PHP - obviously I've acted on what may be my prejudices.
It seems Zope's steep learning curve is a showstopper for some.
It is - what I know now has been hard won. I'd say it's been well worth it though. The advantage comes with a cost.
Please advise.
I'm reading this on [Zope], so I've zapped the cross post to [Plone] - I'd advise you not to cross post! ;-) -- Regards, PhilK Email: phil@xfr.co.uk / Voicemail & Facsimile: 07092 070518 "Work as if you lived in the early days of a better nation." - Alasdair Gray
----- Original Message ----- From: <seberino@spawar.navy.mil>
I don't know much about web stuff.
I can see amazing power in Zope and thought PHP was just for quick and easy little projects.
However, I keep hearing about more and more big beefy web projects and companies using PHP.
Without starting a flame war, is there a chance in future the power AND ease of PHP may win out over Zope? Does Zope's architecture have some killer features that PHP can never copy?
That's a good question. Telling by the number of developers and web applications already written for it (and also in the works), it looks like PHP has already won the preference of the majority of developers doing web apps. Nonetheless it doesn't mean that PHP based development is more efficient than with Python. In fact it isn't. Zope's niche in my opinion is not the 'generic apps' market, but the customized applications. I call a 'generic app' a common one like a weblog, a photo album, an even a generic portal that everyone can have (Plone). PHP followers do that stuff all the time, just for the fun, with interesting levels of cleverness and sophistication (just take a look at Sourceforge or opensourcecms.com). The key aspect of Zope is that, due to it is a framework explicitly conceived for web development, you can build custom applications faster than with PHP. And faster means also that you can take any generic app already written in Zope, and modify it in less time than it would take to do the same with a PHP app. Yes Zope has many many killer features PHP doesn't have (it is a framework while PHP is just a language to say the least), but you've mentioned the steep learning curve, and that means you've already found the reason why PHP-MySQL is more popular than Zope. Zope is not just for the fun. It's for serious high-end web application development. Ausum
It seems Zope's steep learning curve is a showstopper for some.
Please advise.
Chris -- _______________________________________
Christian Seberino, Ph.D. SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A.
Phone: (619) 553-9973 Fax : (619) 553-6521 Email: seberino@spawar.navy.mil _______________________________________ _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Hi, I think you should re-phrase your question. You are comparing a Programming language to an Application Development platform (Zope) and a content managment system. Do you mean to compare PHP CMS systems such as Mambo, Drupal, Midgard etc.? Because I've asked that question in the past and got a lot of helpful responses. The general tone was, although Zope/Plone have a steep learning curve, the power is the flexibility. Using PHP CMS systems are quite nice and easy with a lower learning curve in the beginning but your more likely to find things you just can't do without significant modifications. Of course, I have not investigated PHP solutions in depth, only Plone because of the usability out of the box and flexibility. Regards, Gareth
seberino@spawar.navy.mil wrote:
I don't know much about web stuff.
I can see amazing power in Zope and thought PHP was just for quick and easy little projects.
However, I keep hearing about more and more big beefy web projects and companies using PHP.
And ?
Without starting a flame war, is there a chance in future the power AND ease of PHP may win out over Zope?
Power ? Which "power" ?
Does Zope's architecture have some killer features that PHP can never copy?
Zope's architecture IS the killer feature that PHP can never copy. Understand that Zope is an application server, while PHP is a hack meant to be a templating language.
It seems Zope's steep learning curve is a showstopper for some.
May be. -- Bruno Desthuilliers Développeur bruno@modulix.org
On Wednesday 15 December 2004 17:40, seberino@spawar.navy.mil wrote:
However, I keep hearing about more and more big beefy web projects and companies using PHP.
I also recently visited a client who had a copy of "Writing Web Applications in RPG" on his desk, but I wouldn't necessarily want to do it. I would not personally ever develop a large web app in PHP, for much the same reason that I wouldn't develop a large client-side app in C. Both are clearly possible, but I firmly believe that much better alternatives exist now.
Without starting a flame war, is there a chance in future the power AND ease of PHP may win out over Zope?
Absolutely zero. As long as Zope is still maintained, it hasn't "lost". I've written a *lot* of my company's application stack in Python. Using Zope was kind of a no-brainer, since I can call the exact same methods from within Zope as from my other clients. There's basically no support for PHP outside of the web environment; although there's a command-line interpreter for it, I've literally never once seen it used.
It seems Zope's steep learning curve is a showstopper for some.
It's steep, true, but also very short. It took me a little while to stop fighting its design (I'd most recently written PHP before I discovered Zope and kept wanting to develop Zope in the same way I'd written PHP), but once I did, the payoff was immediate and enormous. -- Kirk Strauser The Day Companies
On Fri, 17 Dec 2004 11:50:05 -0600, Kirk Strauser <kirk@daycos.com> wrote:
I would not personally ever develop a large web app in PHP, for much the same reason that I wouldn't develop a large client-side app in C. Both are clearly possible, but I firmly believe that much better alternatives exist now.
I do that at work, a huge PHP app. It's a maintenance nightmare.
I've written a *lot* of my company's application stack in Python. Using Zope was kind of a no-brainer, since I can call the exact same methods from within Zope as from my other clients. There's basically no support for PHP outside of the web environment; although there's a command-line interpreter for it, I've literally never once seen it used.
I have. I've written an IRC bot in CLI php ;) There's also GTK PHP, but it's not designed for it - Python remains far more structured and far easier to maintain.
It seems Zope's steep learning curve is a showstopper for some.
It's steep, true, but also very short. It took me a little while to stop fighting its design (I'd most recently written PHP before I discovered Zope and kept wanting to develop Zope in the same way I'd written PHP), but once I did, the payoff was immediate and enormous.
I tried learning Zope once and failed. Then I sat down and worked through the Zope book, and it made it much easier. -- Phillip Hutchings http://www.sitharus.com/ sitharus@gmail.com / sitharus@sitharus.com
I realize that this may not be your "stock" answer, especially on sites devoted to Zope/Plone, but to me, asking the question in this way is a little like asking a carpenter "Which tool is better, a saw or a drill?" It depends upon what you intend to make. Our company has built applications using both Zope/Plone (a Court document management system) and PHP (a public health site) and, to my mind, there is no simple answer. Among the issues you need to consider is what kind of activity will the site need to support, what is the size and scope of the project, what is the lifetime of the project (an important consideration when you are dealing with the rapidly changing world of web applications), who will maintain it and what are their skill levels. Without considering these in some detail, the question of which is better is unanswerable (in spite of what some may suggest). As I mentioned, one of the most important considerations is the life span of the project. Many of the advances and proposed changes to CSS, the Document Object Model (DOM) and the ability to manipulate the DOM in browsers, XML/XSL/XSLT, etc., will change what people expect of the behavior of web applications five years from now. Just like practically no one codes web applications strictly in HTML, I expect that five years (or less), hence, there will be tools and methodologies far better than either PHP or Zope, or one or both of those will have evolved to the point where what you build, today, will become a significant support issue. Zope/Plone is, essentially, an applications, designed to support the management of information within a given framework. To the extent that this framework already incorporates many kinds of business processes such as collaboration and workflow, you can build many "applications" with Zope out of the box and with minimal programming. In some cases, however, frameworks can also be constraining, which is one of there reasons that new frameworks are always being invented. PHP is much less constraining and much more flexible (although Python can certainly be extended as can Zope), but as a programming language it lacks even the simplest framework for building applications. There are commercial (and noncommercial) add-ons to PHP from companies like WebAssist and open source solutions from Sourceforge, but IMHO the more these try to look like Zope the easier using Zope becomes. I disagree with some who suggest that you can't or won't code a large application in PHP. I have certainly built templates in PHP which are used to render database driven content and managed to support applications with tens of thousands of virtual pages. But, again, if such things as content management and workflow are an important component of your application, starting with PHP would put you at a significant disadvantage. Put another way, it is very likely that 60-90% of what you want to do has already been done by someone and there probably exists one or more open source implementations. Characterize your application and its requirements and then look for something that gets you most of the way there, with little in the way of programming. Then be sure that what you pick as your 60% solution can be extended to address the other N%. Chances are you won't want to start with PHP, but then again, you might. If your application requires many different types of behaviors with very few stereotypic operations, you may want to use a programming language rather than a framework such as Zope. Sean McLinden
On Wed, 15 Dec 2004 15:40:11 -0800, seberino@spawar.navy.mil <seberino@spawar.navy.mil> wrote:
I don't know much about web stuff.
I can see amazing power in Zope and thought PHP was just for quick and easy little projects.
However, I keep hearing about more and more big beefy web projects and companies using PHP.
Without starting a flame war, is there a chance in future the power AND ease of PHP may win out over Zope? Does Zope's architecture have some killer features that PHP can never copy?
this *is* the zope list afterall.. :)
It seems Zope's steep learning curve is a showstopper for some.
it was, in the late 90s. i first stumbled upon zope-1.x, and tried to grok it. no go. then, i tripped on zope again in 99, zope-2.0.x, and started to get what zope is and how to use it. then, there were not much documentation, compared to what we have now. now we have zopelabs.com, the zopebook (both at zope.org and plope.org), zopewiki.org, and many many more but once you got the zen of zope, it's better than orgasm (or one might think ;)) and zeo seals everything for me :)) well, probably replication.. that's doable now (with dirstorage) but ... holiday wish list? my thoughts? hang in there, and you *will* get that .. "hey, so that's how it goes/works/etc .."
Please advise.
Chris -- _______________________________________
Christian Seberino, Ph.D. SPAWAR Systems Center San Diego Code 2872 49258 Mills Street, Room 158 San Diego, CA 92152-5385 U.S.A.
Phone: (619) 553-9973 Fax : (619) 553-6521 Email: seberino@spawar.navy.mil _______________________________________ _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- http://myzope.kedai.com.my - my-zope.org
participants (12)
-
Anderson -
Andrew Langmead -
Ausum Studio -
Bakhtiar A Hamid -
bruno modulix -
Johan Carlsson -
Kirk Strauser -
mclinden@informed.net -
Philip Kilner -
Phillip Hutchings -
seberino@spawar.navy.mil -
Tres Seaver