in reply to Re^2: WebGUI::Easy - a quick way to give your perl program a web-based user interface
in thread CGI::AppEasy - a quick way to give your perl program a web-based user interface

I really like this app. I fear it is going to consume much of my free time now that it is so easy to produce webapps :)

It competes with Squatting in terms of simplicity.

But anyway, it doesnt really webify a command-line app, or something like App::ToWeb would be appropriate.

To me, it seems like CGI::Quick or CGI::Now would be a good name.



The mantra of every experienced web application developer is the same: thou shalt separate business logic from display. Ironically, almost all template engines allow violation of this separation principle, which is the very impetus for HTML template engine development.

-- Terence Parr, "Enforcing Strict Model View Separation in Template Engines"

Replies are listed 'Best First'.
Re^4: WebGUI::Easy - a quick way to give your perl program a web-based user interface
by jdporter (Paladin) on Apr 15, 2010 at 15:43 UTC

    Thanks very much! Squatting is indeed interesting, but attempts to address more than this does. I.e. is "thicker".

    I'm leaning toward "CGI::AppEasy"...

      Check out Continuity!
      print "What is your name? "; my $name = <>; chomp $name; print "What is your quest? "; my $quest = <>; chomp $quest; print "Good luck, $name! May you $quest\n";
      can be translated to:
      use Continuity; Continuity->new->loop; sub main { my $r = shift; $r->print("What is your name? <form><input name=name>"); $r->next; my $name = $r->param('name'); $r->print("What is your quest? <form><input name=quest>"); $r->next; my $quest = $r->param('quest'); $r->print("Good luck, $name! May you $quest<br>"); }
      Plus... it can be used by multiple users at once! It does sessions via cookies by default.

      --Brock (awwaiid)

        Let me add... your solution is very cool too, and makes for more weby-apps. Good stuff. I was just evangelizing a bit, but don't actually want to distract from your work :)