How to handle “circular dependency” in dependency injection
The title says “Circular Dependency”, but it is not the correct wording, because to me the design seems solid.
However, consider the following scenario, where the blue parts are given from external partner, and orange is my own implementation. Also assume there is more then one ConcreteMain
, but I want to use a specific one. (In reality, each class has some more dependencies, but I tried to simplify it here)
Decoupling software components via naming convention
I’m currently evaluating alternatives to refactor a drivermanagement.
Git-based storage and publishing, infrastructure advice
I wanted to get some advice on moving a system to “the cloud” … specifically, I’m looking to move into some of Windows Azure’s managed services, as right now I’m managing a VM. Basically, the system operates on some data stored in a github git repository. I’ll describe the current architecture:
Alternatives to multiple inheritance for my architecture (NPCs in a Realtime Strategy game)?
Coding isn’t that hard actually. The hard part is to write code that makes sense, is readable and understandable. So I want to get a better developer and create some solid architecture.
View model structuring best practise
What is the preferred convention for structuring view model properties? It is better to use generic or more specific property names?
View model structuring best practise
What is the preferred convention for structuring view model properties? It is better to use generic or more specific property names?
View model structuring best practise
What is the preferred convention for structuring view model properties? It is better to use generic or more specific property names?
View model structuring best practise
What is the preferred convention for structuring view model properties? It is better to use generic or more specific property names?
View model structuring best practise
What is the preferred convention for structuring view model properties? It is better to use generic or more specific property names?
SPA Applications: AJAX to fetch templates or build from strings
I’m working on a large angular application and I’m currently using a factory class that builds HTML templates from strings. We don’t have to worry about mobile support for the application and I’m wondering from an architectural standpoint, which method would you rather implement and why: static HTML files that are fetched on request, or a class that builds the templates as strings?