In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what nodejs is in pure front-end development, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.
Node.js is one of the important pillars of front-end engineering. (article warning: only talk about the front end, not the whole stack)
A JavaScript history drawn the other day:
I started writing simple front-end pages in 2003 and experienced the torment of IE6. Witnessed the release of Firefox in 2004, the first version of jQuery in 2006, and Chrome in 2008.
Although Node.js was released in 2009, I didn't start using Node.js until around 2011, when I was trying to learn Angular.
Node.js gives many beginners the first impression that "you can run JavaScript on the server", so many people have this question: "I write front-end code, not the back-end, why am I learning Node.js?"
Today's front end is no longer the front end of a few years ago. In the past, we wrote Web Page, and the pages we wrote were for people to see; now we write Web App, and the applications we write are for others to use. The complexity of the two can not be compared with each other.
Even in the Web Page era, it is not easy to develop a website. We need to compress (merge) JavaScript/CSS code, make sprite images, compress pictures and other resources, and replace links to HTML resources in batches. Wait. I have seen many beginners use this way to compress JavaScript code, open Baidu, search for "online compression JavaScript", then copy the code in, after compression, copy and paste into a new file, and use FTP to deploy the compressed file to the server. This is done not only by beginners, but also by front-end developers with years of experience.
Furthermore, developers usually develop scripts to do these things, using Python, Shell, and so on.
Before I used Node.js, I used Java's most popular Ant for front-end engineering. Probably because JavaScript and Java are similar, in the SPA era, many articles in the JavaScript community introduce Ant, and many tools of JavaScript are also developed using Java, such as yuicompressor for js code compression, which was originally developed by Yahoo to do code compression for yui, but now yui is also cool.
Node.js brings Grunt (2012), Gulp (2012), Webpack (2012) to the front-end community.
Therefore, Node.js is one of the important pillars of front-end engineering.
Thank you for reading this article carefully. I hope the article "what is nodejs in pure front-end development" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.