[Pas2js] Pas2js Digest, Vol 15, Issue 11

Stephen Wright stephenmichaelwright at yahoo.co.uk
Wed Mar 20 19:44:30 CET 2019


 Hi Guys
We have now put together a demo of our updated XIDE project for Pas2JS. This is a combined RAD development and run time environment for Pas2JS in Chrome/Linux/Windows/Android. The demo can be downloaded from here.....(https://www.dropbox.com/sh/ybx1tacu66fmp9y/AACdCVRAqlgIYT6fm9hPDqiba?dl=1)
Things to notice in this demo are.....        a) Pas2JS CodeEdit/Compile/Run support in the browser as well as desktop and mobile.        b) No need for any installation, configuration or dependencies.         c) "Responsive design" H and V boxes accommodate different screen sizes.        d) SVG components are fully integrated into the IDE.        e) The GPU canvas uses a subset of Pascal for its "Animation Code" property.         f) User applications can be ported without modification between any platform with an XIDE (+CEF) runtime.        g) Choice of smaller, faster and more secure native implementation (Lazarus/FPC + optional CEF) or full Web connectivity and CSS with a hybrid implementation (Cordova or Electron + Pas2JS). Please remember this is concept demonstrator software so expect to see some bugs and areas that need further work, but feel free to report these and let us know what you think. 
Regards Steve
P.S. We are working on the Lazarus template for XComponents. When this is finished we will upload all the code for this package as well as for the XIDE project so you will then be able to rebuild the above examples from scratch.
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    On Wednesday, 20 March 2019, 11:00:24 GMT, pas2js-request at lists.freepascal.org <pas2js-request at lists.freepascal.org> wrote:  
 
 Send Pas2js mailing list submissions to
    pas2js at lists.freepascal.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js
or, via email, send a message with subject or body 'help' to
    pas2js-request at lists.freepascal.org

You can reach the person managing the list at
    pas2js-owner at lists.freepascal.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Pas2js digest..."


Today's Topics:

  1. Re: compilerserver (Michael Van Canneyt)
  2. Re: compilerserver (heliosroots)
  3. Re: compilerserver (heliosroots)
  4. Re: compilerserver (Michael Van Canneyt)
  5. Re: compilerserver (Michael Van Canneyt)


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Mar 2019 12:29:34 +0100 (CET)
From: Michael Van Canneyt <michael at freepascal.org>
To: pas2js discussions <pas2js at lists.freepascal.org>
Subject: Re: [Pas2js] compilerserver
Message-ID: <alpine.DEB.2.20.1903191226510.26104 at home.telenet.be>
Content-Type: text/plain; charset=US-ASCII; format=flowed



On Tue, 19 Mar 2019, heliosroots wrote:

> What is compilerserver?
> it seems to me that lazarus creates and manages an instance of it, and if it
> has modifications it kills this instance and recreates it? I can also manage
> by http requests

The compilerserver is a small HTTP server which simply serves html.

But it has also the compiler built in and can supervise a directory:
when the directory changes, it recompiles the project in it and can send a
notification to the browser when it did so. The browser can also request a
recompile.

Check the hotreload sample project for how to use it.

My plan is to also add the REST bridge to it, so it can be used as a 
1-stop-backend server for pas2js development.

Michael.


------------------------------

Message: 2
Date: Tue, 19 Mar 2019 05:49:03 -0700 (MST)
From: heliosroots <heliosroots at gmail.com>
To: pas2js at lists.freepascal.org
Subject: Re: [Pas2js] compilerserver
Message-ID: <1552999743129-0.post at n8.nabble.com>
Content-Type: text/plain; charset=us-ascii

I understand, why not use websocket to connect the page to the server. would
be with VSCode LiveServer



--
Sent from: http://pas2js.38893.n8.nabble.com/


------------------------------

Message: 3
Date: Tue, 19 Mar 2019 05:51:40 -0700 (MST)
From: heliosroots <heliosroots at gmail.com>
To: pas2js at lists.freepascal.org
Subject: Re: [Pas2js] compilerserver
Message-ID: <1552999900378-0.post at n8.nabble.com>
Content-Type: text/plain; charset=us-ascii

FCP have something native to websockes?



--
Sent from: http://pas2js.38893.n8.nabble.com/


------------------------------

Message: 4
Date: Tue, 19 Mar 2019 14:34:05 +0100 (CET)
From: Michael Van Canneyt <michael at freepascal.org>
To: pas2js discussions <pas2js at lists.freepascal.org>
Subject: Re: [Pas2js] compilerserver
Message-ID: <alpine.DEB.2.20.1903191433160.1604 at home.telenet.be>
Content-Type: text/plain; charset=US-ASCII; format=flowed



On Tue, 19 Mar 2019, heliosroots wrote:

> FCP have something native to websockes?

Search for bauglir websockets. Synapse based, but should be easily portable
to use native FPC sockets. Still on my todo list.

Michael.


------------------------------

Message: 5
Date: Tue, 19 Mar 2019 14:34:44 +0100 (CET)
From: Michael Van Canneyt <michael at freepascal.org>
To: pas2js discussions <pas2js at lists.freepascal.org>
Subject: Re: [Pas2js] compilerserver
Message-ID: <alpine.DEB.2.20.1903191434070.1604 at home.telenet.be>
Content-Type: text/plain; charset=US-ASCII; format=flowed



On Tue, 19 Mar 2019, heliosroots wrote:

> I understand, why not use websocket to connect the page to the server. would
> be with VSCode LiveServer

That is the plan :-)

I have, however, only 2 hands. Feel free to contribute though :)

Michael.


------------------------------

Subject: Digest Footer

_______________________________________________
Pas2js maillist  -  Pas2js at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js

------------------------------

End of Pas2js Digest, Vol 15, Issue 11
**************************************
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190320/a3d2675b/attachment.html>


More information about the Pas2js mailing list