[fpc-devel] First pas2js public release

el es el.es.cr at gmail.com
Wed Dec 20 16:14:08 CET 2017


Hi,

On 20/12/17 10:36, Michael Van Canneyt wrote:
> 
> 
> On Tue, 19 Dec 2017, Lukasz Sokol wrote:
> 
>> On 18/12/17 08:59, Michael Schnell wrote:
>>> Great !
>>>
>>> Thanks a lot to all who  enabled this fantastic enhancement to the
>>> fpc system !
>>>
>>> I have been dreaming of being able to "simply run" Lazarus projects
>>> (and legacy Delphi-) ) in a server and have the GUI displayed in a
>>> browser.
>>>
>>> This seems to get in reach right now :) :)  :) .  (OK, splitting the
>>> project in a server and a browser part and communication between the
>>> parts will not be automatically done in very near future, but who
>>> knows ....)
>>>

^^^^^^^^^^^^^^^^^ I think I should have underlined this ^^^^^^^^^^^^^^^^^^^
because my entire response was triggered by this line...



[...]

> You program both separately, this is natural.

But as you see from the underlined, not for everybody :)

> 
> 
>> For communication between the browser end and the server end,
>> there are ways covered (AJAX ?) not much different than the usual
>> (js in browser <-> java/php/perl/python/server side js in server

> 
> Yes. Normal Ajax works, see the demos.
> 
> But we went a step further. TDataset and REST works out of the box. See also the demos.
> 
> Michael.

Can't wait to try it out... but the holidays are likely to get in the way ;)

-L.






More information about the fpc-devel mailing list