[Pas2js] Executable Size Discussion Nr 2837202 ;)

Ulrich, Christian christian.ulrich at tcsag.de
Fri Nov 16 12:18:32 CET 2018


https://rma.tcsapps.de

The opposite perspective :) An pas2js Application.
3,45mb for an simple Formular.

TDataSet and DHTMLXDataSet are both in use (TDataSet fills DHTMLXDataSet wich fills the Components)

Maybe heliosroots can tell his position. Widgetsets could really make things better/more worst at time. 


-----Ursprüngliche Nachricht-----
Von: Pas2js [mailto:pas2js-bounces at lists.freepascal.org] Im Auftrag von Michael Van Canneyt
Gesendet: Freitag, 16. November 2018 11:33
An: pas2js discussions
Betreff: Re: [Pas2js] Executable Size Discussion Nr 2837202 ;)



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.
_______________________________________________
Pas2js maillist  -  Pas2js at lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js


More information about the Pas2js mailing list