Win a copy of TensorFlow 2.0 in Action this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

Server side gui?

 
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is anyone doing a gui for the server side? Just curious...
Aruna.
 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do a search on "server gui"
I know Mark did...
 
Aruna Raghavan
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Daniela,
Thanks for your email the other day.
I just read the requirements again. It does not appear to be necessary to do a GUI for the server.
Have you done it?
Aruna.
 
Daniela Ch
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no...
ppl do a gui on the server to be able to execute some code before it shuts down...
how do you stop your server?
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Warning: my not-too-subtle opinion on this matter has been influenced by real-world experiences with server systems that had a GUI.
My advice would be not to implement a server GUI. The reasons are
  • Contrary to popular belief, GUIs are in many cases (including this one) not more user-friendly than text interfaces. They are more beginner-friendly, but that is something different altogether. It never fails to amaze me that in this industry "user-friendly" and "beginner-friendly" are so often confused.
  • Servers should be scriptable so that they can be started, stopped and managed automatically. Scripting a GUI is hard or impossible.
  • On Unix systems, a GUI requires the presence of an X server. A lot of serious server iron does not even have a graphics card, let alone an X server. And I can tell you from bitter experience that simply pointing the server at an external X workstation is a bad, bad idea.
  • For these reasons, if there is a GUI, it should be optional. Full stop. And that is likely to be more trouble than you want to go through.
    - Peter
     
    Popeye has his spinach. I have this tiny ad:
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    reply
      Bookmark Topic Watch Topic
    • New Topic