We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Plugins Web>TabxPluginDev (09 Sep 2003, MarcelTrap)
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 - 09 Sep 2003 - 11:48:00 - MarcelTrap
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback