Hello,

I have a database in the intranet with a lot of tables that use foreign keys to reference "basic" tables like Customers and Products, and I wish to allow advanced users to update values in records of orders (not delete records,not remove, but just change values in columns), preferably logging from what value which column in which record has changed and to what new value. Say, I have to edit list of orders;I wish "customer name" and "product id" to be displayed instead of their IDs in corresponding columns. Of course paging through tables (tables contain a lot of records) and preferably quick jumping to a specific date and may be sorting are desired, everything with web interface of course. I guess almost every Perl web programmer had such a task. So presumably there are lot of frameworks/packages for this. Could you please suggest any?

It would be nice if that thing worked under mod_fastcgi (not mod_perl!), be internationalizable (labels "Prev.page"/"Next page" etc to be easily translatable via external files) and allowed adding hooks (I have to log what value was changed to which one).

DBMS used is Postgres. I understand that I can create a view for each table to be edited that will replace customer id with their name and write triggers for it to make the view updateable and able to log the history of changes, and totally avoid web-based mode, give out users something GUI-ish like DBExplorer that will allow them to edit those views via GUI on Windows, but I prefer web-based solutions..

Thank you very much for your suggestions in advance!


In reply to Please recommend a web-based database browser and editor by Anonymous Monk

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.