Adelino Rodrigues


I have been working for some years with the EiffelLanguage and more recently with Java -- and I am even certified :) --.

The first time I heard about Wiki was in 1998 from a colleague: ZoranSimic?. ZoranSimic? fell in love with Wiki and he wrote in one busy night his own Wiki called KaGibi?. We used a lot that Wiki in our EiffelProject?.

I am now in the process of discovering the real WikiWikiWeb: it is a treasure. I am currently reading about the EventNotifier and MediatorPattern.

I am now in the process of discovering the real WikiWikiWeb: it is a treasure.

I used the EventNotifier and MediatorPattern to handle persistence in an application:

How does this work? The principle is to post an event to tell that a special information is needed. The event represents both the request: “I need that information” and the result “Here it is!” (in case of success) or “Sorry, it failed”. The listener is specifically written for a kind of persistent source: a relational database or a file. What about the transactional aspect? The event posted, at first, from the logical side of the application represents an AtomicOperation?. Either it fails or it works. The listener knows how to handle the request. In the case of a relational database, he will probably need to write several SQL statements to handle the request.


CategoryHomePage


EditText of this page (last edited January 11, 2005) or FindPage with title or text search