[Pas2js] Executable Size Discussion Nr 2837202 ;)

Michael Van Canneyt michael at freepascal.org
Fri Nov 16 11:33:03 CET 2018



On Fri, 16 Nov 2018, Ulrich, Christian wrote:

>
> Yeah I think you get a lot of reactions from TMS Webcore and old Delphi developers at time. Surely they can have absolutely new opportunities with pas2js.  And anyone whoms Apps are not used frequently is not interested in the size of its webpage js. But we live in times where Google measures the reaction times of Webapplications and score that in the search engine result sores... 
> Use Google Lighthouse for an Webapp with ExtJS ot pas2js TDataSet and you get horrible scores...

To put things in perspective, check out this:

https://jgraph.github.io/drawio/src/main/webapp/index.html

Works like a charm, after initial load.

The combined javascript is well over 6Mb.

The google lighthouse score is none too good, but I enjoy working with this
app quite a lot nonetheless...

>
>> This is not to say that we should not care, far from it. 
>> I'm just giving a small exerpt from the feedback we get till now.
>
> I think we both can understand the point of each other, I also not want to tell that we should have no "Web LCL" but maybe its also good to have an modern Framework at the other side.
>
>> I think that we need a 2-way approach.
>> - Provide libraries that make the development experience as close to Delphi/Lazarus RAD as possible.
>> - Provide a set of libraries that are doing more what Angular,React,Vue are doing. (possibly using wrappers around these libraries)
>
> 100% agree.

Good :-)

A set of external classes for Vue is on my todo list, so if someone wants to tackle
Angular or React, they are up for grabs :)

Michael.


More information about the Pas2js mailing list