Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Best GUI for Perl?

by Perlbotics (Bishop)
on Jul 06, 2020 at 17:04 UTC ( #11118978=note: print w/replies, xml ) Need Help??

in reply to Best GUI for Perl?

Do you really need a classical GUI? Personally, where possible, I try to wrap a webservice around the app and let the browser do the visual stuff, esp. adaptation to the visuals of the OS at hand. A combination of Mojolicious and Bootstrap worked well for me. Pros:

  • separation of business logic execution from presentation (can run locally but also on a remote server)
  • no hassle with compilation of C/C++ libraries on different platforms
  • with Responsive Design, looks decent on phone, tablet, PC, etc.
  • HTML & CSS is easy to use and pretty portable

The drawbacks might be slower response times and sometimes more work to realise complicated GUI structures. Also networking (firewalls) and security has to be considered when not working locally (localhost). But then, there are a lot of frameworks available and being forced to think about easier ways to achieve a given functionality has some worth of its own.

Replies are listed 'Best First'.
Re^2: Best GUI for Perl?
by perlfan (Vicar) on Jul 07, 2020 at 03:59 UTC
    Additionally, distributing local applications like this has been made much easier by containerizations like Docker. Instructions to the client would be,
    1. install Docker
    2. docker run mycoolapp
    3. in browser, go to https://localhost:1234578
    4. profit!
    Use an exported volume so their data is always safely outside the container, and you have the recipe for pretty smooth client and maintainer experiences.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2023-06-04 00:14 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (17 votes). Check out past polls.