Template mechanisms...

Avi Bryant avi at beta4.com
Thu Dec 12 00:56:56 UTC 2002


On Wed, 11 Dec 2002, Eric Scharff wrote:

> I happen to prefer the "pure" template mechanism of WebObjects (and
> presumably Enhydra's XMLC) myself.  This is the style I've tried to use
> given the Swiki's template mechanism.
>
> One of my biggest problems with (my understanding of) the "code-based"
> approach taken in SeaSide is simply that I end up with large literal
> strings embedded in code, a style I despise even more than the opposite
> (the JSP style).  My spelling is terrible, so I like templates that I can
> spell-check, and spell-checking the Smalltalk code directly is usually
> problematic.
>
> Is there a decent technique for avoiding having huge string literals in
> the "direct" code approach?

Huge string literals?  Do you mean huge string literals of HTML, or of
descriptive text?  If the former, that doesn't happen.  If the latter, I
would normally have that coming out of a database, or external file, not
embedded in the code.




More information about the Squeak-dev mailing list