:: Forum >> Version 1 >>

A question about coupling/cohesion in templates/grid control

Alex,

I notice that getItemProperty() (defined in "lists" template) has a dependancy on getDataProperty() which is created from the "data" model in the grid.js control code.

Should I assume from this that the "lists" template is not a completely generic template?

I'm trying my best to understand your code -- some parts I understand OK, but others make my head spin a bit!

What is the degree of coupling and cohesion between components of the ActiveWidgets framework, and what templates can be considered fair game for reusing in other custom widgets?
Steve N
Thursday, June 9, 2005
bump
Friday, June 10, 2005
Steve,

if you are looking for a 'generic' widget framework you should probably not spend too much time on the current version. The templates used for the grid control are not fully generic and while they can give an idea how things 'should work' you will not be able to reuse them as they are.

Maybe wait a little bit (3-4 weeks until early pre-alpha) for the next one. The version 2 will come with the small set of basic widgets: textbox, button, combo, list, tree, tabs, checkbox/radio. This time the full set is based on generic templates and has other improvements like strict mode support and more simple api.
Alex (ActiveWidgets)
Friday, June 10, 2005
Thanks Alex,

This is what I anticipated. I've actually goen ahead and created some basic templates and widgets myself (more as a learning experience than anything else).

I shall certainly look forward to the next version and be happy to help test/debug the alpah release.

Regards,
Steve N
Friday, June 10, 2005



This topic is archived.

Back to support forum

Forum search