Tags:
create new tag
, view all tags
I believe that TWiki would benefit a lot in making much more usage of tables.

What is a form? is it not not a table with some kind of template?

where are tables used and where could one use them

where comment
table the built in table
EditTablePlugin  
EditTable2PluginDev  
SpreadSheetPlugin  
TablePlugin  
ChartPlugin  
Form just a special table with a table template ie: the Form topic
Meta data could be organized as a table ?
preferences variables could be organized in a table too,(organized in name and value columns , with some kind of template like in forms )columns allowing for easier editing and probably retrieving
CalendarPlugin for the input
ActionTrackerPlugin for the input

you probably will find more.

All this implement their own parsing (and rendering) of the tables. Why?

My preference would be to write a unique module (Tabx) to parse the tables in an internal representation (inspired from DOM ?, but using only 20% of it to get 80% of the benefits !?). Plugins writer (as well as TWiki own modules) could then use the methods (or functions ?) provided to access this table object.

some examples of methods:

renderHtml    
renderForEdit    
hash=getHash(col1,col2) would return a hash (or reference to a hash ) usefull for CalendarPlugin, PrefsVariables
@array=getRow(rowNumber)    
@array=getCol(colNumber or colName)    

What is a topic? perhaps a special table with only 1 column?( quite too early !)

-- MarcelTrap - 09 Sep 2003

Topic revision: r1 - 2003-09-09 - MarcelTrap
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.