ISBN: 1558608028 Tcl/Tk: A Developer's Guide


Tcl/Tk: A Developer's Guide
Published by Morgan Kauffman, May, 2003
ISBN: 1558608028

Tcl is the Open Source movement's biggest hidden success story. It runs the telecom industry from the EDA tools used to design the chips to the test platforms that validate them up to the applications that run on Cisco Routers and AOL's web server.

The language supports modern constructs like catch/throw error handling, encapsulation and modularization. It's fast and easy to learn, and powerful enough for the US DoD and NBC Broadcasting studios.

My book's goal is to bring a programmer up to speed on Tcl/Tk as quickly as possible. I describe the basics of the Tcl/Tk language, techniques for using it effectively, and tools for helping you develop applications better and faster.

The CD-ROM accompanying Tcl/Tk: A Developer's guide includes several tutorials from the net in English, Russian, German, Turkish, Japanese, Chinese, Dutch and Spanish. It also includes the Tcl/Tk source distributions, Tcl/Tk binaries for windows and Macintosh, source code and some binaries for Tcl/Tk development tools, several chapters describing Real World Tcl/Tk projects, copies of The Tclsh Spot articles I've written for ;login: magazine and articles by Cameron Laird.


BOOK Table of Contents
  1. Tcl/Tk Features.

    A quick overview of what Tcl/Tk offers the developer.

  2. The Mechanics of Using the Tcl and Tk Interpreters.

    The low level functions of how to run the interpreter, what the prompts are, etc.

  3. Introduction to the Tcl Language.

    Describes the Tcl syntax, substitutions, data types, a subset of the core commands, and offers short examples of use.

  4. File System, Disk I/O and Sockets.

    Describes how to access the file system, perform I/O with files, users, and client/server sockets.

  5. Using Strings and Lists.

    How to find patterns and parse data in strings and lists. Using regular expressions and modularizing with procedures.

  6. Building complex data structures with lists and arrays.

    How to use the Tcl Array, how to examine the state of the interpreter, and an example of building complex data structures (a splay tree) in Tcl.

  7. Procedure Techniques.

    Using procedures to implement object oriented style programming in Tcl.

  8. Namespaces and Packages

    How the namespace command command works, and how to use it for data and procedure encapsulation. How to use the package command for modules.

  9. Introduction to Tk Graphics.

    The basic widgets, how to use the geometry managers.

  10. Using the canvas widget.

    Things you can do with the canvas including finding and modifying displayed items, binding actions to displayed items and creating new pure Tk widgets.

  11. The text widget and htmllib.

    How to use the text widget, and the htmllib package.

  12. Tk Megawidgets.

    You can build complex widgets out of the basic building blocks. This chapter describes how to do it.

  13. Writing a Tcl Extension.

    One of Tcl's strengths is how easy it is to add new functionality to the interpreter. This chapter explains how to do it.

  14. Extensions and Packages.

    Descriptions of several popular packages with enough information to start using them. Discusses incr Tcl, Expect, TclX, SybTcl, OraTcl, MySQLTcl, VSdb, BWidgets, BLT, and the img extension.

  15. Programming Tools.

    Descriptions of several application development tools, both freeware and commercial. Includes code formatters, checkers, debuggers, GUI generators, compilers wrappers extension generators and IDEs.

  16. Tips and Techniques.

    A collection of tips and tricks and a list of common mistakes

