Home > Article > Web Front-end > What can js do
In the front-end, JavaScript can achieve many things, including data visualization, mobile applications, servers, full-platform applications, games, VR, aspects, and some operating systems. Fields can be implemented using JavaScript.
The operating environment of this article: windows7 system, Dell G3 computer, javascript version 1.8.5.
There is a saying about JS: All applications that can be written in JavaScript will eventually use JavaScript. After boasting about JS for so long, what is its magic? In what areas can it be used?
1. Data visualization
Data visualization is an interactive display mode that is highly praised by everyone nowadays, and Javascript has ECharts, Dygraphs.js, D3.js, InfoVis, Springy.js, etc. A framework for data visualization.
2. Mobile Application
PhoneGap brings WebView to mobile applications and also brings JavaScript to mobile applications.
3. Server side
Because the performance of V8 has brought JavaScript to a new level, Node.js was born - JavaScript can be used in both the front end and the backend, and now any web page can Inseparable from JavaScript.
4. Full-platform application
One code can be used to build mobile, desktop, and web applications on all platforms. Running Ionic on Eletcron means unlimited possibilities.
5. Games
If you only stay in the era of Flash for web games and think that only Flash can create very gorgeous game special effects, you are wrong. Javascript can also create gorgeous special effects!
6.VR
Using 3D game engines, such as Three.js, you can also create a 3D world.
7. Hardware
Tessel can run JavaScript directly on the device, without even a server, and then develop it using IDEs and libraries just like web development. Uploading new firmware only requires A tessel push command is required.
8. Operating System
So is it possible to create an operating system using only Node.js? Take a look at NodeOS. Although it uses the Linux kernel to handle various low-level tasks, such as hardware communication and so on, other than that, it uses Node.js.
[Recommended tutorial: JavaScript tutorial]
The above is the detailed content of What can js do. For more information, please follow other related articles on the PHP Chinese website!