Index: openacs-4/packages/acs-templating/www/doc/migration.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/migration.adp,v diff -u -N -r1.5 -r1.5.2.1 --- openacs-4/packages/acs-templating/www/doc/migration.adp 25 Apr 2018 08:42:17 -0000 1.5 +++ openacs-4/packages/acs-templating/www/doc/migration.adp 5 Oct 2019 13:29:58 -0000 1.5.2.1 @@ -40,7 +40,7 @@ ns_puts, ns_write etc., which don't wait till the headers are written or the page is completed; they may act differently than you expect.
  • If you can, put code in the Tcl file, not between <% -%> in the adp page.
  • Put HTML in the adp page, not int the Tcl program. Put reusable +%> in the adp page.
  • Put HTML in the adp page, not in the Tcl program. Put reusable HTML fragments in a separate adp file (think of it as a widget) that will be <include>d from several pages. Prefer this to writing a Tcl proc that returns HTML.
  • Remember to remove backslashes where you had to escape special