From owner-freebsd-questions Sun Jan 7 12:41:47 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA12504 for questions-outgoing; Sun, 7 Jan 1996 12:41:47 -0800 (PST) Received: from fslg8.fsl.noaa.gov (fslg8.fsl.noaa.gov [137.75.131.171]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA12495 for ; Sun, 7 Jan 1996 12:41:44 -0800 (PST) Received: by fslg8.fsl.noaa.gov (5.57/Ultrix3.0-C) id AA21049; Sun, 7 Jan 96 14:41:43 -0600 Received: by emu.fsl.noaa.gov (1.38.193.4/SMI-4.1 (1.38.193.4)) id AA09490; Sun, 7 Jan 1996 13:41:43 -0700 Date: Sun, 7 Jan 1996 13:41:43 -0700 From: kelly@fsl.noaa.gov (Sean Kelly) Message-Id: <9601072041.AA09490@emu.fsl.noaa.gov> To: brian@mediacity.com Cc: freebsd-questions@freebsd.org In-Reply-To: <199601072007.MAA26116@MediaCity.com> (message from Brian Litzinger on Sun, 7 Jan 1996 12:07:32 -0800 (PST)) Subject: Re: Which X app development tools? Sender: owner-questions@freebsd.org Precedence: bulk >>>>> "Brian" == Brian Litzinger writes: Brian> I was wondering what tools people would recommened for Brian> developing the user interface. Well, OI is pretty nice, builds on FreeBSD in two easy steps, and is otherwise completely unavailable. So, I use tcl/tk. I embed a tcl interpreter in the app and provide tcl commands for all the functions my app provides. Then I write the entire user interface as a tcl/tk script. Widget clients call my app-specific commands. Advantages: it's easy to change the interface without recompilation; tk's widgets are more attractive than Motif; I can make customized installations of the app for various clients. Disadvantages: startup time is slower---you've got to wait for the script to be parsed. To avoid this, you can structure your scripts to be loaded-on-demand, but that's another disadvantage since it adds complexity to your s/w deployment. -- Sean Kelly NOAA Forecast Systems Laboratory, Boulder Colorado USA I had a friend who was a clown. When he died, all his friends went to the funeral in one car. -- Steven Wright