Blog React Node.js New pit Big pit
It's the end of April. This month, I only wrote two articles on my blog and deleted one article on hydrology. In fact, I have been reading books~
Functional programming
At the end of March and the beginning of April, I had already written the entire JavaScript functional programming tutorial, which may be sorted out in the near future, but I didn't bother to sort it out, as follows
Redux Tutorial
In fact, I have also written the Redux tutorial, and I am too lazy to sort it out. I don't know whether it will be released recently, but it is more likely that it will not be released, as follows
Practice demo
This April is mainly about reading books and writing practical demos. People who follow Github should know that I wrote several small demos, as follows
Of course, Node.js is also practicing~
other
The idea of creating a "highly available" blog from scratch has begun to emerge. Currently, the technology needed to realize this idea is under research
ThinkJS of 360 Qiwu Troupe and EGG of Ali Family are both good frameworks. For example, cnodejs.org has already opened its website source code. It is necessary to read the source code and learn from it in depth
The plan for this "highly available" blog is to separate the front end from the back end. Node.js will go directly out of the REST API or GraphQL, not just the front end, but also the back end management
For database selection, MySQL, MongoDB and PostgreSQL should be considered. MySQL was very familiar with PHP for a long time in the early years. MongoDB is more familiar. PostgreSQL has become the first choice for relational databases
After REST API or GraphQL, it is the spa business. It is planned to use React as the view layer, Redux as the state management, and Antd as the UI. Such a small architecture can be used as the background front end, and may also be used as a background UI skin
Then the receptionist hopes to write another set of beautiful skin instead of pinghsu themed skin. It's a new one with more beautiful and durable skin. I have already thought about the name of this skin, ha ha
To create a "highly available" blog alone, I think there are several difficulties to overcome
- How to do user login authentication and login status persistence (JWT?)
- How to design various forms
- How to design data tables (if it is a relational database, please refer to Typecho)
- How to optimize the database (index is enough?)
- How to organize the code directory (the problem of front-end engineering)
- How to design the state tree of components
- How to do a good job in back-end security (HTTPS encryption, explosion-proof, etc.)
- How to do a good job in front-end security (XSS, CSRF, etc.)
- How to do the front and back data interaction (axios?)
- How to optimize front-end performance
- How to do front-end and back-end engineering to achieve higher development efficiency
- How to do well in version management and branch management
- How to do a good job of server deployment online
- How to do a good job in transparent upgrade and continuous integration
This may be a huge pit, which involves too many new technical points and new technical details
For example, the development of a single background spa involves a series of development details such as webpack, react bucket and antd. It is great to do a good job~
Just like the slogan of the 404 of the pinghsu theme: I have no secret of success but hard work
Not much content, so far~
This article is written by Chakhsu Lau Creation, adoption Knowledge Sharing Attribution 4.0 International License Agreement.
All articles on this website are original or translated by this website, except for the reprint/source. Please sign your name before reprinting.