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

Re^3: Recommendation: CGI for a remote procedure call

by haukex (Archbishop)
on Apr 08, 2019 at 19:24 UTC ( [id://1232311]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Recommendation: CGI for a remote procedure call
in thread Recommendation: CGI for a remote procedure call

I'm not really interested in learning a big "frameworkd" just so I can use a mini-package that only implements part of it

That's not really the case here... Mojolicious::Lite is part of the Mojolicious distribution, and instead of only implementing "parts" of the full framework, it just makes the full framework easier to use to write small applications. See Mojolicious::Guides::Tutorial.

I don't remember how any more so I might swing towards ::SIMPLE and let it handle the headers and such.

Note that the HTTP headers are quite different from HTML generation, and it's usually a good idea to use a module to handle the HTTP headers. As for HTML generation, you might be interested in HTML::Tiny, as mentioned in CGI::Alternatives, if you want to go that route instead of using a templating engine such as Template::Toolkit.

  • Comment on Re^3: Recommendation: CGI for a remote procedure call

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found