RE: [Zope] Design Q: Product vs. External Methods

2001-01-15 Thread Max Møller Rasmussen

From: Oleg Broytmann [mailto:[EMAIL PROTECTED]]

>   I can assure it is. I run zope.net.ru in debug mode, and did debugging
>of an External Method that draw the left column. After I modified the
>source file Zope reread it, sure.

I have never had problems with that either. It autorefreshes nicely.

regards Max M

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Design Q: Product vs. External Methods

2001-01-15 Thread Chris Withers

Oleg Broytmann wrote:
> 
> On Mon, 15 Jan 2001, Chris Withers wrote:
> > > if you run zope in debug mode (./start -D) you won't have to hit 'edit" -
> > > all external methods are re-read every time you access them.
> > >
> > That hasn't been my experience, but maybe I'm mistaken :-S
> 
>I can assure it is. I run zope.net.ru in debug mode, and did debugging
> of an External Method that draw the left column. After I modified the
> source file Zope reread it, sure.

Fair enough then :-)

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Design Q: Product vs. External Methods

2001-01-15 Thread Oleg Broytmann

On Mon, 15 Jan 2001, Chris Withers wrote:
> > if you run zope in debug mode (./start -D) you won't have to hit 'edit" -
> > all external methods are re-read every time you access them.
> >
> That hasn't been my experience, but maybe I'm mistaken :-S

   I can assure it is. I run zope.net.ru in debug mode, and did debugging
of an External Method that draw the left column. After I modified the
source file Zope reread it, sure.

Oleg.

 Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Design Q: Product vs. External Methods

2001-01-15 Thread Chris Withers

Jens Vagelpohl wrote:
> 
> if you run zope in debug mode (./start -D) you won't have to hit 'edit" -
> all external methods are re-read every time you access them.
> 
> jens

That hasn't been my experience, but maybe I'm mistaken :-S

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Design Q: Product vs. External Methods

2001-01-15 Thread Jens Vagelpohl

if you run zope in debug mode (./start -D) you won't have to hit 'edit" -
all external methods are re-read every time you access them.

jens



on 1/15/01 6:04, [EMAIL PROTECTED] at
[EMAIL PROTECTED] wrote:

> I also would like to know, if it is possible to update a bunch of external
> method zope objects simultaneously, or do I have to click 'edit' on every
> single external method object after editing the corresponding python method? 


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Design Q: Product vs. External Methods

2001-01-15 Thread Chris Withers

[EMAIL PROTECTED] wrote:
> 
> Assume, I have a bunch of python modules / scripts, which I want to make
> accessible via zope. Is it better to use the external methods to bring the
> python modules into zope or should I make a Product out of my python modules.

Well, do the python modules contain methods or classes?
If classes, turn them into a Zope products.
IF methods, then use them as external methods.

> I also would like to know, if it is possible to update a bunch of external
> method zope objects simultaneously, or do I have to click 'edit' on every
> single external method object after editing the corresponding python method?
> This would be a bit tedious with 30 or more external methods...

Yeah, that is a pain, despite assurances that you shouldn't need to do
that :-S
probably the quickest way would just be to restart the Zope server...

cheers,

Chris

___
Zope maillist  -  [EMAIL PROTECTED]
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] Design Q: Product vs. External Methods

2001-01-15 Thread tilo . schwarz

Hi Zope-Experts,

one question concerning design using zope:

Assume, I have a bunch of python modules / scripts, which I want to make 
accessible via zope. Is it better to use the external methods to bring the 
python modules into zope or should I make a Product out of my python modules.

I also would like to know, if it is possible to update a bunch of external 
method zope objects simultaneously, or do I have to click 'edit' on every 
single external method object after editing the corresponding python method? 
This would be a bit tedious with 30 or more external methods...

Thanks a lot for any hints!

Tilo

___
Zope maillist  -  [EMAIL PROTECTED]
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 )