ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  The Dynamic Duo of PEAR::DB and Smarty
Subject:   This is not separating logic from presentation
Date:   2003-04-23 10:09:22
From:   anonymous2
Response to: This is not separating logic from presentation

There is more than one type of logic. The idea behind templates is to remove business logic from your presentation. Not to remove presentation logic from your presentation. There is a bunch of logic that has every right to be in the templates - such as alternating table row colors, theme selection, special messages, etc. This has nothing to do with the business logic or data access. Try this:


http://www.massassi.com/php/template_engines/


1 to 1 of 1
  1. This is not separating logic from presentation
    2003-04-23 17:18:23  anonymous2 [View]

    • This is not separating logic from presentation
      2003-05-06 04:32:20  anonymous2 [View]

    • This is not separating logic from presentation
      2003-04-24 09:14:15  anonymous2 [View]

      • This is not separating logic from presentation
        2003-06-05 12:40:35  anonymous2 [View]

        • This is not separating logic from presentation
          2003-07-10 00:18:36  anonymous2 [View]

1 to 1 of 1