[Lazarus] Lazarus applications as webpaged

Michael Schnell mschnell at lumino.de
Mon Aug 31 14:22:27 CEST 2015


On 08/30/2015 04:04 PM, Larry Dalton wrote:
> I have a very large application with at least 20 forms. What would be the first step in rewriting it as a web app?
In addition to Larries suggestion you (if necessary) should decide which 
method to use to do "remote events", i.e. having your CGI output 
something to the browser without the user having requested this 
explicitly right before.

Here you need the CGI) to stay active without a pending request (e.g. 
have it be an FCGI) and you need some java script in the browser that 
polls for events, as HTTP does not (normally) allow for "pushing" an event.

There are several "standard" frameworks that build a GUI (including 
Event handling) in the browser, but AFAIK none of them provides an 
interface to Lazarus, nor does Lazarus support any of those. (There once 
had been "EXTPASCAL", but this project seems to have died.)

-Michael




More information about the Lazarus mailing list