WebExpress 0.0.8-alpha – Breaking Change: Removal of the Module Abstraction

 Hello everyone,

I’m excited to share one of the biggest changes we’ve made in WebExpress 0.0.8-alpha: we’ve completely removed the module layer. In my previous work with WebExpress, our applications followed a three-tier structure (Application → Module → Component) which meant that all components were grouped within modules. While this structure had its merits, it also added an extra layer of complexity to our development process.



The Old Structure

Previously, the abstraction looked something like this:


In this arrangement, modules acted as an intermediate layer, grouping related components such as fragments, jobs, endpoints, and events.

The New Structure

Now, with the release of 0.0.8-alpha, we’ve simplified this model to a two-tier structure:


Here, we’ve removed the module layer entirely. The structure is now a direct mapping between Application and Component. This drastic simplification benefits development by providing a more direct connection to the components without the need to manage an intermediary module layer.

What Does This Mean for You?
  • Simplified Development: I no longer need to deal with the extra module abstraction. Directly working with components not only reduces the overall complexity but also speeds up the development process.

  • Breaking Change: Removing the module layer is a significant breaking change. If your current application relies on the module abstraction, you will need to adjust or migrate your code to align with the simplified Application → Component model.

Looking Ahead

I’m excited about these changes because they streamline the development process and reduce the overhead associated with managing multiple abstraction layers. However, I also understand that this is a breaking change, and migrating existing projects to this simplified structure may pose challenges. In our next post, I’ll dive into further breaking changes introduced in WebExpress 0.0.8-alpha. I’d love to hear from you: What concerns or suggestions do you have regarding the migration to this simpler model? 


Thank you following in our series - I look forward to your feedback!

Best regards, René

Comments

Popular posts from this blog

WebExpress – A new .NET Framework for Modern Web Applications

WebExpress 0.0.8-alpha – Completion of the Development Guide for WebExpress

WebExpress 0.0.9-alpha – The Path Toward More Responsive Design