Microsoft Advertising 16:9 Template Light Use the slides below to start the design of your presentation. Additional slides layouts (title slides, tile slides, etc.) are available to you in the slide master.
Grid Use this grid to align your copy, imagery and charts/graphs.
Krešimir Meze Omega software ASP.NET MVC Dependency Injection with Unity Application Block
Doing It Yourself The Basics Agenda Injecting With Unity
Krešimir Meze Omega software LinkedIn: Blog: Twitter: GitHub: About me
Inspirirani ljudima. Ugasite mobitele. Hvala.
Inspirirani ljudima. The Basics
Loose Coupling Reducing the number of dependencies between the components that make up your system.
Dependency Injection A software design pattern that implements inversion of control and allows a program design to follow the dependency inversion principle. Martin Fowler
Dependency Inversion Principle High-level modules should not depend on low-level modules. Both should depend on abstractions. Abstractions should not depend on details. Details should depend on abstractions. Robert C. Martin
Open/close principle Single responsibility principle SOLID principles of object-oriented programming First five principles Liskov substitution principle Interface segregation principle Dependency inversion principle
SOLID Single responsibility principle - states that a class should have one, and only one, reason to change. Open/close principle - software entities (classes, modules, functions, and so on) should be open for extension, but closed for modification. Liskov substitution principle - states that in a computer program, if S is a subtype of T, then objects of type T may be replaced with objects of type S without altering any of the desirable properties, such as correctness, of that program. Interface segregation principle - states that interfaces that are very large should be split into smaller and more specific ones so that client classes only need to know about the methods that they use: no client class should be forced to depend on methods it does not use. Dependency inversion principle - High-level modules should not depend on low-level modules. Both should depend on abstractions. Abstractions should not depend upon details. Details should depend upon abstractions.
Inversion of Control (IoC) Hollywood principle: “Don't call us, we'll call you.“
Inspirirani ljudima. Doing It Yourself
Inspirirani ljudima. Injecting With Unity
Inspirirani ljudima. Recap
Doing It Yourself The Basics Recap Injecting With Unity
References Wikipedia Source Unity Developer's Guide Hands-On Labs Robert C. Martin: The Dependency Inversion Principle Martin Fowler: Inversion of Control Containers and the Dependency Injection pattern PluralSight - Practical IoC With ASP.NET MVC 4 PluralSight - Inversion of Control
Inspirirani ljudima. Pitanja i odgovori.
Krešimir Meze Omega software LinkedIn: Twitter: Blog: GitHub: Contact
Inspirirani ljudima. Section Divider
1-column slide header Main topic 1 Subtopic 1 Subtopic 2 Main topic 2 Subtopic 1 Subtopic 2 Main topic 3 Subtopic 1 Subtopic 2
2-column slide header Main topic 1 Subtopic 1 Subtopic 2 Main topic 2 Subtopic 1 Subtopic 2 Main topic 3 Subtopic 1 Subtopic 2 Main topic 1 Subtopic 1 Subtopic 2 Main topic 2 Subtopic 1 Subtopic 2 Main topic 3 Subtopic 1 Subtopic 2
Main topic 1 Subtopic 1 2-tile slide header
Main topic 1 Subtopic 1 3-tile slide header