- MongoDB,Express,Angular,and Node.js Fundamentals
- Paul Oluyege
- 235字
- 2021-06-11 13:36:31
Summary
In this chapter, we first described MEAN architecture by briefly expanding on the layers that comprise the MEAN stack: MongoDB, Express, Angular, and Node. For each of these components, we discussed their features/advantages and limitations. Thereafter, we began by describing the Node framework in detail. We first discussed the various installation options (the LTS or stable versions) that are available. Then, we had a brief look into the built-in modules that make up Node and also learned about the steps that are involved in starting a Node application.
In the succeeding topics, we described some important concepts in Node such as callbacks, event loops, event emitters, buffers, streams, and the filesystem. For callbacks, we described its implementation in synchronous and asynchronous mode. We also looked into how Node employs event loops in sequencing program operations. Next, we learned how to add event listeners, trigger events, remove listeners, and implement some other features. We then progressed to discussing buffers. Specifically, we learned how to create, read, and write into buffers.
The next topic described various types of streams that are available. We performed an exercise on writing to and reading from a stream. Finally, we discussed the filesystem and implemented different operations that can be performed on a file via an activity.
In the next chapter, we will begin developing RESTful APIs to perform create, read, update, and delete (CRUD) operations.
- 機(jī)器人Python青少年編程開發(fā)實(shí)例
- Visual Basic程序設(shè)計(jì)與應(yīng)用實(shí)踐教程
- Python完全自學(xué)教程
- 飛槳PaddlePaddle深度學(xué)習(xí)實(shí)戰(zhàn)
- Node.js全程實(shí)例
- OpenCV 4計(jì)算機(jī)視覺(jué)項(xiàng)目實(shí)戰(zhàn)(原書第2版)
- Visual C#.NET Web應(yīng)用程序設(shè)計(jì)
- Emotional Intelligence for IT Professionals
- Java程序設(shè)計(jì)實(shí)用教程(第2版)
- Laravel Design Patterns and Best Practices
- Java EE項(xiàng)目應(yīng)用開發(fā)
- Mobile Test Automation with Appium
- 亮劍Java Web項(xiàng)目開發(fā)案例導(dǎo)航
- WordPress 3.7 Complete(Third Edition)
- C++程序設(shè)計(jì)基礎(chǔ)(下)