Thanks to the both of you who have answered thus far.

Being an annual event makes it a real pain. If whatever code I end up with were to be used more frequently, it wouldn't bother me so much!!! Such is life.

Anyway, data will be stored in flatfiles (for the moment - providing I come up with a managable way to edit them!). HTML::Template is installed on the server and I have been toying with the idea of using that module either on its own or in combination with HTML::Table.

I suppose my first hurdle would be to decide on a sensible method of storing the moto-trial data and the table data. I'm driven towards separate files which could easily be read, combined and written to a *.html file on the server (the whole system is not dynamic - 'published' pages are written to disk - that's the way I wrote the thing 6 months ago but would now love to change the damn thing!)

Client doesn't really know what she wants (possibly the worst type of client?) but sees what the likes of MS Excell can do when you go File:Save as... HTML then turns to me and says "Can your program do that?!?"

Anyway - the number of tables in use may vary. Certainly the number of columns (between 6 and 9) and the number of rows (participants in each event/category/level). Therefore I'm well aware that the data will change from table to table. I had thought of creating a series of templates with HTML::Template but gut feeling said it was not the correct way to go - my stomach knows the client?! Even using the FOR loops or IF/ELSE routines in HTML::Table didn't feel right.

I'm sure I'll need to write 2 GUI's: 1 to create/edit Table defs (ie:cols, rows, bgcolor, etc) for which the data would be stored in a flat file, and the 2nd GUI for entering the data (still haven't decided on the best method for entering data or for storing it!).

I've already used htmlArea (wysiwyg TEXTAREA editor) for other interfaces for this client and she seems OK with it. I found out that it loads table templates quite nicely but the resulting page is saved as straight HTML - table data and event data mixed.

I'm really looking for a quick and dirty way out of this one. Next year, I'll re-write the system, next year they'll have more funds, and next year my invoice to them will be bigger! (if I decide to continue with these guys!)

In other words I don't want too many people wasting their time - although at the moment it's more than grately appreciated!


In reply to Re: HTML::Table - Advice please by meetn2veg
in thread 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.