Join Books.org — it's free

Book cover of Effective TCL/TK Programming: Writing Better Programs with TCL and TK
Programming Languages

Effective TCL/TK Programming: Writing Better Programs with TCL and TK

by Mark Harrison, Michael J. McLennan
Available on Bookshop Write a review

Books.org participates in affiliate programs including Bookshop.org and the Amazon Services LLC Associates Program. We may earn a commission from qualifying purchases made through links on this page, at no additional cost to you.

Log in to track your reading progress.

Overview

You need a graphical user interface, and it needs to run on multiple platforms. You don't have much time, and you're not a wizard with X/Motif, the Win32 GUI, or the Mac GUI. The project seems impossible, but with Tcl/Tk it's simple and fun.

The Tcl scripting language and the Tk toolkit create a powerful programming environment for building graphical user interfaces. With two lines of code you can create a simple button; with two hundred lines of code, a desktop calculator; and with a thousand lines of code, an industrial-strength groupware calendar and appointment minder. Your applications run on all of the major platforms: UNIX, Windows 95/NT, and Macintosh. You can even embed your programs in a Web page to make them available online.

Mark Harrison and Michael McLennan, two noted Tcl/Tk experts, combine their extensive experience in this practical programming guide. It is ideal for developers who are acquainted with the basics of Tcl/Tk and are now moving on to build real applications.

Effective Tcl/Tk Programming shows you how to build Tcl/Tk applications effectively and efficiently through plenty of real-world advice. It clarifies some of the more powerful aspects of Tcl/Tk, such as the packer, the canvas widget, and binding tags. The authors describe valuable design strategies and coding techniques that will make your Tcl/Tk projects successful. You will learn how to:

  • Create interactive displays with the canvas widget
  • Create customized editors with the text widget
  • Create new geometry managers, like tabbed notebooks or paned windows
  • Implement client/server architectures
  • Handle data structures
  • Interface with existing applications
  • Package Tcl/Tk code into reusable libraries
  • Deliver Tcl/Tk applications that are easy to configure and install
  • Embed applications in a Web page
  • Build applications that will run on multiple platforms

Throughout the book, the authors develop numerous applications and a library of reusable components. Learn from their approach, follow their strategies, and steal their code for your own applications! But don't bother retyping all of the examples.

Synopsis

You need a graphical user interface, and it needs to run on multiple platforms. You don't have much time, and you're not a wizard with X/Motif, the Win32 GUI, or the Mac GUI. The project seems impossible, but with Tcl/Tk it's simple and fun.

The Tcl scripting language and the Tk toolkit create a powerful programming environment for building graphical user interfaces. With two lines of code you can create a simple button; with two hundred lines of code, a desktop calculator; and with a thousand lines of code, an industrial-strength groupware calendar and appointment minder. Your applications run on all of the major platforms: UNIX, Windows 95/NT, and Macintosh. You can even embed your programs in a Web page to make them available online.

Mark Harrison and Michael McLennan, two noted Tcl/Tk experts, combine their extensive experience in this practical programming guide. It is ideal for developers who are acquainted with the basics of Tcl/Tk and are now moving on to build real applications.

Effective Tcl/Tk Programming shows you how to build Tcl/Tk applications effectively and efficiently through plenty of real-world advice. It clarifies some of the more powerful aspects of Tcl/Tk, such as the packer, the canvas widget, and binding tags. The authors describe valuable design strategies and coding techniques that will make your Tcl/Tk projects successful. You will learn how to:

  • Create interactive displays with the canvas widget
  • Create customized editors with the text widget
  • Create new geometry managers, like tabbed notebooks or paned windows
  • Implement client/server architectures
  • Handle data structures
  • Interface with existing applications
  • Package Tcl/Tk code into reusable libraries
  • Deliver Tcl/Tk applications that are easy to configure and install
  • Embed applications in a Web page
  • Build applications that will run on multiple platforms

Throughout the book, the authors develop numerous applications and a library of reusable components. Learn from their approach, follow their strategies, and steal their code for your own applications! But don't bother retyping all of the examples.

About the Author, Mark Harrison

Mark Harrison has been programming in Tcl ever since he heard John Ousterhout speak at the 1990 Usenix conference.* He currently works in the telecommunications industry for DSC Communications Corporation as a senior system architect, where he is Chief Tcl Evangelist.* In addition, he is enrolled in the computer science department at the University of Texas at Dallas.

Michael J. McLennan is a Distinguished Member of Technical Staff at Bell Labs Innovations for Lucent Technologies, where he develops software for Computer-Aided Design (CAD). He has been a Tcl/Tk enthusiast since 1992, writing many extensions and applications. He developed the incr Tcl extension, which adds object-oriented facilities to Tcl/Tk. He has also created several Tcl/Tk training courses.

Reviews

There are no reviews yet. Log in to write one.

Book Details

Published
November 1, 1997
Publisher
Addison-Wesley
Pages
432
Format
Paperback
ISBN
9780201634747

More by Mark Harrison

Similar books