News for hackers. Stuff that matters.
Re:Web Development as Tag Soup by henning on Monday July 21, 2008 @11:27AM (#252314)
The obvious alternatives to string templates are:

- embedding client-side markup as a DSL in the language to generate HTML (Markaby/Seaside)

- component/control-based systems (ASP.NET, JSF I guess)

I prefer the first.

Re:Web Development as Tag Soup by omouse on Monday July 21, 2008 @01:13PM (#252447)
Seaside also has components. But they aren't as brain-dead as the ones in ASP.NET. It's much cleaner and better-designed (I haven't dug into Seaside completely yet, but so far, very clean)
Re:Web Development as Tag Soup by Tichy on Monday July 21, 2008 @11:45AM (#252339)
I think Hacker News is using the component/control-based approach with Arc? Just curious.
Re:Web Development as Tag Soup by henning on Monday July 21, 2008 @11:53AM (#252350)
I thought it was macro-based HTML generation, which is typical of Lisp web libraries.
Re:Web Development as Tag Soup by Tichy on Monday July 21, 2008 @12:36PM (#252401)
macro-based alone doesn't imply one approach or the other, or does it? There could be macros for all the HTML tags (table => <table>), or there could be macros for "widgets".
Re:Web Development as Tag Soup by david on Monday July 21, 2008 @04:48PM (#252664)
Right, IIRC UCW is (was?) using both components with either html templates or html generation.