[Pas2js] TMS Web core released - based on pas2js.

Michael Schnell mschnell at lumino.de
Fri Feb 16 12:09:41 CET 2018


On 16.02.2018 11:26, Michael Van Canneyt wrote:
>
> Please define 'client/server' enabled variant? In my understanding a 
> browser
> is per definition client/server, when it communicates with a server.
Just dreaming:
  - Create a (single) Lazarus project
  - define parts of the code to run in the Browser (rather than on the 
Server (i.e. "behind" a web server)  as a free urning ("embedded") 
application maybe doing some management stuff (e.g. driving a factory 
:-)) on it's own and/or waiting to be attached by multiple clients.
  - Objects in the projects are "connected" e.g. via function calls and 
events (or even properties), or maybe (COM?-)interfaces. If the 
connected objects are in different realms (server or browser), the 
infrastructure (libraries, maybe some syntax candy) provides means for 
communication.
  - When the "main" program runs on the sever and a browser connects to 
it (similar to CGI), the client part is pushed to and started in the 
browser and the communication is established "behind the scenes".

I understand that this is hat Microsoft had in mind with Silverlight but 
failed to do a decent implementation.

>
> They have client/server technology available: XData. Basically it 
> streams objects between client and server.

So it seems like a great part of this already is existing. Now an 
agreement for a common integrated programming language and IDE would be 
a possible step.

Interesting stuff indeed !
-Michael




More information about the Pas2js mailing list