Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

The question, as discussed on SO, is a bit overbroad.

Web dev work can be like carpentry. Anyone can bang together a few pieces of knotty pine with whatever nails seem sensible and maybe have it stand but only a real carpenter knows the tools, techniques, and materials. How do you build a home entertainment center… just in general? Hard to answer in general. Long and very detailed to answer as "this is what I would do."

A little CGI with a dispatch table is probably what I would do here if it's a one-off; search around for "dispatch table" and "CGI." Or even a naked plack script with a handful of subs as the dispatch table; it's too bare metal for most stuff but it can be fun and edifying for short-lived projects. A Mojolicious::Lite app is what I'd do if I'm being a bit more serious or want it to be RESTy and respond to anything but a few few plain HTTP requests. SQLite sounds like a perfect choice for it. DBIx::Class makes that stuff easy (after you get over the learning curve) but it is on the slower side so a persistent app (i.e., not plain CGI but PSGI through an app server) would be helpful.

Don't worry about too minimalistic. Simple UI that affords what the user wants to do is good UI. You can tart it up with Ajax to make it slicker and sometimes a lot faster. But that's a whole lot of off topic.


In reply to Re: Designing a user interface for a CGI application. by Your Mother
in thread Designing a user interface for a CGI application. 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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-29 12:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found