You DO NOT want to pass the name of the file you want to change with root rights in the form parameters, do you?

I don't, however it's also necessary to be able to configure local settings (not everybody uses the same configuration file). That means that there is somewhere in the UI the way to change the file to work on, probably in a dedicated module.

This will limit you to CGI mode. Combined with AJAX, this will cause a nice load on your server.

This is an administrative interface. It won't be used constantly, and hardly by more than one user at the same time, so this is actually a non-problem.

Useless work, you need only one version. Make the code work with pure HTML, and add Javascript (with or without AJAX) for the nice look and feel.

Some fancy interfaces are really harder to build in dual-mode. AJAX sophisticated UIs degrade badly to the point of being close to useless in pure HTML mode. That's why for some of them it will be better to have two entirely distinct presentations.


In reply to Re^6: Building a web-based system administration interface in Perl by wazoox
in thread Building a web-based system administration interface in Perl by wazoox

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.