Re: [Zope] Newbie questions about MVC, Continuations, Persistence

2006-07-07 Thread Chris McDonough
Hi Andrew, MVC is a pattern rather than a technology so it's mostly up to you to implement. Zope, the framework, doesn't mandate its use but it does provide facilities that make it easy to implement (via python scripts, Five views and templates, and other things). Zope isn't a

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-07-02 Thread Jim Vine
Hi, I hope it's not considered bad form to answer ones own questions on this board, but I think I've got it sussed. Reading through the ZWiki source from http://svn.zope.org I noticed the following line in the implementations: from zope.app.container.contained import Contained I added this to

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-07-01 Thread Jim Vine
Hello again, So, following the recommendations from the board I have settled on route 3 - developing a Python Product, using Zope 3. I've been refering a lot to the Zope 3 Book (particularly chapter 13 onwards) and have progressed somewhat. I've created a PropertyFolder class, which can hold

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Lennart Regebro
On 6/21/05, Jim Vine [EMAIL PROTECTED] wrote: but the Zope Book (2.7 version)'s chapter on Creating a Basic Application all seems to be through the ZMI. Unfortunately is the correct word there. Now, Zope's original appeal to me was using the graphical interface provided by the ZMI to create

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Jim Vine
On 21.Jun 2005 - 21:59:41, Jim Vine wrote: Say, for example that my Zope App in some way has a House object, which records the address, the owner, and a short description. Later on, I may wish to add further fields to record, say, the number of bedrooms, but the system is already in

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Lennart Regebro
On 6/22/05, Jim Vine [EMAIL PROTECTED] wrote: I think I've convinced myself that the complexity of my app takes it beyond method 1, but I'm strugling to get my head around the implications of selecting method 2 or 3. Am I right in thinking that either of these will result in my building a

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Philip Kilner
Hi Jim, Jim Vine wrote: I’d greatly appreciate any guidance that can be provided on these subjects. I know a lot has been said since your original query, but re-reading it I was surprised that no one had asked a fundamental question: - If the data is structured in nature and fits the

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Andreas Pakulat
On 22.Jun 2005 - 12:04:02, Jim Vine wrote: On 21.Jun 2005 - 21:59:41, Jim Vine wrote: Say, for example that my Zope App in some way has a House object, which records the address, the owner, and a short description. Later on, I may wish to add further fields to record, say, the

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Paul Winkler
On Wed, Jun 22, 2005 at 02:02:30PM +0200, Andreas Pakulat wrote: No, method 2 aka ZClasses don't involve producing a Product. Sure it does. A ZClass-based Product is still a Product. As for why I don't use ZClasses: 1) Doing everything in restricted mode is a big pain. You end up writing a

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-22 Thread Andreas Pakulat
On 22.Jun 2005 - 09:52:23, Paul Winkler wrote: On Wed, Jun 22, 2005 at 02:02:30PM +0200, Andreas Pakulat wrote: No, method 2 aka ZClasses don't involve producing a Product. Sure it does. A ZClass-based Product is still a Product. Can't remember to have created a product, but then this was

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-21 Thread Jim Vine
Thanks to those who posted suggestions - certainly gave me a few things to think about. Unfortunately I was left with one use Zope 2, one use Zope 3 and a use Plone, but maybe that's just a reflection of the fact that there's more than one Zope way to skin a cat! (yeah, I know I've over-simplified

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-21 Thread Andreas Pakulat
On 21.Jun 2005 - 21:59:41, Jim Vine wrote: Say, for example that my Zope App in some way has a House object, which records the address, the owner, and a short description. Later on, I may wish to add further fields to record, say, the number of bedrooms, but the system is already in use - if

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Lennart Regebro
On 6/17/05, Jim Vine [EMAIL PROTECTED] wrote: I'm very interested in the Object Oriented way of doing things; for example, I'm thinking about implementing houses as a folder-ish object, so it would be able to contain photos of the house in question. The biggest stumbling block I am facing is

Re: [Zope] Newbie Questions - many-many relationships? Zope 2 or 3?

2005-06-16 Thread Andreas Pakulat
On 16.Jun 2005 - 23:17:43, Jim Vine wrote: Specifically, I've been scratching my head for a while about how to handle a many-many relationship: a property owner may own more than one house; conversely, a house may have more than one co-owner - consequently it's not appropriate to have either

Re: [Zope] Newbie questions:

2005-04-11 Thread Jeffrey E. Forcier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrique Arizón wrote: Hi again, I'm starting to make up with Zope, but still basic doubts remains: Q1: When using normal python I'got used to the dir(Object) to learn new APIs/Libraries. But when trainning with my first Zope Scripts I can't.

Re: [Zope] Newbie questions:

2005-04-11 Thread Paul Winkler
On Mon, Apr 11, 2005 at 06:43:46PM -0400, Jeffrey E. Forcier wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Enrique Ariz?n wrote: Hi again, I'm starting to make up with Zope, but still basic doubts remains: Q1: When using normal python I'got used to the dir(Object) to learn

Re: [Zope] Newbie Questions

2001-01-08 Thread Alex Reid
Solved my first query using dtml-with ... hmm! Any less verbose ways? - Original Message - From: Alex Reid [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 08, 2001 2:32 PM Subject: [Zope] Newbie Questions I am finally starting to make some decent progress with Zope

Re: [Zope] Newbie Questions

2001-01-08 Thread Dennis Nichols
At 1/8/01 02:32 PM, Alex Reid wrote: - I am creating a 'form' method so I don't have to create separate forms for INSERT and UPDATE actions. This works, only how do I tell Zope to ignore the fact that dtml-var company_id doesn't exist when in INSERT mode? It is there in the value="" parameter for

RE: [Zope] Newbie Questions

2001-01-08 Thread Cornelis J. de Brabander
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Alex Reid Sent: maandag 8 januari 2001 15:33 To: [EMAIL PROTECTED] Subject: [Zope] Newbie Questions - How would I display the value at a variable whose name is stored in another variable? In Perl

Re: [Zope] newbie questions ?

2000-10-23 Thread Chris McDonough
Hi, I spent my week-end learning how to use Zope, it was a nice painful experience. Nice thanks to Zope itself, painful because of the poor docs. The How-Tos helped me a lot but it is a real mess. We know. :-) Have you checked out the Zope book? http://www.zope.org/Members/michel/ZB/.

Re: [Zope] newbie questions ?

2000-10-23 Thread Bill Anderson
Chris McDonough wrote: And by the way, it's "authentication". Every time I see "authentification", it makes my skin crawl. :-) Amen. That and "...to adminstrate a server". :^)= Bill -- E PLURIBUS LINUX ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] newbie questions ?

2000-10-23 Thread Olivier Ricou
On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: And by the way, it's "authentication". Every time I see "authentification", guess how we say in french :) Here is the solution I found to do the .htaccess feature (I haven't found where it is written) : I put in my

