[Zope] Making Variations More Compact

Dieter Maurer dieter@handshake.de
Mon, 16 Jul 2001 20:19:28 +0200 (CEST)


Ben Ocean writes:
 > #1: If I want to serve different pages depending on variables such as 
 > screen res, language, etc., is there a way (or product) whereby after 
 > testing for those variables I can capture the results of my test into a 
 > Zope method? ....
In my view, this is a typical task for a session object, not
a Zope method. Search Zope.org for "Session".

 > #2: Is there a way to create *one* big Zope method with a bunch of little 
 > Zope methods within it? For example, if I want to make my pages available 
 > in multiple languages, then I need to assign <dtml-var xxx> tags to all 
 > text. Next, I need to create these Zope methods. Well, that's a lot of Zope 
 > methods! It would be easier if I could reference a page that had them all 
 > in it, and Zope could search for the right ones. In other words, a page of 
 > all translation of text into English for *one* Web page with all the 
 > associated Zope methods, etc. Is this possible?
There are very good products for localization.
Search Zope.org for them.


Dieter