The Architect´s Napkin

Software Architecture on the Back of a Napkin
posts - 69 , comments - 227 , trackbacks - 0

My Links

News

Article Categories

Archives

Post Categories

August 2010 Entries

Going asynchronous - AOP made easy with Event-Based Components – Part III
Logging, validation, exception handling: that´s easy aspects to insert into an Event-Based Components design as I´ve shown in my previous post. But what about multi-threading? Or better: parallel and asynchronous processing? In this article I want to show you, how you could approach multi-core programming using aspects you insert into an existing EBC architecture. Asynchronous processing Why use multiple threads at all? It´s because you either want to hide latency, or you want to decrease latency, ......

Posted On Sunday, August 8, 2010 2:12 PM | Comments (0) | Filed Under [ Event-Based Components ]

Aspect Oriented Programming made easy with Event-Based Components – Part II
In my previous post I described the architecture for a small application to index .TXT files. Here´s are the napkins with my design EBC diagrams so far: Currently the implementation is working in a synchronous and sequential mode. Now, today I want to move on and introduce a couple of aspects (in the AOP sense) into the design/code. I find Event-Based Component architectures very easy to extent in that regard. No special AOP tools necessary. But see for yourself… Adding a logging aspect The “Hello, ......

Posted On Thursday, August 5, 2010 5:55 PM | Comments (0) | Filed Under [ Event-Based Components ]

Aspect Oriented Programming made easy with Event-Based Components – Part I
AOP still is pretty much a pain when living according to “traditional” object orientation. You need fancy tools or you need to do some advanced code slinging. With Event-Based Components, though, introducing aspects is a piece of cake. Actual code is freed from tackling special concerns. Rather concerns become a matter of architecture. But see for yourself. The scenario for today is file processing. I want an application which indexes .TXT files. The program should crawl a directory hierarchy, extract ......

Posted On Wednesday, August 4, 2010 9:51 AM | Comments (3) | Filed Under [ Event-Based Components ]

Powered by: