Which JavaScript should I learn?

Hi all, (If you're on KWLUG list, sorry for duplicate.) I have a general question about JavaScript. I want to develop/propose "web app" hosted from embedded Linux board. So, - you go to its webpage, - click "web app", - it will serve out JavaScript to browser client, and - the app will be running on the browser. Which Javascript should I learn? I mean, there are Meteor, Angular, React, Ember, Vue, etc. Some are described as "framework", and others described as "library". Then, there is Web Assembly I've been reading about recently. It's difficult to figure out what's what. -- William Park <opengeometry@yahoo.ca>

Depends on what app is. Depend on if the library works (or is easy to get working) on Arm (if that is what your embedded is), as well as available ram and flash. Some of these you mentioned have dependencies as well that have to be assessed for Arm and embedded size. Another oddity is some time you have to build your own libs for the embedded, and then it has a certain system, and that has restrictions on your gcc version, etc. So first you have to establish what your platform is and resources, and domain of your app, then look at candidates based on domain, and then check them for build(ability) to your platform.(and their deps). You may find, for example wt+cpp could work well (if you wanted to do web app in c++). You may want to look at web app projects for ras-pie or other embedded boards and see what is popular, but again keeping in mind your projects domain. -tl On Tue, Mar 13, 2018 at 2:16 AM, William Park via talk <talk@gtalug.org> wrote:
Hi all, (If you're on KWLUG list, sorry for duplicate.)
I have a general question about JavaScript. I want to develop/propose "web app" hosted from embedded Linux board. So, - you go to its webpage, - click "web app", - it will serve out JavaScript to browser client, and - the app will be running on the browser.
Which Javascript should I learn?
I mean, there are Meteor, Angular, React, Ember, Vue, etc. Some are described as "framework", and others described as "library". Then, there is Web Assembly I've been reading about recently. It's difficult to figure out what's what. -- William Park <opengeometry@yahoo.ca> --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk

On Tue, Mar 13, 2018 at 2:41 AM, ted leslie via talk - talk@gtalug.org wrote:
Depends on what app is...
Agree, and if you don't know which of the gazillions to choose from, start with the most popular one, which is, NodeJS + ES6, then add more if required, (e.g., React). Just that, whatever you choose, don't go anywhere near that "popular" Typescript. See the recent blog on it -- https://blog.chatie.io/2018/03/09/can-typescript-really-live-up-to-its-hype...., and make your own decision. PS. If you especially want the app will be running on the browser, then most probably you'll be looking at Angular. I personally don't like Angular though, for no reason one could say, or for all the reasons that others blogged about it. If I'm to recommend one alternative, check out the dart and flutter at the end of that recent blog.
On Tue, Mar 13, 2018 at 2:16 AM, William Park via talk <talk@gtalug.org> wrote:
Hi all, (If you're on KWLUG list, sorry for duplicate.)
I have a general question about JavaScript. I want to develop/propose "web app" hosted from embedded Linux board. So, - you go to its webpage, - click "web app", - it will serve out JavaScript to browser client, and - the app will be running on the browser.
Which Javascript should I learn?
I mean, there are Meteor, Angular, React, Ember, Vue, etc. Some are described as "framework", and others described as "library". Then, there is Web Assembly I've been reading about recently. It's difficult to figure out what's what. -- William Park <opengeometry@yahoo.ca> --- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk

On 2018-03-13 02:16, William Park via talk wrote:
Hi all, (If you're on KWLUG list, sorry for duplicate.)
I have a general question about JavaScript. I want to develop/propose "web app" hosted from embedded Linux board. So, - you go to its webpage, - click "web app", - it will serve out JavaScript to browser client, and - the app will be running on the browser.
Which Javascript should I learn?
I mean, there are Meteor, Angular, React, Ember, Vue, etc. Some are described as "framework", and others described as "library". Then, there is Web Assembly I've been reading about recently. It's difficult to figure out what's what.
Vue.js is awesome, easy to use, and simple.

On Tue, Mar 13, 2018 at 2:16 AM, William Park via talk <talk@gtalug.org> wrote:
Hi all, (If you're on KWLUG list, sorry for duplicate.)
I have a general question about JavaScript. I want to develop/propose "web app" hosted from embedded Linux board. So, - you go to its webpage, - click "web app", - it will serve out JavaScript to browser client, and - the app will be running on the browser.
Which Javascript should I learn?
I mean, there are Meteor, Angular, React, Ember, Vue, etc. Some are described as "framework", and others described as "library". Then, there is Web Assembly I've been reading about recently. It's difficult to figure out what's what.
If you don't know JavaScript already, don't start by attempting to learn one of the frameworks or libraries. Learn plain JavaScript first. Unless you intend to use Rust, C, or C++ to write your code, you can ignore WebAssembly for now. Meteor - I've ignored it because at the time I was looking, they used their own packaging mechanism instead of Node packages and the only database they supported was MongoDB. MongoDB is not likely a good fit for an embedded Linux board. Angular - which one? AngularJS, which is pre version 2x of Angular, is a completely different beast than Angular 2x and on. We use AngularJS on a project and it works well for us but the decision to use it was made in 2013/2014. I would not make the same decision today. AngularJS and Angular are popular in the "enterprise" space. Ember - if you like the rigid way it does things, it might be OK. I didn't like it and it seemed like it didn't really solve problems I couldn't solve with much more popular frameworks in better languages, like Django. Vue - it's popular with the Laravel PHP crowd. It reminds me of Angular in some ways. Meh... React - I'd pick this for the front end today if I wanted to stick with JavaScript because it's tremendously popular and there are a wealth of resources available. That you can write once and deploy to the web, natively to iOS and Android using ReactXP < https://microsoft.github.io/reactxp/> is a big win. The React license was problematic but Facebook saw the error of its ways and changed the license to an MIT license. You'll still need some sort of server, which doesn't necessarily have to be written in JavaScript. If you want to use the same language both on the frontend and backend, I really like Feathers <https://feathersjs.com/> with React. Of course what you want to accomplish can be done with languages that transpile to JavaScript, too. See: < https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compil...
I've mentioned Dart and Flutter before. I've been playing with it and like it. Regards, Clifford Ilkay +1 647-778-8696
participants (5)
-
Antonio Sun
-
Clifford Ilkay
-
Myles Braithwaite 👾
-
ted leslie
-
William Park