Cameras | Reviews | Shop | Business | Help | News | Handhelds | GameSpot | Notebooks | Downloads | Developer
Developer
Top Digital Cameras
 
Dell Small Business
 
Free Downloads

 
ZDNet > Developer > CGI/Perl/TCL > Tcl Counselor 2: TclKit Solves Problems
 

 
Egghead.com
 

 
Search For:            • Search Tips
• Power Search
 
 
Developer Home
 
Pick a Topic:
 
Coding
HTML
CSS/Fonts
JavaScript
DHTML
XML
CGI/Perl/TCL
ASP
ActiveX
Java
 
Design
Usability
Accessibility
Graphics
Multimedia
Standards
 
Backend
Management
Networking
Security
Databases
Servers
Community
Web Hosting
 
Resources
ScriptLibrary
Tag Library
Free Downloads
Dev Forums
Look up a Domain
Free Web Tools
GIFBot
SmartPlanet
Get Our Newsletter
 
 
Click here for better apps!

dotclear.gif
 
CGI/Perl/TCL
clear
Tcl Counselor 2: TclKit Solves Problems
By Cameron Laird, October 20, 2000
clear
<!--If you're in need of a handy development system to solve all your Tcl problems, Cameron Laird shows us the one he's kept handy for years.-->

 
I'll tell you about my favorite development system for Tcl. It's an open-source product called TclKit that solves many of my biggest programming problems.

The Deployment Challenge
The challenges I face often have to do with configuration and deployment. Debuggers, editors, and other components of conventional "integrated development environments" don't impassion me the same way; a future installment of "Tcl Counselor" will look at those. Code-slinging programming and debugging rarely occupies much of my time, even though those are the fun tasks. The biggest puzzles I face typically involve working out details of how to install and maintain hundreds of desktop application instances, or how to co-ordinate development by a distributed team of engineers. This is where TclKit comes in handiest.

Think of the normal course of development of a Tcl application: you quickly put together a nice working model expressed as several source code files, plus a few compiled-object extensions, a configuration file or two, and perhaps a database backend. It works flawlessly! You're a success! Now, how do you get it to do the same on any host other than your development workstation?

The traditional answer is with an installation procedure that takes responsibility for locating a usable version of the Tcl interpreter (which itself requires that at least three, and possibly many more, files be in place), situating all source files and configuration specifications where they'll be found, and spinning up a database or other services.

I've mostly given up on that tradition. The usual installation is too fragile to put in the hands of most full-time computer workers, and it's an act of open hostility to inflict it on someone trying to accomplish a task in the real world. It's worse than the most extreme "some assembly required" joke furniture or bicycle makers pull.

Independent developer Jean-Claude Wippler's TclKit offers a different answer. With TclKit, I can do all my usual Tcl development however I choose. I spread around source files, data files, and everything else in a way that makes sense for my engineering team. TclKit then packages everything about the application into a single file. That single file is compact, portable — I can carry it to a variety of different platforms — and comprehensive. It's the whole program; there's nothing more to "register" or "configure". If I need to remove or update the program, I can delete or overwrite the one file I no longer need.

Next >>>
Simple Principle, Varied Uses


 
<contents>
Introduction
 
  Simple Principle, Varied Uses
 
  Theory of the single-file application
 
  Flexibility
 
E-mail this story!
Printer Friendly
 
<news>
•  FCC toothless on IM conditions?
•  Teen plot to overthow the Internet?
•  Sex offender Web sites exposed
•  Microsoft debates future of IE 6
•  More Net News
 
<reviews>
• 
 
• 
 
• 
 
 
<downloads>
• 
 
• 
 
• 
 
• 
 
• 
 
 
<resources>
• 
 
• 
 
• 
 
• 
 
• 
 
• 
 
 



 Sponsored Links
WIN!  Enter to win MobilePlanet's monthly product giveaway!
B2B IT  eJigsaw, the Interactive Network for IT Decisions.
It's Here!  MSN Explorer is now available. Download it FREE!
FREE!!  Free Download Saves Time, Fills Web Forms For You!!
Books  Free Shipping on Textbooks at Barnes & Noble.com
POWERHOUSE  Millennia MAX 933MHz&128MB SDRAM from $1749! Click here
 
 Everything Intel    Find Out More
Shop Now!   Shop at Dell's Home Solution Center - Dell Small Business Center
Shop Now!   Gateway Home Computing Center - TOSHIBA
Shop Now!   Everything Intel
 
 Featured Links
Best Buys  Shop Smart for scanners, digital cameras, monitors & more!
It's Here!  MSN Explorer is now available. Download it FREE!
Red Herring  RISK-FREE! For insight into the business of technology.
 
 Magazine Offers
Best Deal  Get a Free Trial of PC Mag plus 3 GREAT CD-ROMs!
 

Tech Jobs |  ZDNet e-centives |  Free E-mail |  Newsletters |  Updates |  MyZDNet |  Alerts |  Rewards |  Join ZDNet |  Members |  SiteBuilder
Feedback |  Your Privacy |  Service Terms |  Advertise |  About Us
Copyright © 2000 ZD Inc. ZDNet is a registered service mark of ZD Inc. ZDNet Logo is a service mark of ZD Inc.