Category: Programming

  • Projections – Transforming Events into Read Models

    In an event-sourced architecture, the entire history of changes to the application’s state is stored as a sequence of events. However, to effectively work with this data, we often need optimized read models. This is where projections come into play. In today’s post, I’ll show you how to set up and implement projections in Ecotone, allowing you to easily transform events into the current state of your system.

    (more…)
  • PoC: Cooking with Flutter, Dart, and ChatGPT

    Have you ever stood in front of your fridge, staring at its contents, hoping that a ready-made meal would suddenly appear before you? I have. Too many times. But instead of accepting my fate and ordering pizza, I decided to harness the power of machine learning.

    In this post, we’ll build a simple—but fun—proof of concept. Here’s the idea: we’ll snap a photo of some ingredients, send the image to ChatGPT via its API, and hopefully ChatGPT will recognize what’s in the photo. Then it will shoot back three recipes that you can make with those ingredients, complete with step-by-step instructions.

    (more…)
  • Strategic DDD – Key Building Blocks and Their Role in Architecture

    Domain-Driven Design is an approach that helps build software reflecting real-world business logic. Within DDD, we distinguish building blocks – essential elements of domain modeling. Here’s their breakdown and application:

    (more…)
  • Introduction to Domain-Driven Design: What Benefits Does It Bring to Business?

    In the world of rapidly changing business requirements, creating software that effectively meets user needs is a key challenge. This is where Domain-Driven Design (DDD) comes in—a methodology that places the business domain at the center of the application design process.

    (more…)