1 / 7

CS122B: Projects in Databases and Web Applications Winter 201 9

CS122B: Projects in Databases and Web Applications Winter 201 9. Notes 03: Micro-service architecture (a.k.a. Frontend Backend Separation or Restful API) Professor Chen Li Department of Computer Science UC Irvine. Old architecture: backend generates HTML.

jamesrlewis
Download Presentation

CS122B: Projects in Databases and Web Applications Winter 201 9

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS122B: Projects in Databases and Web Applications Winter 2019 Notes 03: Micro-servicearchitecture(a.k.a.Frontend Backend Separation orRestfulAPI) Professor Chen Li Department of Computer Science UC Irvine

  2. Old architecture: backend generates HTML

  3. New architecture: microservices

  4. New architecture: Backend/frontend separation

  5. Micro-services:benefits(1) • Dutyseparation: • Backend concentrates on processing and manipulating data. • Frontend concentrates on how to present the data nicely to the user. • Extensive use of Javascript makes the website more responsive.

  6. Micro-services:benefits(2) • Multiple UI clients (Web, Android, iOS) can share the same backend API • In the old way, Android and iOS applications can’t reuse the same backend code.

  7. Micro-services:benefits(3) • Separation team, development, and technology stack. • Frontend team and backend team can work separately after the API format is specified. • Frontend team can use mock data in development without waiting for the backend to be completed. • Frontend doesn’t have to rely on backend languages (Java/PHP/C#/…). • The rise of frontend frameworks (Angular, React, …).

More Related