Why is Tomahawk a better component development platform?
Yes, a bold statement, but I wanted to get your attention. Trinidad
has a great offering, a lot of components, AJAX support and a good set
of APIs, but there may be a large architectural flaw. This flaw is the
architecture of Components and renderers around the FacesBean.
What I found is that Tomahawk follow an OO paradigm, but Trinidad
breaks OOD standards. One of the major aspects of effective OOD is
encapsulation. This basically means that the functionality an Object
provides comes from the component itself. Tomahawk has a special map
behind the getAttributes() method of each component. This map delegates
the attributes to the property getter and setter methods of the
component. Take for example: