Todayโs post is about DI
Linkedin
#dart #flutter #systemdesign #architecture #dependencyinjection | Michael Lazebny
Dependency Injection: Game Changer in Software Design
Have you ever wondered why top software experts are so excited about Dependency Injection (DI)?
It's not just a fancy term - it's a core design pattern that is changing the way we build and manage software.โฆ
Have you ever wondered why top software experts are so excited about Dependency Injection (DI)?
It's not just a fancy term - it's a core design pattern that is changing the way we build and manage software.โฆ
๐ฅ9๐3
Avoid synchronous I/O
Linkedin
#flutter #io #async #sync #systemdesign #architecture | Michael Lazebny
Avoid Synchronous I/O
Input/output, or I/O, is the communication between an information processing system, such as a computer, and the outside world, which could include a human, another information processing system, or a storage device.
Some examplesโฆ
Input/output, or I/O, is the communication between an information processing system, such as a computer, and the outside world, which could include a human, another information processing system, or a storage device.
Some examplesโฆ
๐3
A package should do a single thing and do it well.
If the package solves state management, it should expose APIs specifically for that purpose โ it should not concern itself with dependency injection or database storage.
A package that has many responsibilities likely tries to connect them under a single API, which adds more coupling and more unknowns to it. Such packages are considered red flags.
Applications built with packages that are "red flags" tend to be "red flags" in terms of maintenance/scalability/performance.
#architecture
If the package solves state management, it should expose APIs specifically for that purpose โ it should not concern itself with dependency injection or database storage.
A package that has many responsibilities likely tries to connect them under a single API, which adds more coupling and more unknowns to it. Such packages are considered red flags.
Applications built with packages that are "red flags" tend to be "red flags" in terms of maintenance/scalability/performance.
#architecture
๐8๐ฏ4๐1