Thank you. The options you had me done are very intersting.
I want to show HTML grids and I intend to use a templating engine for
this purpose. But, in stead of embed logics in the template, I think I
need to organize better my code.
Perhaps, I need to build a class THMLTable where I could set a
> What you seem to want is something php-like, to interpret commands from
the html template. But that way the program logic and display template
would not be separate.
Right, even a simple for/if statement means there's logic in the template,
which is not desirable. Template should serve as a te
You do not need to use javascript. There are examples for fpTemplate on
how to do this. See .../packages/fcl-base/texts/fptemplate.txt for details.
Examples are in .../packages/fcl-web/examples/fptemplate/...
All your logic (loop) can be in your fpc source code for grids.
What you seem to want
Hello all,
I Know two templating engines for Freepascal: FPTemplate e JTemplate.
Both can be successfully used for html construction.
But they presents the same aspect: only searches and replaces tags to values.
Of course, it's crucial. But to show html grids, obtained from
database queries, it