This article reproduced Oschina articles
First, unfortunately, "PHP is the best language", but it is not the most popular language.
At the same time I am sorry to have just in the April tiobe programming language ranking on the list of the various languages:
You're all great, but you can't take the big one.
Before I get started, let me start with the three languages I use: Java, JavaScript, Python.
Java allows me to learn a lot of architecture-level knowledge, which can be referenced in the architecture-related documentation I wrote earlier. Although I don't like the language at all, it's really great.
Python, it's really simple enough that I like to take it to learn a variety of theoretical knowledge, such as recommendation System, Bayesian theorem, natural language processing and so on.
JavaScript, see below.
Visualization of data
In some of the books I read in the past, mainly in the processing as a visual language-it started in 2001, it was originally created for artists and designers, and later became a comprehensive design and prototyping tool that can be used to create complex data visualization areas.
Processing was brought into the web to produce a processing.js, and there was d3.js.
Of course, there are plotly, leaflet, Sigma JS and so on tools.
Mobile Applications: Cordova
Then there's PhoneGap (today's Cordova), bringing WebView to the mobile app and bringing JavaScript to the mobile app.
With Cordova, you can let us develop multi-platform publishing at once. We also mention Ionic as a leader in hybrid applications:
Mobile Applications: React Native
Now that we have mentioned Cordova, we should also talk about React Native. Also developed several times to run:
Although it has a lot of pits, but it is worth looking forward to.
Mobile platform: Deviceone
Now that we have mentioned react Nativie, we should also talk about Deviceone. Also developed several times to run:
Currently the only one that uses JavaScript for native cross-platform (Android, iOS, Windows).
Service side: node. js
It was V8 's performance that brought JavaScript to a new height, so that node. JS was born-the front end, the backend can be used JavaScript, a JavaScript full stack era.
MongoDB as a database, express as server-side MVC, they can provide a restful service, then plus the angular.js of the MVVM framework, you know what I'm talking about!
Desktop applications: Nw.js and Electron
Nw.js is run based on Chromium and node. js, and they allow us to make desktop applications with HTML and JavaScript. Besides Nw.js and the Electron,atom editor of the recent fire.
Unlike Cordova's multi-platform build multi-version, electron can build applications on multiple platforms on a single platform. That is, we can package the Linux and Windows apps on Mac OS without having to compile windows again.
To the desktop side, keeping the desktop and the Web consistent. The most successful case is the slack, which is valued at $3 billion:
So, if you use the desktop side of the slack will be very card.
Full Platform Application
I once wrote a code to build mobile, desktop, Web full platform application, running ionic on Eletcron, that means unlimited possibilities.
It's good to use the web to get things done with web development.
Game
The moment that WebGL was brought into the browser, it was decided that it was a new world.
Let's forget about compiling, starting updates, plug-ins, and so on, and we can also run a direct development.
Vr
If you've seen the previous article, "JavaScript in the VR world," you'll be more impressed with the content.
The main idea is to use WebView to render VR perspectives:
and each browser manufacturers in the promotion of Webvr for virtual reality device display to provide support.
Ar
While most AR applications may be a bit far away from us, the closest thing to us is leap motion--, which can be entered using palm and finger movements, but without touching or touching the hand.
In the same vein, the data from the sensor is read, and the gesture is left to the browser to handle. For details, refer to my previous writing: "Leap Motion JavaScript Development gesture Control Basics"
Hardware
Earlier I saw that Arduino encapsulated the API in a DSL when it was compiled. The NODEMCU is built with the support of the Lua language, allowing the beginning to start with Lua. And Tessel was born to provide JavaScript runtime environment, we write need to write good JavaScript can be run on it.
Tessel 2 is a relatively high-configuration hardware, but low-matching it?
Samsung designed the Jerryscript engine to run on less than 64KB of memory, and all the code could be stored on less than 200KB of read-only storage (ROM).
Think about the future is beautiful.
Internet of Things
And so on, the above Samsung is iot.js, which means it can already be used in the Internet of things, why there are applications here? I just want to mention this a little bit:
It's all about node. JS's application in the Web, and the big difference between the internet of things and the web is that the IoT can use a variety of different protocols that require the support of node. js.
Therefore, if we need to start the Web version, mobile app, then we naturally need it as a background.
Operating System interface
Although better machines bring better performance, it is clear that the demand for native applications is not so strong. The Firefox OS has been lost in the mobile operating system, but this operation has been brought to the IoT area:
This means that we can use JavaScript to develop the interface of the operating system.
What else do you think JavaScript can do?
Source: Public Platform: Phodal author @phodal
What is the most popular programming language JavaScript can do?