Re: [Zope] newbie questions ?

2000-10-23 Thread Andy McKay
PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, October 23, 2000 9:01 AM Subject: Re: [Zope] newbie questions ? On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: And by the way, it's "authentication". Every time I see "authentification", guess how we say in fr

Re: [Zope] newbie questions ?

2000-10-23 Thread Bill Anderson
Olivier Ricou wrote: On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: And by the way, it's "authentication". Every time I see "authentification", guess how we say in french :) I guess since I took 3 years of it, I am barred from guessing? ;^) -- E PLURIBUS LINUX

Re: [Zope] newbie questions ?

2000-10-23 Thread knight
Heh. authentification hah. http://www.phunc.com/Humor/Signs/ChineseRestraunt Check that out... same kind of humor. Grin. Knight On Mon, 23 Oct 2000, Bill Anderson wrote: Olivier Ricou wrote: On Mon, Oct 23, 2000 at 06:43:06AM -0400, Chris McDonough wrote: And by the way, it's

Re: [Zope] newbie questions ?

2000-10-23 Thread Chris McDonough
That's pretty funny, but what's actually funnier is you mispelling "restaurant" in your URL. :-) - Original Message - From: "knight" [EMAIL PROTECTED] To: "Bill Anderson" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 23, 2000 10:18 PM Subjec

Re: [Zope] newbie questions ?

2000-10-23 Thread knight
To: "Bill Anderson" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ? Heh. authentification hah. http://www.phunc.com/Humor/Signs/ChineseRestraunt Check that out... same kind of humor. Grin. Knight

Re: [Zope] newbie questions ?

2000-10-23 Thread knight
To: "Bill Anderson" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, October 23, 2000 10:18 PM Subject: Re: [Zope] newbie questions ? Heh. authentification hah. http://www.phunc.com/Humor/Signs/ChineseRestraunt Check that out... same kind of humor. Grin. Knight

Re: [Zope] Newbie questions: Job_board Howto, ZCatalog, Squishdot

2000-07-10 Thread Chris Withers
Meeting Maker Webmaster wrote: One last question ;-) I've seen in this mailing list that Squishdot will not work with Zope 2.2.0 until version 0.4.4... when is this version planed? I've tried to install Squisdot on the Zope 2.2.0b3 server and I get the same problem as with my "Job_Board"

Re: [Zope] newbie questions

2000-07-06 Thread Chris McDonough
Hi Frank, It sounds like your SourceSafe tie in could potentially be a fairly complex undertaking. Amos Latteier wrote an example COMObject product that will show you the mechanics of utilizing COM objects from Zope. This might help. And though I know you don't want to VC Zope objects, you

Re: [Zope] newbie questions

2000-07-06 Thread David Trudgett
At 2000-07-06 22:23 -0400, Chris McDonough [EMAIL PROTECTED] wrote: To back up the ZODB, just copy the Data.fs file in the var directory. You may safely do this while Zope is running. To restore, reinstall Zope and all the products you're using and copy the Data.fs into the var directory. I

Re: [Zope] newbie questions

2000-07-06 Thread Chris McDonough
AFAIK, it would be a bad idea a) if writes were not appends and b) if records written to the FileStorage were not written atomically. But neither is the case, so it's safe to just copy it without shutting it down. The only time this may not be the case is if it were copied during a pack

Re: [Zope] newbie questions

2000-07-06 Thread R. David Murray
On Fri, 7 Jul 2000, David Trudgett wrote: I don't understand this advice. Couldn't the file change while being read? Wouldn't a better way be to pack the database and use the Data.fs.old file as the backup? If you are a belt-and-suspenders type, sure grin. Data.fs only gets appended to,