January 2025
Intermediate to advanced
728 pages
18h 40m
English
In this chapter, we’ll explore techniques that make working with databases easier and more secure. First, much of the CRUD code in repository classes can become tedious and repetitive to write, varying only in terms of the names of the model classes and their properties. Object-relational mapping (ORM) libraries relieve this problem, automating lower-level work like preparing and executing SQL queries based on the way an application’s model classes are named and structured. You’ll see how to use such a library to simplify or replace our repository classes with just a few lines of code. We’ll start ...
Read now
Unlock full access