I'm trying to get my head around HTML::Table and an app for a client. This is more of a question towards a method and not looking for code snippets (although that may help).

I'm OK with passing table defs etc to script, but problems arise when I think about the data being entered, and especially when edited!

I'm sure I'll need to create 2 interfaces - 1 for creating/editing table, and 2nd for the data. But I can't quite work out a sensible method to allow client to edit table and data. I'm really stuck on this one. Any advice and/or pointers?

For those who might be able to help - here's the plot:
Annual motor bike trials event. Client would like (more like 'wants') to be able to enter classifications at the end of each trial stage and also at the end of the 2 day event for over-all positionings etc... There are upwards 20 different stages throughout the event, 7 or 8 different categories, and 3 different levels of experience (a total of quite a few tables!!!) Tables will have between 6 and 9 colums but number rows will vary, depending upon how many people participate in each stage/category etc.

I'm trying to create an interface so the client can create a table according to above criteria, add data (name, time, position, etc.), save data, and then, through interface which I've already written for them, publish the results (simple template driven site - nothing fancy).

Where do I start with something like this? I'm really beginning to think I should go back to hard-coding HTML on this one!

Any advice would be greatly appreciated on this one. Thanks in advance.


In reply to HTML::Table - Advice please by meetn2veg

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.