[REBOL] Re: template driven development? Re: Rebol Server Pages
From: brett:codeconscious at: 9-Oct-2002 23:56
<snipped amusing bugged HTML examples>
...
...
> pekr might be interested in this page:
>
http://barracuda.enhydra.org/cvs_source/Barracuda/docs/comp/high_level_overv
> iew.html
>
> and looking for:
> Q: How does the BTemplate work?
>
> The concept of using id attributes to tell the parsing program where to
get
> the data from can be easily implemented in Rebol, once one has a adequate
> HTML parser. :)
...
> I wonder is pekr would be happier with this? :) The equivalent in Rebol
I certainly would not be happier with that. :^)
Re HTML. I wonder - is there any point worrying about HTML for new projects.
My impression is that XHTML (XML) would be better as working documents for a
designer to manipulate going forward and the XMLC and Baracuda approach of
incorporating symbols into the source document is the right way to go.
However, I really don't know if the tools are supportive of this yet - maybe
a designer can jump in here and comment. I also don't really know if XMLC
and Baracuda have designed their respective embedded symbols simply enough
for an end-user.
I agree with the point about RSP being an unsuitable format for working with
a designer. In my view it is equivalent to a serialised script and therefore
might have value in potentially being a sort of compiled form generated from
some other more user-friendly specification/model.
I'd like a nice REBOL specific solution to this issue as well (I want to
rebuild codeconscious.com in a more context aware way than the string
approach I'm using now). I envisage that I'll use XML (XHTML + something)
as a editing space for my page design. The page design will be sucked up and
transformed to some sort of REBOL model or dialect. I'll then need a
processing model (hopefully the same dialect) that can bind my content to
these page designs and finally something to emit the markup.
bind my content
is so easy to write, but I know it will be hard to design
a context model (engine) for page/site generation. Of course there'll be
other user-agents (REBOL/View, and new ones) to worry about too.
...dream.........dream dream dream......la la la :^)
Regards,
Brett.