Closing thoughts on A-Frame architecture

Search for a command to run...

No comments yet. Be the first to comment.
A-Frame architecture helps separate infrastructure from logic through mediation of a controller. In doing so, it simplifies a lot of scenarios and transforms them into trivially testable code.
In my last projects, I’ve been using the same approach with great success. It has simplified my code, my tests and the project’s setup. In the following blog posts, I’m going to talk about A-Frame Architecture: what it is, how I use it, how to tackle...
No architecture is complete without an easy way to test the functionality. My recommended strategy is to use two types of tests: unit and integration. As far as test setup goes, there is no clear winner for a test framework. xUnit.NET, NUnit and the ...

The examples in the previous posts seem really nice for simple scenarios. How do I approach more advanced use cases? The big scenarios are: I need multiple pieces of data from different sources I need to perform an infrastructure call in the middle...

I’ve shown how I write code using the A-Frame architecture without help. Yet I find a library or framework very convenient when using advanced techniques. Wolverine is at its core a messaging framework, but goes well beyond that. It has an in-memory ...

Now the expected structure is clear, let's take a look at the code. I will start with a minimal API implementation to demonstrate that there is no need for a framework to implement this architecture. I do know of a framework that makes A-Frame effort...

Phew, that was a lot. I'm always surprised how simple solutions contain so much detail and nuance when I try to explain them. I hope I conveyed the message that A-Frame simplifies code within a module or class by separating the infrastructure components and logic components. They will interact with each other through a controller that knows how to connect one to the other. Keep logic focused on the feature and try to keep infrastructure as straightforward as possible.
Good luck out there!
A-Frame Architecture with Wolverine