Tcl/Tk: A Developer's Guide, 2/e (Paperback)

Clif Flynt

買這商品的人也買了...

相關主題

商品描述

Tcl/Tk (Tool Command Language/Tool Kit) makes it fast and easy to implement any type of application, from games to network analyzers. Tcl/Tk is a full-bodied, mature programming platform used by NASA rocket scientists, Wall Street database experts, Internet designers, and open source programmers around the world. Tcl/Tk's multi-faceted and extensible nature make it ideal for developing end-user GUIs, client/server middleware, Web applications, and more. You can code completely in Tcl, use any of hundreds of extensions, call C or Java subroutines from Tcl/Tk, or use Tcl to glue legacy applications together.  
 
Written from a programmer's perspective, Tcl/Tk: A Developer's Guide describes how to use Tcl's standard tools and the unique features that make Tcl/Tk powerful: including graphics widgets, packages, namespaces, and extensions. With this book an experienced programmer will be able to code Tcl in a few hours. In just a few chapters you will learn about Tcl features that allow you to isolate and protect your code from being damaged in large applications. You will even learn how to extend the language itself.  
 
Tcl/Tk: A Developer's Guide clearly discusses development tools, proven techniques, and existing extensions. It shows how to use Tcl/Tk effectively and provides many code examples. This fully revised new edition is the complete resource for computer professionals, from systems administrators to programmers. It covers versions 7.4 to 8.4 and includes a CD-ROM containing the interpreters, libraries, and tutorials to get you started quickly. Additional materials in the book include case studies and discussions of techniques for the advanced user.  
 
On the CD-ROM  
*Distributions for Tcl 8.3 and 8.4 for Linux, Solaris, Macintosh, and Windows.  
*A copy of ActiveTcl from ActiveState.  
*The latest release of TclTutor.  
*How-to's and tutorials as well as copies of all the tools discussed in the book.  
*The author's "Tclsh Spot" articles from :login; magazine and the "Real World" Tcl/Tk chapters from the first edition.  
*Demo copies of commercial development tools from ActiveState and NeatWare.  
*Many open source Tcl/Tk development tools.  
*Tcl/Tk design guidelines.

Contents


Tcl/Tk Features; The Mechanics of Using the Tcl and Tk Interpreters; Introduction to the Tcl Language; File System; Disk I/O and Sockets; Using Strings and Lists; Building Complex Data Structures with Lists and Arrays; Procedure Techniques; Namespaces and Pack; Introduction to Tk Graphics; Using the Canvas Widget; The Text Widget and htmllib; Tk Megawidgets; Writing a Tcl Extension; Extensions and Package; Programming Tools; Tips and Techniques.

 

商品描述(中文翻譯)

Tcl/Tk(Tool Command Language/Tool Kit)使得實現任何類型的應用程序變得快速且容易,從遊戲到網絡分析器都可以。Tcl/Tk是一個完整且成熟的編程平台,被NASA火箭科學家、華爾街數據庫專家、互聯網設計師和全球的開源程序員使用。Tcl/Tk的多面性和可擴展性使其非常適合開發用戶界面(GUI)、客戶端/服務器中間件、Web應用程序等。您可以完全使用Tcl編寫代碼,使用數百個擴展之一,從Tcl/Tk調用C或Java子程序,或使用Tcl將遺留應用程序連接在一起。

《Tcl/Tk: A Developer's Guide》從程序員的角度出發,描述了如何使用Tcl的標準工具以及使Tcl/Tk強大的獨特功能,包括圖形小部件、包、命名空間和擴展。通過這本書,有經驗的程序員將能夠在幾個小時內編寫Tcl代碼。在幾個章節中,您將學習到Tcl的功能,這些功能允許您在大型應用程序中隔離和保護代碼免受損壞。您甚至還將學習如何擴展語言本身。

《Tcl/Tk: A Developer's Guide》清晰地討論了開發工具、成熟的技術和現有的擴展。它展示了如何有效地使用Tcl/Tk,並提供了許多代碼示例。這本全新修訂的新版是從系統管理員到程序員的計算機專業人士的完整資源。它涵蓋了7.4到8.4版本,並包含一個CD-ROM,其中包含解釋器、庫和教程,讓您快速入門。書中還包括案例研究和高級用戶的技術討論。

CD-ROM中包含:
- Linux、Solaris、Macintosh和Windows的Tcl 8.3和8.4發行版。
- ActiveState的ActiveTcl副本。
- TclTutor的最新版本。
- 如何操作和教程,以及書中討論的所有工具的副本。
- 作者在《login; magazine》的“Tclsh Spot”文章和第一版的“Real World” Tcl/Tk章節。
- ActiveState和NeatWare的商業開發工具的演示版本。
- 許多開源的Tcl/Tk開發工具。
- Tcl/Tk設計指南。

目錄:
- Tcl/Tk功能
- 使用Tcl和Tk解釋器的機制
- Tcl語言入門
- 文件系統
- 磁盤I/O和套接字
- 使用字符串和列表
- 使用列表和數組構建複雜的數據結構
- 過程技巧
- 命名空間和Pack
- Tk圖形入門
- 使用Canvas小部件
- 文本小部件和htmllib
- Tk Megawidgets
- 編寫Tcl擴展
- 擴展和包
- 編程工具
- 提示和技巧