December 2024
Intermediate to advanced
697 pages
11h 53m
English
_Dependency Inversion_ is one of the basic principles of good _Object-Oriented Design_. The big enabler is _Dependency Injection_. In this chapter, we will discuss dependency inversion and injection and why it is a fundamental part of Blazer. We will illustrate this by building a _Service_ that encapsulates where the data gets retrieved and stored.
Currently, our PizzaPlace app retrieves its data from hard-coded sample data. But in a real-life situation, this data will probably be stored in a _database_ ...
Read now
Unlock full access