decoupling
IoC and managing interfaces
Say I had a busines开发者_Python百科s object library which was using IoC to implement a data access library. Where should I define the Data Access Interface? Which library does it belong? Or should it[详细]
2023-02-18 16:35 分类:问答Refactoring and Decoupling Rails controllers: can they call eachother?
I have the following situation in a Ruby on Rails app: user fills in a form (a comment), gets to see an omniauth page where she can choose the authentication method (openId, Twi开发者_C百科tter, Fac[详细]
2023-02-16 00:44 分类:问答decoupled generic key-value access against linq in a non-xml environment
good morning. i am not a computer scientist by education, so please overlook any shady term abuse. in my framework, a base form called Record opens form RecordDetail as dialog. for example, RecordCl[详细]
2023-02-14 22:31 分类:问答Dependency Injection - Is it better to pass a complete class, or the name of a class?
For dependency injection, I understand that I have to pass an instance of one class to the main instance instead of the main class creating it\'s own instance, like so (php):[详细]
2023-02-11 02:31 分类:问答Help with decoupling a game design
Here\'s the current dependency graph (with freehand circles for TheTXI) A game has players and a single board shared between them.[详细]
2023-02-08 03:28 分类:问答Decoupling in Class and in Project other than IoC & Dependency Injection (java)
What other (besides IoC & Dependency Injection) decoupling patterns and practices could be used inside of an object and than between objects (in project).[详细]
2023-02-05 04:58 分类:问答Difference between "Inversion of Control", "Dependency inversion" and "Decoupling"
I\'m reading theory about dependency inversion and decoupling and I can\'t see the difference between the two.[详细]
2023-01-19 20:09 分类:问答Model Using Modules in Rails Application
I have a model that requires loading external data from an auxiliary source. A number of web services exist that my model can fetch the data from (swappable), but I don\'t want to create code that wil[详细]
2023-01-17 03:37 分类:问答Reverse dependency between layers problem
I\'m building a control system for a hardware installation (water circulation system). I\'ve designed it in two layers: the hardware description layer and the control layer.[详细]
2023-01-14 19:47 分类:问答Will decoupling be beneficial in a redesign of a legacy application?
I am working on a company running several internet shops. We are about completely rewrite the whole code: site content and products management, order processing, partner relations, accounting, custome[详细]
2023-01-11 17:57 分类:问答