The impact and front and rear end of the node contention

Author: know almost Users
link: https: //www.zhihu.com/question/59578433/answer/326694511
Source: know almost
copyrighted by the author. Commercial reprint please contact the author authorized, non-commercial reprint please indicate the source.

This should be talking about eight years ago, the way it is

1 start, html is the back-end rendering. But backend discovery page js good trouble (though simple, but pits and more), so let companies hiring people specifically written js, which is the front end of
two front-end programmer nominally, in fact, in view of the cut (CSS) and to do special effects (JS), so all front-end programmer lowest wages, the lowest position. So before and after the end of the contempt chain appeared.
The rise 3 nodejs and let the front end of the front mvc complicated by, find opportunity to turn around the front end, so the full support of these two technologies, resulting in this site should not have made the spa has become a spa. Slowly separate front and rear ends of the movement from the beginning of the rise of large companies, the purpose is pointing out the back end of the front, independent development. (On the surface to be "code-behind", in fact, to "separate people", that is "the separation of the front and rear end" is no longer attached to the rear end of the front-end team)
found that after 4 spa seo big problem, but also the first screen rendering thieves slow speed, but hard to choose their own way to go should go, so with nodejs rendering this street is seen as a way out on the service side
5 in fact, this is the second opportunity to turn around, if nodejs server rendering into the mainstream in fact most of the work is equivalent to the front end of the back-end to rob, ordinary wage pressure over the rear end just around the corner
6 but the result is nodejs service side rendering is always a small minority, because the back end is not so fragile, java php rails ten years precipitation technique How can you say to overthrow the overthrow of the project has been running for many years a blessing capacity you just use nodejs rewritten, on the other hand golang such as the rise of technology has to nodejs a lot of pressure. Eventually only a small part of the front end is particularly strong team success were using Node.js do the rendering (such as some of Ali's team), most companies are still using PHP rendering HTML.
7 So nodejs say the least good good I do not rush your work, I only intermediate layer (most of the work is to render the page and call back interfaces), never deviate. Backend say Count your sensible. Now nodejs mainly engage in any micro-services, but also to not pay attention to grab the back-end of the market.

You want to see the development of a major technology should look at who's behind, which is the scenario, and finally the technical details.

nodejs fire in China has long been burnt, and after the fire is not expected, and as a front-end look is good, but if you are, then the back end, Kan Bukan does not matter, nodejs with other back-end development framework differences are not large, single-threaded asynchronous both advantage and a disadvantage, you put it as a paradigm research is like.

I am a firm "separation of the front and rear end," opponents, before and after the code can be isolated, but people definitely should not be separated. Front and rear ends of tear force of things happen every day in large companies, because all around are two teams, different interests. In fact the front push nodejs rendering is trying to re-let the front and rear end of the synthetic one.

However, the front end can not explain it, because if we want to end department before and after the merger, must be demolished front end department.


Together, the equivalent of cutting off future.
Substandard, you can never solve the problem seo and above the fold load slower.
So the tip is really quite contradictory.


JS also has a place of contradictions, those who frame (Vue React) on the browser say they can adapt "complex" scenario, any frame (express fastify koa) on Node.js say they are "lightweight" framework.

Why? Because the browser is the main battlefield JS, and invincible hand. And on the server, JS or too little experience, and engage in enterprise services, Node.js is no match for Java, PHP, no way, too late development. So now we can only engage in "lightweight" slightly. egg.js known as enterprise-class Node.js framework, people used to evaluate the I will not comment.


Some chiefs put forward the concept of "big front-end", meaning that the front will have the back-end, but our hearts still front end.

Is not that the former "do before and after the end of a person" changed a thing to say.

Anyway, now you make backend to learn the front, back certainly do not want to lie down this muddy water. Only the front end of their own way slightly.

After much deliberation only Node.js middle layer made HTML rendering.

 

You had to be separated, separate parted.
Now again with kpi, put me to recall.
But the back-end is with your front-end kpi kpi different way, so the game is.

 

These words also my kind of out of the constraints of manufacturers who say, people in the manufacturers did not dare say, after all, with the bow to see the rise of the back-end.


Finally, tell you a little secret. Because Ali nodejs with was pretty much, but not hire people, so from a utilitarian point of view, maybe you learn nodejs easier than learning java into Ali, Ali, after all, the great God of java and more clouds, nodejs Great God does not have much.

Am I right.


But from another point of view, SEO friendly pages I support.

If your page is SEO unfriendly, then the importance of Baidu will be weakened. Now is the mobile Internet era, we almost do not Baidu on the phone, is a direct point App-point micro-channel public numbers, the problem is not SEO friendly. With the popularity of fold speed 5G network it will not be a problem.

Just let Baidu interests, I think this thing SPA still worth doing. Rendering server or directly to avoid the bar, we do not do SEO it is best to let Baidu closed down slightly ~ (just my illusion, not really, I was Baidu's brain-dead black, black Baidu never had reason)


Thank you for watching me so much, but when it comes to the final, I did not give what conclusion, I observed just told you.

Do you want to learn, or use the server to render HTML, all you need to think about things.

Again, I do not like to say that the doctrine of view, I like to tell you an extreme point of view, then I would argue with someone other extreme point of view, he can not convince me that I can convince him, but in the end, you They will draw their own point of view.

Guess you like

Origin www.cnblogs.com/itgezhu/p/10992486.html