- Building Scalable Apps with Redis and Node.js
- Joshua Johanan
- 138字
- 2021-08-05 17:49:04
Summary
Our app now looks and feels like a real application. We went from little knowledge of Express to actually using it to build a small yet fully functional site. At this point, we now know how to respond to different HTTP methods. We know how to wire up routes in a clean and extendable manner. Our app has 14 different pieces of middleware. This might seem like a lot, but our app is also doing a lot. We can use templates and partials to render our pages easily. Finally, we have a simple authentication system that uses sessions. We laid a very good base for our chat application, all in just over 40 lines, in our app.js
.
In our next chapter, we will cover how to add real-time communication between the server and the browser using Socket.io
.
推薦閱讀
- Linux核心技術從小白到大牛
- Arduino開發實戰指南:LabVIEW卷
- Vue.js快速入門與深入實戰
- Learning Flask Framework
- HTML5入門經典
- Hands-On Functional Programming with TypeScript
- 大模型RAG實戰:RAG原理、應用與系統構建
- OpenStack Orchestration
- 持續集成與持續交付實戰:用Jenkins、Travis CI和CircleCI構建和發布大規模高質量軟件
- DB2SQL性能調優秘笈
- 程序員必會的40種算法
- Clojure for Finance
- Isomorphic Go
- 輕松學Scratch 3.0 少兒編程(全彩)
- Unity虛擬現實開發圣典