3 ms·
Yeah I've seen this method around with CL-WHO and similar approaches. I like the fact that this is one of the many things you can do with macros / s-exprs. How
by dualogy 18y ago
Yeah I've seen this method around with CL-WHO and similar approaches. I like the fact that this is one of the many things you can do with macros / s-exprs.
However, for HTML for some reason I wanna keep this out of my code base. Artificial distinction, granted, and now my way I have "code" inside the "template" rather than the "template" inside the "code". I guess I'm just used to doing things this way. Even though I'd never hand over my HTML to an external designer or even edit it in a visual design tool I wouldn't like (with-html (:body (:head (title "Hello World" etc as my "GUI layer". I haven't quite figured out why :)
Anyway, this was fun to write and for the time being will be my preferred way of designing my web apps... ^^ thanks for stopping by though!