[Zope] non-External Methods

Martijn Pieters mj@antraciet.nl
Thu, 11 Mar 1999 16:52:20 +0100


At 16:14 11/03/99 , Martijn Faassen wrote:
>Oleg Broytmann wrote:
>> 
>> Hi!
>> 
>>    That is, there are DTML Scripts and External Methods. Python code is
>> used in External Methods and Products, but never goes into Object Database.
>
>I think it's true Product python code doesn't go into the Object
>Database, but I'm unclear about what happens with External Method python
>code. You need press the 'edit' button for an external method in Zope
>each time you changed something in it and want it updated. This would
>imply Python code can indeed be part of the Object database, right?
>

No, it forces Python to recompile the code. The code itself is NOT stored
int the object database. Only instance data is stored in the object
database, no code is. Zope classes are said to change all this, aren't
they, DC?

--
M.J. Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------