[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Dynamic Content with DTML

webmaster@zope.org webmaster@zope.org
Wed, 22 Jan 2003 20:46:42 -0500


A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZopeBook/current/DTML.stx#1-1

---------------

  DTML is a server side scripting language, like SSI, PHP, ASP, and JSP.
  This means that DTML commands are executed by Zope at the server, and the
  result of that execution is sent to your web browser. By contrast,
  client-side scripting languages like Javascript are not processed by the
  server, but are rather sent to and executed by your web browser.

    % Anonymous User - June 13, 2002 9:57 pm:
     ASP is not actually a scripting language. It is a bunch of objects that may be manipulated by a variety of
     different scripting languages (much like Zope will work with Python and Perl). For example, in ASP a few
     objects are the session object, the request object, and the response object. You call static methods on those
     objects using one of the supported scripting languages. For example, to store a session-state variable, you
     would write: session("myVarName") = "Alpha" ... To write some output to the browser you would write: response.write("hello
     world") ... to read values from the querystring, you might write something such as clientName =
     request.querystring("clientname")

    % Anonymous User - June 30, 2002 3:59 pm:
     Which, in combination with a scripting-language like VBScript, JavaAScript or 
     Python, is about the same thing as PHP, JSP, SSI (although slightly more 
     powerful :) and DTML: an in-line server-side HTML-preprocessing technique...

    % Anonymous User - Jan. 22, 2003 8:46 pm:
     Does DTML+Page Templates replace the need for JavaScript, WS