Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: Designing a user interface for a CGI application.

by Your Mother (Bishop)
on Jul 11, 2013 at 07:35 UTC ( #1043638=note: print w/replies, xml ) Need Help??

in reply to Designing a user interface for a CGI application.

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.

  • Comment on Re: Designing a user interface for a CGI application.

Replies are listed 'Best First'.
Re^2: Designing a user interface for a CGI application. (broad mystery)
by Anonymous Monk on Jul 11, 2013 at 08:06 UTC
    I see on stackoverflow it was put on hold as too broad but I don't think its actually too broad;

    I feel its imcomplete because it doesn't describe what the program is supposed to do

    -- its hard to advise on building a building if you don't know the purpose: dog house, sauna, or freezer

Re^2: Designing a user interface for a CGI application.
by Anonymous Monk on Jul 11, 2013 at 09:39 UTC

    Thanks for the response. Looking back on my initial posts, I can confidently hypothesize that my question (post) appeared vague (for lack of a better word) simply because I am inexperienced with regard to constructing a user interface, therefore, I simply did not know what to ask or how to phrase my question. I was essentially forced to rely on "generalities".

    The input from other monks is appreciated and I will certainly explore the suggestions offered thus far.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043638]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2018-05-25 08:06 GMT
Find Nodes?
    Voting Booth?