CDROM Contents
  • Tcl/Tk HTML Tutorials in English, Russian, German, Turkish, Japanese, Chinese, Dutch and Spanish.
  • Brief How-To's on advanced Tcl/Tk topics
  • TclTutor Release 2.0b6
  • Real World Tcl/Tk Application articles
  • Tclsh Spot articles from ;login: magazine
  • Articles by Cameron Laird
  • Tcl/Tk Man pages in HTML format
  • Tcl & Tk Source Code distributions for Revision 8.4.1
  • Tcl & Tk MS-Windows binary distributions for Revision 7.6p2 and 8.4.1
  • Tcl & Tk Macintosh binary distributions for Revision 8.4.1
  • Tcl & Tk Linux binary distributions for Revision 8.4.1
  • Tcl & Tk Freebsd binary distributions for Revision 8.4.1
  • ActiveTcl 8.4.1 distribution for Linux (x86 and IA64), Solaris, HPUX (PARISC and IA64) and MS-Windows
  • TclKits for Linux, Mac, MS-Windows, Irix, AIX, Solaris, OpenBSD, NetBSD, and FreeBSD.
  • StarKit construction tools and documentation.
  • [incr Tcl] Version 3.2.1 source
  • [incr Tcl] Version 3.2 (for Tcl 8.x) for MS-Windows
  • [incr Tcl] Version 3.1.8 (for Tcl 8.x) for Macintosh
  • [incr Tcl] Version 2.2 (for Tcl 7.6) for Macintosh
  • TclX Source Revision 8.3
  • TclX Source and Binaries for Revision 8.3 for Macintosh
  • BLT 2.4z for Revision 8.3 MS-Windows binary
  • BLT 2.4z for Revision 8.4 MS-Windows binary
  • BLT 2.4z source
  • Oratcl 2.5 for Tcl/Tk 7.6 - 8.1 for MS-Window & Unix
  • Oratcl 4.0 for Tcl/Tk 8.x for MS-Window
  • Oratcl 4.0 for Tcl/Tk 8.x Source
  • Sybtcl 3.0rc2 source
  • MySqlTcl 2.0rc15 Linux RPM and source
  • VSDB pure Tcl database.
  • BWidgets 1.4 and 1.6
  • TclLib release 1.3
  • Expect 5.21 for Windows NT
  • Expect 5.38 source
  • TclBridge for interprocess communications with Windows applications
  • Img package with extra image format support from Jan Nijtmans.
  • Frink & tclCheck from Lindsay Marshall - source & MS-Windows binaries
  • TclParse code checker
  • Tcl Cruncher
  • SWIG Interface generator
  • Tuba GUI-based Debugger
  • TdDebug GUI-based Debugger
  • Spec-Tcl GUI builder for Macintosh, Unix and MS-Windows
  • TkConsole
  • Widget package
  • get 1.0 extension template from Jean-Claude Wippler
  • Extension skeleton
  • Tcl/Tk Style guide and Engineering Manual
  • Paul Raines' Tcl/Tk reference handbook


The Library Journal Review for Tcl/Tk For Real Programmers (4/1/99)
Tcl/Tk (called tickleTK) is a very powerful programming language for all sorts of projects, from visual application development to web scripting to meshing together varieties of applications and utilities written in different languages in order to create a new application. The program competes very favorably with Visual Basic, Java, Perl, and UNIX shell languages. It is a great tool for rapid prototype development; runs on almost all hardware, with no code changes; and is much easier to learn than Perl, C/C++, or Java. Flynt's book is aimed at programmers, but it is an excellent introduction to learning the basics of Tcl/Tk. Recommended for large public libraries and most academic institutions.
Purchasing Tcl/Tk: A Developer's Guide
Tcl/Tk: A Developer's Guide should be available from your local Border's, Little Professor's, Waldenbooks, B-Daltons, Doubleday, etc. If they don't have the book in stock, they should be able to order it via their normal distribution channels.

Many Border's Bookstores and a few Barnes & Noble's Bookstores keep Tcl/Tk: A Developer's Guide in stock. If your local book dealer doesn't stock it, feel free to tell them that they should stock my book. :-)
You can also order Tcl/Tk: A Developer's Guide from Amazon Books, enjoy Amazon's low prices, and have the book shipped to your door by clicking the Buy button to the left.
Amazon is offering Tcl/Tk: A Developer's Guide at a 30 % discount


Return to Clif Flynts Home Page