I've just found this question that is asking exactly what I was looking for: a way to construct in OOP a widget that can present complex DOM aggregate.
I'm not using JQuery so I'm asking alternative to this widget factory, or at least some example/repository where I can read something similar.
One alternative would be dojo's dijit widgets: