Domain Objects with Interfaces
I’m in a situation where part of my system has a dependency on another module in the same system, but the modules themselves need to remain independently deployable, where the parts they depend on would be filled in with another implementation.
Public-private key pair handling on a Windows ecosystem
I’ve been thinking about how to architect an infrastructure for one of our business applications with the following requirement:
When, how and why should one upgrade (Java) frameworks?
Short summary as introduction:
Python simulation-scripts architecture
Situation:
I’ve some scripts that simulate user-activity on desktop. Therefore I’ve defined a few cases (workflows) and implemented them in Python. I’ve also written some classes for interacting with the users’ software (e.g. web browser etc.).
How long does one have to wait to consider design change in code?
I had a few days ago. I was having trouble with threads. Had lots of questions asked on StackOverflow and honestly for the first time I did not get the answer I was looking for. Finally, I decided to do a huge re-design of my system code and magically within a few hours I found a solution.
WPF, MVVM, EF, POCO guidance required on simple architecture
(sorry for my poor english)
I am developing a application using WPF, EF Code First using MVVM (Caliburn.Micro).
It should be used mostly to CRUD work. I created a BaseViewModel<T>
class from wich all other ViewModels inherit and exposed a T Selected
property to bind to the View. I know it is not recomended to expose a Model to the View but it just make things simple to get the app running.
How do you organize highly customized software?
I’m working on a large software project which is highly customized for various customers arround the world. This means that we have maybe 80% code which is common between the various customers, but also a lot of code which has to change from one customer to the other. In the past we did our development in separate repositories (SVN) and when a new project started (we have few, but large customers) created another repository based on whatever past project has the best code basis for our needs. This has worked in the past, but we ran into several problems:
Side-by-side Configuration on Linux/ELF
One of the best/worst Microsoft software innovations (great for compatibility; terrible for efficiency) has been Windows’ Side by Side Configuration. This allows, among other things, for different components of a program to have multiple versions of the C/C++ runtime libraries loaded into the same process.
Don’t Use “Static” in C#?
I submitted an application I wrote to some other architects for code review. One of them almost immediately wrote me back and said “Don’t use static
. You can’t write automated tests with static
classes and methods. static
is to be avoided.”
How to use the unit of work and repository patterns in a service oriented enviroment
I’ve created an application framework using the unit of work and repository patterns for it’s data layer. Data consumer layers such as presentation depend on the data layer design. For example a CRUD abstract form has a dependency to a repository (IRepository).