Dependency Injection in C++## 20 24 September 15 - 20 ## +24 ## Dependency Injection in C++ A Practical Guide ## PETER MULDOON # Dependency Injection in C++: A Practical Guide Engineering CppCon 2024 September 18, 2024 Pete away and be able to use it ## Where will we be going? - Talk will be about inserting meaningful Dependency Injection in applications - Using various DI methods to achieve functionality swapping / instrumentation (or just giving up) • Talk is rooted in a real-world system not theory ## Basic Definitions ## Dependency Injection : 1. Decreases coupling between functionality blocks 2. Used to make a class/function0 码力 | 106 页 | 1.76 MB | 1 年前3
Libraries: A First Step Toward Standard C++ Dependency ManagementFirst Step Toward Standard C++ Dependency Management ## BILL HOFFMAN & BRET BROWN ## 20 23 October 01 - 06 ## Libraries: A First Step Toward Standard C++ Dependency Management October 3, 2023 Bloomberg Projects as portable as the code they contain! ✓ Projects should be “cattle,” not “pets”! ## Why dependency management? Consensus: Managing dependencies == way too hard Q: Which of these do you find frustrating What's a dependency bug? Missing interfaces: fangorn.cxx:2:10: fatal error: jsonlog/core.hxx: No such file or directory This could be caused by other root problems! Pain: What's a dependency bug?0 码力 | 82 页 | 4.21 MB | 1 年前3
Spring Boot 2.7.0-RC1 Reference Documentation Next ..... 21 6. Developing with Spring Boot ..... 23 6.1. Build Systems ..... 23 6.1.1. Dependency Management ..... 23 6.1.2. Maven ..... 23 6.1.3. Gradle ..... 23 6.1.4. Ant ..... 24 6 ... 32 6.4.2. Disabling Specific Auto-configuration Classes ..... 32 6.5. Spring Beans and Dependency Injection ..... 33 6.6. Using the @SpringBootApplication Annotation ..... 35 6.7. Running Your 226 7.10.3. Kotlin API ..... 226 runApplication ..... 226 Extensions ..... 227 7.10.4. Dependency management ..... 227 7.10.5. @ConfigurationProperties ..... 227 7.10.6. Testing ..... 2280 码力 | 866 页 | 15.49 MB | 2 年前3
Spring Boot 2.0.8.RELEASE Reference GuideWhat to Read Next ..... 22 III. Using Spring Boot ..... 23 13. Build Systems ..... 24 13.1. Dependency Management ..... 24 13.2. Maven ..... 24 Inheriting the Starter Parent ..... 25 Using ..... 36 16.2. Disabling Specific Auto-configuration Classes ..... 36 17. Spring Beans and Dependency Injection ..... 37 18. Using the @SpringBootApplication Annotation ..... 38 19. Running Your ... 188 48.3. Kotlin API ..... 189 runApplication ..... 189 Extensions ..... 189 48.4. Dependency management ..... 189 48.5. @ConfigurationProperties ..... 190 48.6. Testing ..... 190 480 码力 | 420 页 | 2.24 MB | 2 年前3
Spring Boot 1.3.9.BUILD-SNAPSHOT Reference DocumentationCreating an executable jar 12. What to read next III. Using Spring Boot 13. Build systems Dependency management Maven Inheriting the starter parent Using Spring Boot without the parent Gradually replacing auto-configuration Disabling specific auto-configuration 17. Spring Beans and dependency injection 18. Using the @SpringBootApplication annotation 19. Running your application Running "grab" coordinates Default import statements Automatic main method Custom dependency management Testing your code Applications with multiple source files Packaging your application0 码力 | 504 页 | 456.47 KB | 2 年前3
Spring Boot 3.0.13 Reference Documentation Next ..... 20 6. Developing with Spring Boot ..... 22 6.1. Build Systems ..... 22 6.1.1. Dependency Management ..... 22 6.1.2. Maven ..... 22 6.1.3. Gradle ..... 22 6.1.4. Ant ..... 23 6 Auto-configuration Classes ..... 31 6.4.3. Auto-configuration Packages ..... 31 6.5. Spring Beans and Dependency Injection ..... 32 6.6. Using the @SpringBootApplication Annotation ..... 34 6.7. Running Your 228 7.11.3. Kotlin API ..... 229 runApplication ..... 229 Extensions ..... 229 7.11.4. Dependency management ..... 230 7.11.5. @ConfigurationProperties ..... 230 7.11.6. Testing ..... 2300 码力 | 891 页 | 15.91 MB | 2 年前3
Spring Boot 3.0.13-SNAPSHOT Reference Documentation Next ..... 20 6. Developing with Spring Boot ..... 22 6.1. Build Systems ..... 22 6.1.1. Dependency Management ..... 22 6.1.2. Maven ..... 22 6.1.3. Gradle ..... 22 6.1.4. Ant ..... 23 6 Auto-configuration Classes ..... 31 6.4.3. Auto-configuration Packages ..... 31 6.5. Spring Beans and Dependency Injection ..... 32 6.6. Using the @SpringBootApplication Annotation ..... 34 6.7. Running Your 228 7.11.3. Kotlin API ..... 229 runApplication ..... 229 Extensions ..... 229 7.11.4. Dependency management ..... 230 7.11.5. @ConfigurationProperties ..... 230 7.11.6. Testing ..... 2300 码力 | 891 页 | 15.92 MB | 2 年前3
Spring Framework 1.2.4 Reference. 1.2. Usage scenarios ..... 2. Background information ..... 2.1. Inversion of Control / Dependency Injection ..... 3. Beans, BeanFactory and the ApplicationContext ..... 3.1. Introduction . 3.2.5. To singleton or not to singleton ..... 3.3. Properties, collaborators, autowiring and dependency checking ..... 3.3.1. Setting bean properties and collaborators ..... 3.3.2. Constructor Argument 23.2. Integration testing ..... 265 23.2.1. Context management and caching ..... 266 23.2.2. Dependency Injection of test class instances ..... 266 23.2.3. Transaction management ..... 266 23.2.40 码力 | 289 页 | 1.49 MB | 2 年前3
Spring Framework 1.2.1 Reference. 1.2. Usage scenarios ..... 2. Background information ..... 2.1. Inversion of Control / Dependency Injection ..... 3. Beans, BeanFactory and the ApplicationContext ..... 3.1. Introduction . 3.2.5. To singleton or not to singleton ..... 3.3. Properties, collaborators, autowiring and dependency checking ..... 3.3.1. Setting bean properties and collaborators ..... 3.3.2. Constructor Argument 21.2. Integration testing ..... 222 21.2.1. Context management and caching ..... 223 21.2.2. Dependency Injection of test class instances ..... 223 21.2.3. Transaction management ..... 223 21.2.40 码力 | 244 页 | 1.30 MB | 2 年前3
Spring Framework 1.1.2 Reference. 1.2. Usage scenarios ..... 2. Background information ..... 2.1. Inversion of Control / Dependency Injection ..... 3. Beans, BeanFactory and the ApplicationContext ..... 3.1. Introduction . 3.2.5. To singleton or not to singleton ..... 3.3. Properties, collaborators, autowiring and dependency checking ..... 3.3.1. Setting bean properties and collaborators ..... 3.3.2. Constructor Argument Spring Framework The Core package is the most fundamental part of the framework and provides the Dependency Injection features allowing you to manage bean container functionality. The basic concept here0 码力 | 199 页 | 1.14 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













