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
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
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
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
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
_
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
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
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
> 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
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
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
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
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
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
_
(
'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
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
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
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
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
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
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
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
__
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
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
24 matches
Mail list logo