Howdy all, I am new to Zope and python. I have configured a zope server and created a rudimentary site as a learning tool (see my sig). I have three concerns atm. 1. I find navigating the docs on zope.org an exercise in frustration. Can somebody point me to the reference that outlines what each of the default installations permissions mean? Like a glossary of terms .. something like "access transient objects means blah" as well as general settings recommendations. 2. Many of the examples I find in the docs just don't work. For instance, adding a zclass. Following the directions yields results nothing like those described in the docs. Is this a version problem? Python problem? Platform problem (development on XP, [live site is on debian, but no exports from one to the other has occurred yet because I have as yet to get windows ver working right it seems]). Following the advice of a local Zope guru, I downgraded my activestate python 2.2 to a vanilla python 2.1.3, and moved the zopesite from Program Files to the %systemroot% using windows uninstall and then reinstalling. Now zope refuses to start as a service and it seems to want to compile its modules against the python installation instead of its own native python (windows zope binary install). I also have three dead zope instances in my services tab in windows that I desperately want to get rid of as they refuse to go away. Silly me forgot to do a restore point before installing zope so stepping back is not an option. How can I uninstall python and zope completely from my system as if it wasn't there? Then for a winXP Pro SP1 box what is the recommended versions for stable and useful zope self-instruction. As far as Zope itself goes, I am in love with it. It is a brilliant concept that I can not wait to deploy. Cheers Shad _______________________________________________________________________ Have an article, story or essay you want to publish online? We need content. Ascendant: food for the thinking mind. http://www3.sympatico.ca/sberaud _______________________________________________________________________
Following the advice of a local Zope guru, I downgraded my activestate python 2.2 to a vanilla python 2.1.3
Hi Shad - this'd be useful advice on Unix but the best thing to do on Windows is just use the binary distribution of Zope as it comes. It uses it's own installation of Python and that's version 2.1.3 already.
For instance, adding a zclass.
As far as I know (and I'm no authority) ZClasses aren't really the way to do things any more. Your best bet is probably ZPT's and Python scripts, then eventually should you need to, develop Python-based products. Cheers, Julian.
On Tue, Oct 08, 2002 at 05:15:59PM +1000, Julian Melville wrote:
As far as I know (and I'm no authority) ZClasses aren't really the way to do things any more. Your best bet is probably ZPT's and Python scripts, then eventually should you need to, develop Python-based products.
Well, zclasses vs. zpt & python script is comparing apples and oranges... like saying "don't use a car, use some wheels and engines." ;-) As for zclasses being "not the way", there's some disagreement about this. I don't use 'em myself (lately I've been building on EasyProduct when I want to a new class quickly); others have reported problems transitioning a zclass between zope versions; but Dieter Maurer, who knows as much of zope as anybody, says he's been doing it for years without problems. --PW Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
I am a bit jargon challenged when it come to Zope and Python. Could you please clarify ZPT? I have not come across this term yet, or if I have it is only in the long form. What I really need right now, more than a debate on what works best, is, as I asked in my first email, some pointers to the FM (Fine Manual) so I can R(ead) it. ;) What would be the series and order of how-tos (that work) I should read to get myself up to speed without having to spend a year trying to plod through all this on my own? Because, so far, the reading I have done on my own, and the examples contained there-in, do not work. Some even have basic coding errors like missing (') in the example snippets. *boggle* And how do I kill the services tab and registry leftovers from an uninstall in windows XP? XP refuses to let the keys be deleted as they correspond to the Windows service. This should have been removed during the uninstall. Thanks Shad _______________________________________________________________________ Have an article, story or essay you want to publish online? We need content. Ascendant: food for the thinking mind. http://www3.sympatico.ca/sberaud _______________________________________________________________________ ----- Original Message ----- From: "Paul Winkler" <pw_lists@slinkp.com> To: <zope@zope.org> Sent: Tuesday, October 08, 2002 10:08 AM Subject: Re: [Zope] New to zope
On Tue, Oct 08, 2002 at 05:15:59PM +1000, Julian Melville wrote:
As far as I know (and I'm no authority) ZClasses aren't really the way to do things any more. Your best bet is probably ZPT's and Python scripts, then eventually should you need to, develop Python-based products.
Well, zclasses vs. zpt & python script is comparing apples and oranges... like saying "don't use a car, use some wheels and engines." ;-)
As for zclasses being "not the way", there's some disagreement about this. I don't use 'em myself (lately I've been building on EasyProduct when I want to a new class quickly); others have reported problems transitioning a zclass between zope versions; but Dieter Maurer, who knows as much of zope as anybody, says he's been doing it for years without problems.
--PW
Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Look at the "How To Build a Searchable Job Board" tutorial. It is a how to located on Zope.org and will give you a lot of the basics such as basic dtml, working with Catalogs, ZClasses, searching ZCatalog, Working with reports, etc. It does work. Michael On Tuesday 08 October 2002 12:50 pm, Shad Young wrote:
I am a bit jargon challenged when it come to Zope and Python. Could you please clarify ZPT? I have not come across this term yet, or if I have it is only in the long form. What I really need right now, more than a debate on what works best, is, as I asked in my first email, some pointers to the FM (Fine Manual) so I can R(ead) it. ;)
What would be the series and order of how-tos (that work) I should read to get myself up to speed without having to spend a year trying to plod through all this on my own? Because, so far, the reading I have done on my own, and the examples contained there-in, do not work. Some even have basic coding errors like missing (') in the example snippets. *boggle*
And how do I kill the services tab and registry leftovers from an uninstall in windows XP? XP refuses to let the keys be deleted as they correspond to the Windows service. This should have been removed during the uninstall.
Thanks Shad _______________________________________________________________________
Have an article, story or essay you want to publish online? We need content. Ascendant: food for the thinking mind. http://www3.sympatico.ca/sberaud _______________________________________________________________________
----- Original Message ----- From: "Paul Winkler" <pw_lists@slinkp.com> To: <zope@zope.org> Sent: Tuesday, October 08, 2002 10:08 AM Subject: Re: [Zope] New to zope
On Tue, Oct 08, 2002 at 05:15:59PM +1000, Julian Melville wrote:
As far as I know (and I'm no authority) ZClasses aren't really the way
to do
things any more. Your best bet is probably ZPT's and Python scripts,
then
eventually should you need to, develop Python-based products.
Well, zclasses vs. zpt & python script is comparing apples and oranges... like saying "don't use a car, use some wheels and engines." ;-)
As for zclasses being "not the way", there's some disagreement about this. I don't use 'em myself (lately I've been building on EasyProduct when I want to a new class quickly); others have reported problems transitioning a zclass between zope versions; but Dieter Maurer, who knows as much of zope as anybody, says he's been doing it for years without problems.
--PW
Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Tuesday 08 October 2002 12:50 pm, Shad Young wrote:
I am a bit jargon challenged when it come to Zope and Python. Could you please clarify ZPT?
Zope Page Templates, also known as Page Templates. It's a more recent alternative to DTML; quite different, with some advantages (and arguably disadvantages). You'll also see reference to TAL, TALES, and METAL which are what the Page Templates language is constructed from. (roughly: TAL= Template Attribute Language, kinda generic; TALES = TAL Expression SYntax, specific to ZPT I think; and METAL = ... er... I forget. It's the macro language you can use in ZPT.)
What would be the series and order of how-tos (that work) I should read to get myself up to speed without having to spend a year trying to plod through all this on my own? Because, so far, the reading I have done on my own, and the examples contained there-in, do not work. Some even have basic coding errors like missing (') in the example snippets. *boggle*
The online version of the Zope Book should be pretty up-to-date. It includes lots of examples, and the material is presented in a pretty sensible progression. http://www.zope.org/Documentation/Books/ZopeBook/current/index_html Any errors in the text can and should be reported immediately via the "talkback" feature of the online version; these comments periodically get folded in to the main text. I personally can't vouch for the correctness of every code example, but they're a lot more likely to be updated than the average HOWTO on zope.org - many of which are good, but many of which have not aged well. -- Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
On Tue, Oct 08, 2002 at 12:25:45PM -0700, Paul Winkler wrote:
The online version of the Zope Book should be pretty up-to-date. It includes lots of examples, and the material is presented in a pretty sensible progression.
.... oops, I should have maybe pointed you to the 2.6 edition. While zope 2.6 is still beta, the 2.6 version of the book has had a *lot* of editing, including addressing the comments from the 2.5 edition. http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Preface.stx --PW Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
The Fine Manual is at http://www.zope.org/Documentation/Books/ZopeBook/current/index_html It should get you started. The registry thing.. ugh. Yes, you're right, the service should have been uninstalled. It's a bug in the uninstaller. Windows makes it exceedingly difficult to get rid of this entry without having Zope installed. I would reinstall Zope using the same options that you did when you installed it for the first time then from a DOS window try running: python.exe YourZopeDirectory\ZServer\ZService.py remove HTH, - C On Tue, 2002-10-08 at 14:50, Shad Young wrote:
I am a bit jargon challenged when it come to Zope and Python. Could you please clarify ZPT? I have not come across this term yet, or if I have it is only in the long form. What I really need right now, more than a debate on what works best, is, as I asked in my first email, some pointers to the FM (Fine Manual) so I can R(ead) it. ;)
What would be the series and order of how-tos (that work) I should read to get myself up to speed without having to spend a year trying to plod through all this on my own? Because, so far, the reading I have done on my own, and the examples contained there-in, do not work. Some even have basic coding errors like missing (') in the example snippets. *boggle*
And how do I kill the services tab and registry leftovers from an uninstall in windows XP? XP refuses to let the keys be deleted as they correspond to the Windows service. This should have been removed during the uninstall.
Thanks Shad _______________________________________________________________________
Have an article, story or essay you want to publish online? We need content. Ascendant: food for the thinking mind. http://www3.sympatico.ca/sberaud _______________________________________________________________________
----- Original Message ----- From: "Paul Winkler" <pw_lists@slinkp.com> To: <zope@zope.org> Sent: Tuesday, October 08, 2002 10:08 AM Subject: Re: [Zope] New to zope
On Tue, Oct 08, 2002 at 05:15:59PM +1000, Julian Melville wrote:
As far as I know (and I'm no authority) ZClasses aren't really the way to do things any more. Your best bet is probably ZPT's and Python scripts, then eventually should you need to, develop Python-based products.
Well, zclasses vs. zpt & python script is comparing apples and oranges... like saying "don't use a car, use some wheels and engines." ;-)
As for zclasses being "not the way", there's some disagreement about this. I don't use 'em myself (lately I've been building on EasyProduct when I want to a new class quickly); others have reported problems transitioning a zclass between zope versions; but Dieter Maurer, who knows as much of zope as anybody, says he's been doing it for years without problems.
--PW
Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Thank you all, That has provided the basic help I needed :) I had tried the book before, but until Paul mentioned the talk back feature I did not notice the "com on/com off button" Now it is readable. *ROFL* *rolls up sleeves and pours himself a coffee*. "The Zope Book, Chapter 1: Introducing Zope This chapter explains what Zope is and who it's for. It describes in broad... " See you in a few days :) Cheers Shad _______________________________________________________________________ Have an article, story or essay you want to publish online? We need content. Ascendant: food for the thinking mind. http://www3.sympatico.ca/sberaud _______________________________________________________________________ ----- Original Message ----- From: "Shad Young" <foxwolfen@hotmail.com> To: <zope@zope.org> Sent: Tuesday, October 08, 2002 2:50 PM Subject: Re: [Zope] New to zope
I am a bit jargon challenged when it come to Zope and Python. Could you please clarify ZPT? I have not come across this term yet, or if I have it is only in the long form. What I really need right now, more than a debate on what works best, is, as I asked in my first email, some pointers to the FM (Fine Manual) so I can R(ead) it. ;)
What would be the series and order of how-tos (that work) I should read to get myself up to speed without having to spend a year trying to plod through all this on my own? Because, so far, the reading I have done on my own, and the examples contained there-in, do not work. Some even have basic coding errors like missing (') in the example snippets. *boggle*
And how do I kill the services tab and registry leftovers from an uninstall in windows XP? XP refuses to let the keys be deleted as they correspond to the Windows service. This should have been removed during the uninstall.
Thanks Shad _______________________________________________________________________
Have an article, story or essay you want to publish online? We need content. Ascendant: food for the thinking mind. http://www3.sympatico.ca/sberaud _______________________________________________________________________
----- Original Message ----- From: "Paul Winkler" <pw_lists@slinkp.com> To: <zope@zope.org> Sent: Tuesday, October 08, 2002 10:08 AM Subject: Re: [Zope] New to zope
On Tue, Oct 08, 2002 at 05:15:59PM +1000, Julian Melville wrote:
As far as I know (and I'm no authority) ZClasses aren't really the way to do things any more. Your best bet is probably ZPT's and Python scripts, then eventually should you need to, develop Python-based products.
Well, zclasses vs. zpt & python script is comparing apples and oranges... like saying "don't use a car, use some wheels and engines." ;-)
As for zclasses being "not the way", there's some disagreement about this. I don't use 'em myself (lately I've been building on EasyProduct when I want to a new class quickly); others have reported problems transitioning a zclass between zope versions; but Dieter Maurer, who knows as much of zope as anybody, says he's been doing it for years without problems.
--PW
Paul Winkler "Welcome to Muppet Labs, where the future is made - today!"
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (6)
-
Chris McDonough -
Julian Melville -
Michael -
Paul Winkler -
Shad Young -
Shad Young