[Zope] HiperDom available outside of Zope?

2001-01-26 Thread Hamish Lawson
Are the XML templating facilities of HiperDom available outside of Zope as a Python module, or are there intentions in that direction? Hamish Lawson Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or

Re: [Zope] Difference between Methods and Scripts?

2000-12-14 Thread Hamish Lawson
nd to any particular object, although they > have access to their context, their container, and their selves. Thanks for the explanation. I'm glad there is indeed a conceptual rationale behind the names. Hamish Lawson = Ham

[Zope] Difference between Methods and Scripts?

2000-12-14 Thread Hamish Lawson
he presentation category. If the difference is explained in the book, please excuse my having missed it; if not, I'd welcome an explanation, and perhaps it would be worthwhile including it in the book too. Hamish Lawson = Hamish Laws

Re: [Zope] [BUG] [Zserver] GET and HEAD give different MIME types

2000-11-29 Thread Hamish Lawson
caches, logs or hit counters), then strictly it would be breaking the semantics of GET, which is meant to be idempotent - capable of being called multiple times without meaningfully changing the state of the server-side system or application. Requests that can change the state are supposed to u

Re: [Zope] DC request re: Objection to Python Script Name

2000-11-24 Thread Hamish Lawson
k, and Script is a reasonable choice. Is it intended to rename DTML Method, ZSQL Method, etc to be DTML Script, SQL Script, etc? For the sake of consistency I'm hoping so, and I think it's important that these revisions also make it into the book. Onwards! Hamish Lawson _

Re: [Zope] Objection to Python Script Name

2000-11-23 Thread Hamish Lawson
Method, and leaves us to qualify it by the natural name of the implementation language - Python, Perl, DTML, SQL, Tcl, whatever. Hamish Lawson Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free

[Zope] Python Method name candidate

2000-11-21 Thread Hamish Lawson
rally for any entity that Zope regards as a method; hence DTML ZMethod, Perl ZMethod, SQL ZMethod, etc. and their unrestricted counterparts - DTML ZMethod (Unrestricted), Perl ZMethod (Unrestricted), SQL ZMethod (Unrestricted), etc. Hamish Lawson

[Zope] PTK good for MyNetscape-style read-only personalised portals?

2000-11-17 Thread Hamish Lawson
I'm looking to put together a portal site where members can choose from various content sources and personalise the layout but wouldn't be authoring content, similar to sites like MyNetscape and MyYahoo. Is the PTK good for this? Ham

[Zope] ZMethod and language variants

2000-11-09 Thread Hamish Lawson
> Considering that there aren't (yet) other language variants, and that > I would usually use the restricted kind, I would normally just > say "ZMethod". Only if there were some potential confusion would I > say "Unrestricted zmethod", or the full title. My proposal that ZMethod be used gene

[Zope] Python ZMethod (was Python Zope Method as option for renamed Python Method?)

2000-11-08 Thread Hamish Lawson
I suggested the term Zope Method for anything Zope regards as a method, giving Python Zope Method, Perl Zope Method, DTML Zope Method, SQL Zope Method, etc. But Chris Withers thought those to be too long and unwieldy. OK, what about ZMethod? Thus Python ZMethod, Perl ZMethod, DTML ZMethod, SQL ZMe

[Zope] Python Zope Method as option for renamed Python Method?

2000-11-08 Thread Hamish Lawson
d, Perl Zope Method, DTML Zope Method, SQL Zope Method, etc. Is it too late to add the option for Python Zope Method to the poll? Hamish Lawson Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free

[Zope] Roles as members of other roles?

2000-10-17 Thread Hamish Lawson
Staff role consisting of a number of users, then various other roles throughout a company website could be allocated to the MarketingStaff group collectively rather than having to be allocated individually to each member of this group. Hamish L

Re: [Zope] How to use DocumentTemplate custom formats from Python?

2000-08-31 Thread Hamish Lawson
Var module, but I don't see an obvious way to register my own modifier without hacking the module. Hamish Lawson = Hamish Lawson [EMAIL PROTECTED] Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yah

Re: [Zope] How to use DocumentTemplate custom formats from Python?

2000-08-31 Thread Hamish Lawson
examples of both look near the end /DocumentTemplate/DT_Var.py Thanks. I did as below, which worked. Is that the official way? - I couldn't see any dedicated function to register a format. DT_Var.special_formats['javascript_quote'] = javascript_quote Hamish Lawson _

[Zope] How to use DocumentTemplate custom formats from Python?

2000-08-31 Thread Hamish Lawson
( 'page.dtml', {'javascript_quote': javascript_quote} ) print template(None, {'data': data}) But it complains that not everything was converted, presumably because it is trying to interpret the fmt="javascript_quote" as a C-styl

[Zope] Re: Messing with the namespaces stack

2000-06-30 Thread Hamish Lawson
haviour will need to use these wrappers? I think what I'm after is the ability to alter the parents of the containing folder itself, so that any contained method automatically has this modified acquisition path. Hamish Lawson

[Zope] (no subject)

2000-06-29 Thread Hamish Lawson
sume it involves modifying the folders PARENTS list, but I wasn't quite sure how to do that. Hamish Lawson = Hamish Lawson [EMAIL PROTECTED] Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your f

Re: [Zope] Prototyped folders?

2000-06-28 Thread Hamish Lawson
o I'd welcome the insights that others more experienced than me would bring. Hamish Lawson University of St Andrews, Scotland Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie addre

[Zope] Re: Prototyped folders?

2000-06-28 Thread Hamish Lawson
onable amount of Python experience, I'm just starting on Zope development. Depending on how I get on, I may take you up on your offer! Hamish Lawson = Hamish Lawson [EMAIL PROTECTED] Do You Yahoo!? Get your free @yahoo.co.u

[Zope] Prototyped folders?

2000-06-27 Thread Hamish Lawson
ed as an instance of (say) PrototypedFolder with a pointer to the folder it wanted to use as a prototype. Does such a mechanism exist for Zope? Hamish Lawson University of St Andrews, Scotland Do You Yahoo!? Get your free @yahoo.co.uk address at h

Re: [Zope] Generating products that perform a smart clone of a master site?

2000-06-27 Thread Hamish Lawson
t and Self objects). Hamish Lawson Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie ___ Zope maillist

Re: [Zope] Generating products that perform a smart clone of a master site?

2000-06-27 Thread Hamish Lawson
single PrototypedFolder class (though obviously pointing to different folders as their prototype), thus drastically reducing the number of classes required. But I don't know whether such a prototype mechanism exists for Zope. Hamish Lawson University of St Andrews, Scotland __

[Zope] Generating products that perform a smart clone of a master site?

2000-06-25 Thread Hamish Lawson
that a master site could contain folders? Furthermore I'd like a tutor to be able to visit their productised site to update it, without seeing a lot of alien stuff; changes to the master site should be reflected in all instances of the site. Am I on the right lines here? Any pointers woul

[Zope] Object URLs like Zope with Java servlets / EJBs?

2000-06-22 Thread Hamish Lawson
tances, or whether they only provide URLs to the servlets/EJBs themselves, with passed parameters being used instead to specify a particular instance? Hamish Lawson Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.y