[Pas2js] Pas2JS IDE for Chrome

warleyalex warleyalex at yahoo.com.br
Sun Mar 24 00:15:54 CET 2019


This XIDE project for Pas2JS is really nice! 

Just I've tested: I've loaded the "XIDEForChrome.html" page then copy the
saved user app file then loaded into XIDE using the "System/Load" the
"ExampleSavedSystemFile.txt" content. then I hit "Run mode" on the main menu
this will recompile the user code for the loaded system, which activates and
hides the IDE. 

i. I'd like to get the minimum/lower file jS footprint when compiling the
standalone demo project, but I've got 5MB! this but this big output JS file
is not the standalone demo project, gracias a Dios. 

I think you are in the correct path to create modern UI using this XIDE
approach. 

One thing that comes to mind is, basically, there are 2 ways to create a
modern UI in Lazarus. 

1. components /UI/Frameworks based on "custom paint" 
2. implement basic CSS drawing and positioning around LCL 

...a long time ago I tried the second option. And it's quite easy to
implement basic drawing using CSS. But there are too many challenges for me.
And I think this concept to design UI is wrong. 
I always prefer handwritting HTML and CSS approach to design complex apps. 

I sincerely like your approach to design the UI part using HTML and CSS
instead of the lazarus environ. While the visual widgets/UI in Lazarus still
is very customizable (by the user and developer) and looks the same on every
system. I think your approach you spend less time on UI parts to realize the
look and feel I want to have. 

...sometimes I think if all the efforts put into create new components,
designing widgets/user interfaces in Lazarus would be put into the quality
of the programs in pas2js we would be amazed how fast, reliable and secure
software can be. 

ii. Another think is the pas2js "code completion" in the HTML enviroment.
Code completion on Lazarus is much better at all. One thing that I don't
like is once an event handler has been created, you can select that code
directly in the "Code Designer" tab of the object inspector then press the
edit button to view or edit the detailed code. Here is the big issue: the
pas2js code completion at XIDE!

----------
hum, I didn't really tested The OmniPascal 0.17.0 package which has support
to pas2js, code completion. 
this seems pretty interesting: Visual Studio code + omni pascal + pas2js. 




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


More information about the Pas2js mailing list