<html><head></head><body><div class="ydp3dd615efyahoo-style-wrap" style="font-family:times new roman, new york, times, serif;font-size:13px;"><div></div>
<div><span><div>Hi Guys</div><div><br></div><div>> On Date: Sat, 23 Mar WarleyAlex wrote…..</div><div>> I'd like to get the minimum/lower file jS footprint when</div><div>> compiling the standalone demo project, but I've got 5MB! </div><div>></div><div>The demo is 5MB because it is really the full IDE with the design mode switched off. This keeps our version control simple while we are making lots of changes. Later we should provide a much smaller deployed run time. </div><div>></div><div>> Here is the big issue: the pas2js code completion at XIDE!</div><div>></div><div>Sadly we have not yet found a code editor that is open source and works in both Lazarus and the browser. In an ideal world, SynEdit will be ported to the browser so we can switch on the AutoComplete option? ……Some help here will be much appreciated.</div><div>></div><div>> I sincerely like your approach to design the UI part </div><div>> using HTML and CSS instead of the lazarus environ.</div><div>></div><div>Our XIDE project started because of frustration at the fragmentation and complexity of designing apps in HTML and CSS. We think a RAD approach can simplify this. Having Lazarus compatibility also means apps can be ported from the web to native code versions for improved size, speed, and security or for embedded systems etc.</div><div>></div><div>> On Sun, 24: Michael Van Canneyt wrote……</div><div>> Trying to keep up with CSS and HTML in Lazarus is IMO a dead end.</div><div>></div><div>Limiting ourselves to the common subset of what is possible in both HTML and Lazarus is a frustrating aspect of our XComponents project. We are considering allowing full HTML capability for cosmetic aspects in the browser as long as the core functionality still works in both environments.</div><div>></div><div>> So, on my todo list, there is the following idea:</div><div>> Use embedded chrome to do the UI design, but still have all the pascal code (event</div><div>> handlers etc) in the lazarus IDE.</div><div>>From what I see, XIde could be a possible implementation for the UI designer.</div><div>></div><div>Happy to help with this where we can. </div><div><br></div><div>Regards Steve</div><div><br></div></span>---------------------------------------------------------------------------------------------------------------------------------------------------------</div><div><br></div>
</div><div id="ydp20625aceyahoo_quoted_3952290985" class="ydp20625aceyahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Sunday, 24 March 2019, 11:00:20 GMT, pas2js-request@lists.freepascal.org <pas2js-request@lists.freepascal.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div dir="ltr">Send Pas2js mailing list submissions to<br></div><div dir="ltr"> <a href="mailto:pas2js@lists.freepascal.org" rel="nofollow" target="_blank">pas2js@lists.freepascal.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">To subscribe or unsubscribe via the World Wide Web, visit<br></div><div dir="ltr"> <a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js" rel="nofollow" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js</a><br></div><div dir="ltr">or, via email, send a message with subject or body 'help' to<br></div><div dir="ltr"> <a href="mailto:pas2js-request@lists.freepascal.org" rel="nofollow" target="_blank">pas2js-request@lists.freepascal.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">You can reach the person managing the list at<br></div><div dir="ltr"> <a href="mailto:pas2js-owner@lists.freepascal.org" rel="nofollow" target="_blank">pas2js-owner@lists.freepascal.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">When replying, please edit your Subject line so it is more specific<br></div><div dir="ltr">than "Re: Contents of Pas2js digest..."<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Today's Topics:<br></div><div dir="ltr"><br></div><div dir="ltr"> 1. Re: Pas2JS IDE for Chrome (warleyalex)<br></div><div dir="ltr"> 2. Re: Pas2JS IDE for Chrome (Michael Van Canneyt)<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">----------------------------------------------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 1<br></div><div dir="ltr">Date: Sat, 23 Mar 2019 16:15:54 -0700 (MST)<br></div><div dir="ltr">From: warleyalex <<a href="mailto:warleyalex@yahoo.com.br" rel="nofollow" target="_blank">warleyalex@yahoo.com.br</a>><br></div><div dir="ltr">To: <a href="mailto:pas2js@lists.freepascal.org" rel="nofollow" target="_blank">pas2js@lists.freepascal.org</a><br></div><div dir="ltr">Subject: Re: [Pas2js] Pas2JS IDE for Chrome<br></div><div dir="ltr">Message-ID: <<a href="mailto:1553382954461-0.post@n8.nabble.com" rel="nofollow" target="_blank">1553382954461-0.post@n8.nabble.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset=us-ascii<br></div><div dir="ltr"><br></div><div dir="ltr">This XIDE project for Pas2JS is really nice! <br></div><div dir="ltr"><br></div><div dir="ltr">Just I've tested: I've loaded the "XIDEForChrome.html" page then copy the<br></div><div dir="ltr">saved user app file then loaded into XIDE using the "System/Load" the<br></div><div dir="ltr">"ExampleSavedSystemFile.txt" content. then I hit "Run mode" on the main menu<br></div><div dir="ltr">this will recompile the user code for the loaded system, which activates and<br></div><div dir="ltr">hides the IDE. <br></div><div dir="ltr"><br></div><div dir="ltr">i. I'd like to get the minimum/lower file jS footprint when compiling the<br></div><div dir="ltr">standalone demo project, but I've got 5MB! this but this big output JS file<br></div><div dir="ltr">is not the standalone demo project, gracias a Dios. <br></div><div dir="ltr"><br></div><div dir="ltr">I think you are in the correct path to create modern UI using this XIDE<br></div><div dir="ltr">approach. <br></div><div dir="ltr"><br></div><div dir="ltr">One thing that comes to mind is, basically, there are 2 ways to create a<br></div><div dir="ltr">modern UI in Lazarus. <br></div><div dir="ltr"><br></div><div dir="ltr">1. components /UI/Frameworks based on "custom paint" <br></div><div dir="ltr">2. implement basic CSS drawing and positioning around LCL <br></div><div dir="ltr"><br></div><div dir="ltr">...a long time ago I tried the second option. And it's quite easy to<br></div><div dir="ltr">implement basic drawing using CSS. But there are too many challenges for me.<br></div><div dir="ltr">And I think this concept to design UI is wrong. <br></div><div dir="ltr">I always prefer handwritting HTML and CSS approach to design complex apps. <br></div><div dir="ltr"><br></div><div dir="ltr">I sincerely like your approach to design the UI part using HTML and CSS<br></div><div dir="ltr">instead of the lazarus environ. While the visual widgets/UI in Lazarus still<br></div><div dir="ltr">is very customizable (by the user and developer) and looks the same on every<br></div><div dir="ltr">system. I think your approach you spend less time on UI parts to realize the<br></div><div dir="ltr">look and feel I want to have. <br></div><div dir="ltr"><br></div><div dir="ltr">...sometimes I think if all the efforts put into create new components,<br></div><div dir="ltr">designing widgets/user interfaces in Lazarus would be put into the quality<br></div><div dir="ltr">of the programs in pas2js we would be amazed how fast, reliable and secure<br></div><div dir="ltr">software can be. <br></div><div dir="ltr"><br></div><div dir="ltr">ii. Another think is the pas2js "code completion" in the HTML enviroment.<br></div><div dir="ltr">Code completion on Lazarus is much better at all. One thing that I don't<br></div><div dir="ltr">like is once an event handler has been created, you can select that code<br></div><div dir="ltr">directly in the "Code Designer" tab of the object inspector then press the<br></div><div dir="ltr">edit button to view or edit the detailed code. Here is the big issue: the<br></div><div dir="ltr">pas2js code completion at XIDE!<br></div><div dir="ltr"><br></div><div dir="ltr">----------<br></div><div dir="ltr">hum, I didn't really tested The OmniPascal 0.17.0 package which has support<br></div><div dir="ltr">to pas2js, code completion. <br></div><div dir="ltr">this seems pretty interesting: Visual Studio code + omni pascal + pas2js. <br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">--<br></div><div dir="ltr">Sent from: <a href="http://pas2js.38893.n8.nabble.com/" rel="nofollow" target="_blank">http://pas2js.38893.n8.nabble.com/</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 2<br></div><div dir="ltr">Date: Sun, 24 Mar 2019 10:29:24 +0100 (CET)<br></div><div dir="ltr">From: Michael Van Canneyt <<a href="mailto:michael@freepascal.org" rel="nofollow" target="_blank">michael@freepascal.org</a>><br></div><div dir="ltr">To: warleyalex via Pas2js <<a href="mailto:pas2js@lists.freepascal.org" rel="nofollow" target="_blank">pas2js@lists.freepascal.org</a>><br></div><div dir="ltr">Subject: Re: [Pas2js] Pas2JS IDE for Chrome<br></div><div dir="ltr">Message-ID: <<a href="mailto:alpine.DEB.2.20.1903240959330.32483@home.telenet.be" rel="nofollow" target="_blank">alpine.DEB.2.20.1903240959330.32483@home.telenet.be</a>><br></div><div dir="ltr">Content-Type: text/plain; charset=US-ASCII; format=flowed<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">On Sat, 23 Mar 2019, warleyalex via Pas2js wrote:<br></div><div dir="ltr"><br></div><div dir="ltr">> This XIDE project for Pas2JS is really nice! <br></div><div dir="ltr">><br></div><div dir="ltr">> Just I've tested: I've loaded the "XIDEForChrome.html" page then copy the<br></div><div dir="ltr">> saved user app file then loaded into XIDE using the "System/Load" the<br></div><div dir="ltr">> "ExampleSavedSystemFile.txt" content. then I hit "Run mode" on the main menu<br></div><div dir="ltr">> this will recompile the user code for the loaded system, which activates and<br></div><div dir="ltr">> hides the IDE. <br></div><div dir="ltr">><br></div><div dir="ltr">> i. I'd like to get the minimum/lower file jS footprint when compiling the<br></div><div dir="ltr">> standalone demo project, but I've got 5MB! this but this big output JS file<br></div><div dir="ltr">> is not the standalone demo project, gracias a Dios. <br></div><div dir="ltr">><br></div><div dir="ltr">> I think you are in the correct path to create modern UI using this XIDE<br></div><div dir="ltr">> approach. <br></div><div dir="ltr">><br></div><div dir="ltr">> One thing that comes to mind is, basically, there are 2 ways to create a<br></div><div dir="ltr">> modern UI in Lazarus. <br></div><div dir="ltr">><br></div><div dir="ltr">> 1. components /UI/Frameworks based on "custom paint" <br></div><div dir="ltr">> 2. implement basic CSS drawing and positioning around LCL <br></div><div dir="ltr">><br></div><div dir="ltr">> ...a long time ago I tried the second option. And it's quite easy to<br></div><div dir="ltr">> implement basic drawing using CSS. But there are too many challenges for me.<br></div><div dir="ltr">> And I think this concept to design UI is wrong.<br></div><div dir="ltr"><br></div><div dir="ltr">I partially agree with your statement. But RAD has many advantages, and I<br></div><div dir="ltr">would like to keep most of the aspects. The way most webapps are built today is<br></div><div dir="ltr">distinctly primitive.<br></div><div dir="ltr"><br></div><div dir="ltr">Trying to keep up with CSS and HTML in Lazarus is IMO a dead end.<br></div><div dir="ltr"><br></div><div dir="ltr">So, on my todo list, there is the following idea:<br></div><div dir="ltr"><br></div><div dir="ltr">Use embedded chrome to do the UI design, but still have all the pascal code (event<br></div><div dir="ltr">handlers etc) in the lazarus IDE.<br></div><div dir="ltr"><br></div><div dir="ltr">>From what I see, XIde could be a possible implementation for the UI designer.<br></div><div dir="ltr"><br></div><div dir="ltr">Michael.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Subject: Digest Footer<br></div><div dir="ltr"><br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">Pas2js maillist - <a href="mailto:Pas2js@lists.freepascal.org" rel="nofollow" target="_blank">Pas2js@lists.freepascal.org</a><br></div><div dir="ltr"><a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js" rel="nofollow" target="_blank">http://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js</a><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">End of Pas2js Digest, Vol 15, Issue 15<br></div><div dir="ltr">**************************************<br></div></div>
</div>
</div></body></html>