Week 4: Storing and Serving Data

Determine the best way of storing application data; Storing and serving images; Using ORMs in backend code; Learn the different methods of pagination and how to properly paginate in the backend; The classic N+1 problem in database queries and strategies to solve it.

In this lecture, we will learn:

Why...

  • Do we need to store data in a database?
  • Is pagination important in web applications?
  • Do N+1 queries cause performance issues?

How to...

  • Store and serve images in a web application
  • Use Object-Relational Mapping (ORM) libraries in backend code
  • Implement pagination in the backend
  • Solve the N+1 problem in database queries
Lecture Slides