skip to main content
Skip header Section
Practical programming in Tcl and Tk (3rd ed.)January 2000
Publisher:
  • Prentice Hall PTR
  • Upper Saddle River, NJ
  • United States
ISBN:978-0-13-022028-8
Published:01 January 2000
Pages:
772
Skip Bibliometrics Section
Bibliometrics
Skip Abstract Section
Abstract

The Tcl/Tk best-seller, now completely updated for Tcl 8.2 and the Tcl Web Server!Tcl/Tk 8.2 is the first scripting language that can handle enterprise-wide integration tasks that encompass Windows, Solaris, Macintosh, and other key platforms. Now, in this fully updated Third Edition, Tcl/Tk development team member and best-selling author Brent Welch presents all you need to know to achieve powerful results with Tcl/Tk 8.2 and the new Tcl Web Server.Coverage includes: Tcl's fundamental mechanisms and operating system interfaces Basic and advanced coding techniques and tools, including the Tcl script library facility Tk and X Windows-with detailed examples and sample widgets The new, extensible Tcl Web Server New Tcl internationalization features and thread support New techniques for working with regular expressions and namespacesYou'll find extensive coverage of user interface development, as well as application integration techniques that leverage Tcl/Tk's powerful cross-platform scripting capabilities. Welch covers Tcl's extensive network support, as well as Safe Tcl, C programming with the Tk toolkit, the Tcl compiler, and Tcl/Tk plug-ins for Netscape and Internet Explorer. Whether you're a current Tcl/Tk programmer, or a developer searching for a convenient, powerful multiplatform scripting language, Practical Programming in Tcl and Tk, Third Edition delivers exactly what you're looking for."This is an excellent book, loaded with useful examples. Newcomers to Tk will find the widget descriptions particularly helpful." --John Ousterhout CEO and founder of Scriptics Corporation and the creator of Tcl/Tk"Brent Welch fills an important need for an introduction to Tcl/Tk with an applied focus and with coverage of many of the useful extensions available . . . I recommend this book to my new students . . . and I keep a copy handy for my own use." --Joseph A. Konstan, Professor of Computer Science University of MinnesotaABOUT THE CD-ROMThe accompanying CD-ROM includes the Tcl Web Server; Tcl/Tk distributions for Windows 9x/NT, Solaris, and Macintosh; plus an extensive collection of free Tcl/Tk software-including all the code from the book.Art: Include the same boxed quotes that appeared on the 2e back cover.

Contributors
  • Sun Microsystems

Recommendations

Reviews

Wei-Ming Hu

This good tutorial on the Tool Command Language (Tcl) and its GUI toolkit (Tk) is in its third edition, and it has grown in size with each successive version. At present, the book is about 770 pages long and includes a CD-ROM that contains the examples and some selected Tcl/Tk freeware. The book starts with the basic elements of Tcl, including commands, procedures, and data structures. Part 1, “Advanced Tcl,” deals with more advanced constructs such as regular expressions, namespaces, internationalization, TclHttpd (a Web server built in Tcl), and Safe-Tcl/Tk. Safe-Tcl/Tk is the name for restricted versions of Tcl and Tk that can execute scripts received from unknown sources without compromising local system security. The second part of the book deals with Tk, beginning with a description of Tk and the basic Tk widgets. It describes the basic user interface elements such as buttons, menus, and scrollbars, each of which is also illustrated through a series of examples. This is followed by a section on more complex Tk programming issues, such as using the clipboard, dialogue boxes, and changing widge t attributes and fonts. The last part of the book describes how to use C/C++ to extend the Tcl command set. Overall, the book offers a very complete treatment of both Tcl and Tk. The description of Tk is particularly good, in that the examples are very clear and show readers exactly what the result should look like. The elements of the languages are presented in a logical manner, building upon each other. The author has kept pace with developments in this area by including new material on the TclHttpd, Safe-Tcl, and internationalization issues. Someone trying to learn the language can definitely save time by reading this book first.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.