Thursday, December 16, 2004

 

Design patterns presentation by Holub

Holub, a renowned author of OO & design patterns presented pieces from his new book : 'Real world application of design patterns'

He used the 'game of life' example to reinforce a number of design patterns, mainly from the 'gag of four' book. Demonstrated difference between static object model vs. diagrams that focus on pattern relationships; the importance of those.

Then went deep into design patterns and how they are implemented in the game of life. As always happens, critique found that few patterns could have been avoided (e.g. neighborhood / grid of 8x8 ; flyweight could be simplified into dumb array)

Also, certain patterns (e.g. visitor, strategy, command) patterns were left out, they could have been implemented as well.

upon my asking the question on automated design doc generation etc., he was extremely negative. 'Patterns cannot be documented in the code'; 'Roundtripping only documents garbage' etc. Overall, strong view points on how design should be done and use of patterns.

One definition I liked : "For those who understand them, patterns are redundant ; for those who don't understand them, they don't make sense anyway" .... Also, why use patterns at all if you are an expert? An easier way to document and explain the design of your application.

 

ET presentation: Rich clients

Rich clients presentation by Luke Birdeau:

Luke is the technical (and only!) force behind a 4 people company founded by him three years back: General Interfaces . The company was successfully sold to Tibco recently to make the 4 people very rich ...

His idea about 'browser tech is underutilized' will find a number of believers; I can even relate my experience to this, the way we were writing an embedded web server: how simple it would have been to use the web client instead of web server for rendering. So Luke has built a rich framework of client side APIs utilizing javascript.

Few features: drag & drop, resizeable widegets, color choices, all code written in javascript. Even the whole IDE being sold here is written using the same framework.

Technology: Javascript APIs are uploaded to the client at the beginning, the whole footprint is limited to 16k to keep it maageable.

Few apps used today : DoD map, ebay billing dept.

The founder even used the IDE to write a small tool for layout of his house.

Use of VML (what is that ?)

The IDE is called General Interface builder

The javascript framework also has built in caching, this is the reason why rendering with different changes / views on the GUI is so fast (compared to JSP model). jsx,java script debugger available for debugging as well.

Model View Controller or MVC paradigm: this methodolgy moves the M into GUI.

Overall, very lucid and informative presentation

Star rating: ****

This page is powered by Blogger. Isn't yours?