I'd think using Chrome might be better b/c it’s engine is used far more widely than the others, including MS’ Edge browser, Chrome, and Opera.

There’s a movement afoot to use JS as a sort of “universal assembly language”. The great benefit here is that unlike stuff like Java’s JVM, JS is far more widespread since it’s implemented in every web browser, although not 100% identically (even though standards groups are doing their best to get there).

As such, there’s a growing base of tools that let you write code in a higher-level language that gets translated into JS. So why teach JS? Why not focus on one of the HLLs that gets compiled down into JS? 

While I realize that most Linux folk are allergic to anything commercial, someone has to pay the bill for truly innovative stuff. Some products I’ve been working with for a long time are from a company called TMS Software. I work with Delphi, which was derived from Borland’s TurboPascal line, and TMS is one of the few premium component library vendors left in the market. In this case, they have been working on something called WebCore for a few years now that uses an open-source tool called pas2js to translate Delphi’s ObjectPascal code into JS. Their WebCore facility isn’t free, but it does work and run standalone inside of the Visual Studio Code environment — no Delphi IDE is required. It allows you to use their visual designer to lay out forms and write event handlers in Delphi’s ObjectPascal language, which is then translated into JS and packaged into a few files that can be uploaded to your web host and run in the web browser as a web app. You’ve gotta see it to believe it! 

You can see a relatively simple app I built as my first non-trivial test with WebCore at the following URL. It took me about an our to write this app.

BestKeywordMixer.com

-David Schwartz




On Oct 18, 2022, at 7:14 AM, Keith Smith via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:

Thank you Aaron, Retro64XYZ, David, Eric, SteveT, and Phil!

I am trying to get a YouTube channel going.  I've been on top dead center for a few years. Everything is ready I just need to start making and posting videos.  I am a PHP dev and would like to share what I know.  I also would like to launch an open source project at some point.

To start with I am thinking of teaching programming using JavaScript which would require a browser, an editor, some basic understanding of HTML and Cascading Style Sheets (CSS).  This could ultimately lead to learning AJAX.

The reason I asked about FireFox is because JavaScript is quirky and each browser implements it's JavaScript interpreter a little different.  To avoid that I would like to work with one browser.

Thank You For Your Feedback!!
Keith


On 2022-10-18 05:28, Steve Litt via PLUG-discuss wrote:
On Tue, 2022-10-18 at 01:42 -0700, Phil Waclawski wrote:
Kate or gedit  are solid text editors for Linux, which are very like
notepad++ which is a good text editor for windows
Notepad on windows really shouldn't  be used for anything anymore
Phil W
I can't use Kate because I kicked KDE and all its libraries and
executables off my
computer almost a decade ago. I just tried gedit and it's the perfect simple
intuitive editor.
By the way, I re-tried Nano and it's not that bad. If I didn't know
Vim or Emacs (I
actually don't know Emacs), and if I were in a pure no-X CLI environment where I
couldn't use gedit, Nano would be fine. Heck, it's a lot like Wordstar.
SteveT
---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss