[Lazarus] GUI development for web UI

Michael Schnell mschnell at lumino.de
Wed Nov 24 11:26:47 CET 2010


On 11/24/2010 08:32 AM, ik wrote:
> Hello List,
>
> Well I know about the framework fur Javascript library in Lazarus, but 
> I'm thinking in the past year or so, what will it take to design a gui 
> application using Lazarus, and make it work like a web app that act 
> the same as the desktop version, without any specific components for it.

A decent way to do this would be creating an appropriate "Widget Type" 
Interface (See "How to tell lazarus the location of a used package" in 
this forum).

I did some research on that some months ago. I found that this 
supposedly best would be done using "ExtJS".

"ExtPascal" is a way to try ExtJS with Lazarus and shows how to generate 
"dual-mode" controls that can be used in the IDE at design time and in a 
client-server way at runtime.

To make up for a decent Widget Type, "Comet" technology would be needed 
to be used for allowing for having server generated events introduce 
visual changes at the client site.

Of course TTimer and an Inter Thread event Queue would be needed to be 
implemented within the new Widget Type (for Linux use similar as in the 
FPGUI Widget Type or as in MSEGUI).

-Michael




More information about the Lazarus mailing list