Posts Tagged ‘EDA’

Explorations in declarative programming

July 29, 2009

I want to explore the revolutionary idea of building software in a GPL (C#) that is declarative in style. This means using Event Driven Architecture, Internal DSLs, and Fluent Interfaces.

If you check this out, you will see that I’m very passionate about what is happening in the software world. There is a revolution happening right now!

I don’t care what language you’re using today (including VB6). By following this blog maybe you and I can chart some of the revolution together.

Some things that were the impetuous for this blog post was these two blog posts.

[1] Braindump on the Event Aggregator Pattern

[2] DDD, TDD, BDD, and CQS

[1] is a pretty concise description of the properties of an Event Aggregator (EA). The thing about EA is that it is more of a framework than a pattern. Something similar to an EA is Active Object. The key property for this is the decoupling of publisher from subscriber.

[2] Describes using a declarative language for interpreting systems with inputs, processors, and outputs. This interpretation uses a syntax of { When, Given, Then }. An example would be:

When some_input_event

Given this_process

Then some_output_event

This a declarative language.

convention over configuration‘ succinctly differentiates the declarative and imperative IMHO.

This exploration will utilize command patterns, events, message buses, computational systems, SRP, closures, decoupling, and you name it we’ll cover it.

Be sure to comment!