On 5/7/2010 12:19, Marcos Douglas wrote:
All web pages are using the fpTemplate unit to generate the HTML responses.
The web design layer this way is totally separated from the server
programming side. The HTML people can beautify their pages as they like
while using the available HTML tags provided on the server side to display
live data from the databases.
You can find some basic examples on using the fpTemplate unit and template
tags under the Lazarus directory

/lazarus/components/fpweb/demo/fptemplate/


Works like a charm.

Thanks for your example. I will see the fpTemplate unit.
What about the server app. Do you use CGI, FastCGI... some libs or
frameworks? Everyone talk about PWU.


Thanks,
Marcos Douglas

The server side was an Apache mod but now it is simply CGI. We did not see any speed increase/decrease for the visitor traffic volume we have in either case.

We might do it FCGI in the future, but it does not seem to be working on Windows (it was a few months ago so I do not exactly remember what was the problem, but I think it was something like many FCGI app instances got spawned and dragged the CPU like crazy all the time even between requests), so we probably need to move to Linux for the server development in case we try to do this again.

No frameworks or libs were used, it is a normal website with screens, reports, etc., people need to click on things to get new content. The request goes to the web server and an HTML page is generated using a template, replacing the template-tags with content from files/databases, etc.

AB


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to