[Lazarus] FCL-Web and new WebDesign packages

Leonardo M. Ramé l.rame at griensu.com
Thu Jan 28 16:44:48 CET 2010

El jue, 28-01-2010 a las 13:37 -0200, Felipe Monteiro de Carvalho
> On Thu, Jan 28, 2010 at 11:22 AM, Graeme Geldenhuys
> <graemeg.lists at gmail.com> wrote:
> > A matter of taste I guess. I use pure Object Pascal to write all our CGI
> > applications. Our CGI apps do things PHP, JavaScript etc can only dream of!
> > Not to mention I have the full RTL, lots of the FCL and other non-GUI
> > frameworks at my disposal - and execution speed is probably magnitudes
> > faster too.
> Don't you get annoyed putting the HTML inside function calls? This is
> what has put me off from cgi ... I usually have a lot more HTML then
> code, so I actually would like to have a HTML document where I put
> some Pascal inside, like PHP. With all my huge amount of HTML inside
> function calls it get's very poluted and hard to read the HTML =(

You don't need to. Some CGI frameworks, like PowTils, allows you to use
Templates that reside apart from the CGI app, those templates are parsed
on the fly every time a request is made. Also you can let the CGI app to
produce JSON or XML to be parsed by the JavaScript Client's engine, like
ExtJs, JQuery and others.

Leonardo M. Ramé
Griensu S.A. - Medical IT Córdoba
Tel.: 0351-4247979

More information about the Lazarus mailing list