Facebook Application
Bruce Easton
bruce at stn.com
Wed Dec 16 13:34:44 PST 2009
Fairlight write Wednesday, December 16, 2009 4:14 PM:
>
> Only Bruce Easton would say something like:
> > but I don't view what I described (using only :cr :tx and :cl) as
> > using an intermediate layer. I just view that as just
>
> Well the whole thing is an intermediate layer. You have your
> content, you have your markup. Then you've got this little
> shorthand intermediate layer to tell fP how to apply markup
> -to- the content. It's a further layer of abstration that
> probably makes debugging a complete bitch.
>
[..]
Right, but my point was that doing:
Then: ab="<tr><td style='";color:"{fld(30){"'><b>"{4{"</b></td></tr>"
If:
Then: ax=writeline(aa,ab)
verses:
Then: html :tx "<tr><td style='";color:"{fld(30){"'><b>"{4{"</b></td></tr>"
is just a difference in handling how output is done, not really
whether or not you have to learn some extra in fp for html (since,
as I said - I am only using :cr, :tx and :cl).
So as long as you're outputting from a processing table, I don't
see where either technique poses another layer over the other.
But to me sometimes having to have something above the <html opening
tag in the output is reason enough to stay away from the internal
fp html commands altogether.
Bruce
Bruce Easton
STN, Inc.
More information about the Filepro-list
mailing list