Relative Content

Tag Archive for architecture

Versioning business rules

TL;DR Storing ever-changing business rules so that an app can behave like it did at moment X in the past. Can it be done? If so, how? Long version At this very moment, this is more of a thought exercise than an actual need, though things could change in the not so distant future. The […]

Models, types, different views and meta data

We have a software which purpose is to be used to help users build their own applications. It has to be very loose coupled with the infrastructure: for example, I can imagine users running it on MySQL database as well on MongoDB.

How do you keep control in a large software project? [duplicate]

This question already exists: How to manage a relatively large one-man project? [duplicate] Closed 9 years ago. I’ve a large-ish software project that I’m the sole developer for (~80KLOCS and counting – I know there are much larger projects out there, but it’s an order of magnitude larger than I’ve ever had to deal with […]

Encapsulate one business story/use case in one class?

I don’t like classes like *Service, with bunch of business methods – aka anemic model. I was thinking, instead, to have a class per use case. This was inspired (if not the same) from CQRS. Even if we are not using event sourcing, I believe that this kind of encapsulation would make sense. Then the service layer (application layer) would simple consist of commands that user can instantiate and pass to some executer.