The Architect´s Napkin

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

My Links


Article Categories


Post Categories

Image Galleries

July 2010 Entries

Using Event-Based Components for Library Development
Can Event-Based Components (EBC) be used to design libraries? Sure they can. FallenGameR asked a question along this line in response to my previous article. Let me demonstrate this with a simple library scenario: A function ToDictionary() is to be developed which converts a string like “port=8080;user=bart;passwo... into a Dictionary<string, string>. The usage should be like this: var td = new StringToDictionaryConverter(); var dict = td.Convert(“port=8080;user=... or var dict = new Dictionary<string, ......

Posted On Thursday, July 29, 2010 2:53 PM | Comments (2) | Filed Under [ Event-Based Components ]

Improving the Event-Based Components Desktop Calculator
In my previous article I designed and implemented a small desktop calculator using Event-Based Components. That was fun and went smoothly – but in the end I was in a hurry and missed a bug and a feature. In the meantime I found some time to fix both. Final architecture Let me take the opportunity to show you the application architecture in its entirety. The missing feature – Clear calculation - has already been added: This is the high level view. All activities except one are so simple, no further ......

Posted On Monday, July 26, 2010 11:01 PM | Comments (4) | Filed Under [ Event-Based Components ]

Designing on different levels of abstractions with Event-Based Components
One of the biggest problems with object oriented designs is its inability to express architectures on different levels of abstractions. True, there are Packet Diagram, Component Diagram, and Class Diagram in UML, which are geared towards different levels of abstraction. But I ask you: How do you translate them into code? Except for Class Diagrams that´s not so easy. There are hardly any guidelines – at least when it comes to the .NET platform. What´s a component in .NET terms? What´s a packet? And ......

Posted On Monday, July 26, 2010 9:02 AM | Comments (2) | Filed Under [ Event-Based Components ]

Event-Based Components – Leaving the beaten path of canonical object orientation
Since long I´ve been doubting the canonical object oriented way of programming was of much help. I´ve never seen a “true” object oriented software system that also was maintainable. And I´ve never seen an average programmer who had an easy time coming up with an evolvable design for even a small application. The litmus test for me is to put someone in front of an empty whiteboard and ask them to quickly draw a design for, say, a Tic Tac Toe game. It´s an easy scenario, I´d say. The requirements are ......

Posted On Sunday, July 25, 2010 5:15 PM | Comments (4) | Filed Under [ Event-Based Components ]

Powered by: