Lunatech Research is proudly hosting the fourteenth Duse meetup, a fun gathering of developers interested in Scala.
The number of attendants is limited to 30, please register at the Duse website.
Give the audience an understanding of how event sourcing is both easy to implement and can simplify the structure of your business application (with code provided)
Currently many business applications are developed using a very database centric approach, often requiring the use of complex tools like Object-Relational Mappers (ORMs). Although ORMs can make developers more productive the core issues remain:
In this talk we'll explore the use of an alternative approach using the techniques pioneered by Greg Young using Domain-Driven Design (DDD) and especially Command-Query Responsibility Segregation (CQRS): Event Sourcing.
By making change explicit through the use of domain events the developer is put back in charge of the application, instead of the ORM.
Traditional languages such as Java require a lot of ceremony when implementing event sourcing, obscuring the basic simplicity. Using Scala's flexible syntax, light-weight classes, and immutable data structures very little support code is needed to build production ready applications. We can start simple and scale up to more complexity only when we need to. During this talk we'll take a quick tour through the code you might need to get started.
The goals are to make developers productive while keeping applications understandable and maintainable. This is achieved by:
Some of these concepts were first explored in a series of blog posts (see http://blog.zilverline.com/2011/02/10/towards-an-immutable-domain-model-monads-part-5/).
Please send comments on this article to editorial@lunatech.com.
Copyright © 2005-2012, Lunatech Research B.V. All rights reserved.