Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2022-05-22 14:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (80 votes). Check out past polls.

    Notices?