[Fusionforge-general] Table Abstraction in SCRUM Plugin

Olivier Berger olivier.berger at it-sudparis.eu
Fri May 13 18:40:44 CEST 2011


Hi

Le vendredi 13 mai 2011 à 17:03 +0200, Mike Esser a écrit :
> Hey,
> 
> i was thinking about this could be useful for fusion forge in general.  
> As i was developing the SCRUM Plugin i mentioned that the table code  
> is used over and over again. 

Uh... I'm not sure I've missed an earlier message... could you be more
specific about that SCRUM thing ?

> Since i don't want to copy & paste the  
> vast table code over and over again for every table i use, i made an  
> abstraction model for it. It consists of two Interfaces:
> 
> - IDataProvider
> - ITableRenderer
> 
> and one class (Table).
> 
> The Data Provider is responsible for giving the table data in a  
> correct format and can contain some logic (like calculations if you  
> have a percentage field in your table). The Data Provider is then used  
> by the Table Renderer to render the Table in some way. It all sums up  
> into the advantage that the code is more maintainable and it is easier  
> to actually add new data tables.
> 
> If you can't imagine what it actually looks like just check out the  
> evolvis SVN at  
> https://evolvis.org/scm/viewvc.php/evolvis/trunk/plugins/scrum/plugins/scrum/include/
> 
> interfaces can be found at the interfaces subfolder.
> 
> It is still in Development so it's not complete yet.
> 
> Regards

That sounds interesting. Thanks for sharing.

Best regards,
-- 
Olivier BERGER <olivier.berger at it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 2048R/5819D7E8
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)




More information about the Fusionforge-general mailing list