concept data layer in category angular

appears as: data layer
Getting MEAN with Mongo, Express, Angular, and Node.js 2ED

This is an excerpt from Manning's book Getting MEAN with Mongo, Express, Angular, and Node.js 2ED.

  • Where MongoDB fits as the data layer
  • You certainly don’t want to find yourself having to write separate but similar interfaces for each. If you’ve built your own API up front that outputs the data you need, you can avoid this work. If you have an API in place, when you want to integrate the data layer into your application, you can simply make it reference your API. It doesn’t matter whether your application is Node.js, Angular, iOS, or Android. It doesn’t have to be a public API that anyone can use so long as you can access it. Figure 2.8 shows a comparison of the two approaches when you have Node.js, Angular, and iOS/Android applications all using the same data source.