The front end wants to learn some back-end knowledge of doubt and ignorance, hope to solve the doubt.

the front end has been learning for some time, from the initial html,css,js, to the later jq,vue. At the beginning of learning vue is to write data in data, which is very slow and tedious. Later learn to copy and paste the online data in the json file, that is, mock a local data. Then later learned to use axios online crawl other people"s website interface, with express proxy or jsonp crawl. I am looking for some ui,. A web page will be finished soon. But the problem also follows. There is a problem in crawling the data of other people"s websites with axios, and there is a problem after packaging, so there is no way to get the data. Because I don"t understand the back end, I don"t know what"s going on when I say I want to reverse proxy, but there is no problem with the data obtained with jsonp. In short, there are a lot of problems, and sometimes the interface fails, so it is necessary to rewrite the interface format. What I think now is that I can write my own interface at the back end, and then I get it at the front end. I no longer crawl the interface of other people"s websites. I have my own data and have my own website. For example, when I was studying the vue music website, I used an interface https://c.y.qq.com/splcloud/f., which is an interface of QQ Music with recommended music data. Crawled with axios and express. I hope that after learning the backend, I can provide such an interface by myself, and then pack it online and still use it, instead of using someone else"s interface. I bought both the domain name and the cloud server. I don"t understand what the back end may say is a little funny, but I really ask. I hope that after learning the back-end 1, I can understand some agent problems, because before using axios to obtain other people"s website data, after packaging, it is invalid. I think what I say most is how you should act as an agent. 2, you can write your own interface data for your own use, and no longer use the interfaces of other people"s websites. At present, there is a bit of a tendency to learn node.js and express. I hope you can give me some advice. Probably what knowledge to learn, as well as the learning path

May.22,2021

Uncle Wolf: how to learn Node.js correctly
there is a long way to go, come on


if you don't have a little bit of back-end foundation, there are probably a few things you should master:

  • first of all, master a common server language, such as nodejs, or other ones you mentioned, such as python, java
  • understand the concept of MVC, which is very common. It may be different in different web frameworks, or some frameworks only provide one of the three. This is important to understand, so that you can match the appropriate technology stack to solve the problem
  • .
  • figure out the back-end routing and some basic regular syntax
  • figure out the full cycle of request/response and a http request
  • forward and reverse proxies
  • finally, because you specified the interface, learn more about restful

if you use nodejs and express, with some express middleware, you should be able to get started quickly without considering persistence.

as for other authentication, authentication, caching and other things, because the back-end is not like the front-end, many problems have mature solutions that have been considered by industry and time, and you can understand them when you use them.

Sorry, the writing is rather messy, because I am only half a loser on the whole stack. Let's share it.


try this python/1" rel=" nofollow noreferrer "> Python tutorial

it is important to build a knowledge framework, and things at the language level are more or less the same.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e50e25-450fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e50e25-450fd.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?