JS always has a magic touch (1)

Hellow, welcome to the “JS always has a kind of magic” series, today’s explanation is “You really know JavasScript”.

I believe that every beginning to learn the web front end of the students will not feel strange to Html+Css+JavasScript, but we do not discuss the Html element node layer relationship, do not discuss Css cool eye-catching animation, today we talk about the understanding of JavasScript, How it occupies its place in the three-tier world of the web front end.

Why do we learn JavasScript

We’ll start with the use of javaScript. Dynamic isn’t a word you’ll find in any documentation on the official website, but a summary of my front-end experience.

We all know that HTML + CSS can achieve a set of front-end pages, but we also know that this implementation of the page is static, lifeless, lifeless, people may jump out to retard that there are many pages through CSS to make the effect is also very gorgeous, full of animation ah! Yeah, they’re right. That’s true. But let’s not forget that these are gorgeous effects that we can only watch in silence like paintings, like movies. It lacks the meaning of user interface interaction of the front page.

It’s JavasScript that brings the interaction to life and gives our front pages a soul.

What is JavasScript capable of?

Let’s think about what JavasScript can do now.

Data visualization

Believe that word is familiar to everyone, right? Data visualization is one of the most popular forms of interactive presentation today, using a variety of colorful charts and graphs to show data that doesn’t look like much, that doesn’t make people say, “Wow, For example, ECharts, Dygraphs. Js, D3.js, InfoVis, Springy.js and other data visualization frameworks are actually implemented based on JavasScript.

A mobile application

With the rapid development of mobile phones, people are not satisfied with the display of Web pages only on PC, but also gradually explore on mobile devices. Now all kinds of web pages on our mobile phones are inseparable from JavasScript, which plays a very important role in different terminal device systems.

The service side

Nodejs is also a server-side language, and it’s implemented by JavasScript at the bottom. We front-end developers can tap our chest and say, “Who said, We can’t write the server on the front end. “‘ Let’s keep a low profile so that the server developers don’t beat 0^0

The game

I don’t know if you still remember FLASH, which supported the small web games in the first half of your life. Now FLASH has been eliminated, but JavasScript has taken over, and cool 2D / 3D games can also be realized through Canvas and WebGL technologies. Canvas Engine, Three.js, Turbulenz, CooperLicht, and many more are excellent JavasScript game engines and frameworks

Full platform application

One piece of code builds mobile, desktop, and Web applications across all platforms. Running Ionic on Eletcron means endless possibilities.

At the end

I am very glad to share the content of JavasScript with you. Through this article, we can understand how important JavasScript is in the front end. There is a long way to go to learn all JavasScript, and the follow-up will also bring you to uncover more mysterious faces of JavasScript. If there are any incorrect descriptions or explanations in this article, please leave your comments in the comments section.