[ZDP] BackTalk to Document The Zope Book (2.5 Edition)/Using Basic Zope Objects

nobody@nowhere.com nobody@nowhere.com
Mon, 09 Sep 2002 11:04:44 -0400


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

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

    Because scripts are so powerful and flexible, their possible uses are
    endless.  Scripts are primarily used to write what is called *business
    logic*.  Business logic is different than presentation logic.
    Presentation logic is usually written in a presentation language, like
    DTML, and its purpose is to display information to a user.  Business
    logic is usually written in a scripting language, and its purpose is to
    manipulate information that comes from content sources (like documents
    or databases) or manipulate other objects.  Often, presentation logic
    is based *on top of* business logic.

      % Anonymous User - July 3, 2002 3:14 pm:
       I don't know whether "business logic" is a standard term for the scripting languages and the programs that
       work with the information delivery, but I don't really agree with it. Not all, and nearly not all the
       scripting is business related and its logic isn't always dealing with e-commerse-type of functionality. Thus,
       for example some script doing firewall log parcing and delivering it to the web-interface does more of an
       administrative task then business with its logic.
       Just an opinion.

      % Anonymous User - Sep. 9, 2002 11:04 am:
       A good point. Not that you should use a different term than Business Logic (if that's the standard term), but
       you should note that it's not just for "business" processes. Otherwise, some readers will worry that - since
       they aren't primarily interested in financial code - they're in the wrong place.