Tcl/Tk 8.5 Programming Cookbook (Paperback)

Bert Wheeler

  • 出版商: Packt Publishing
  • 出版日期: 2011-02-18
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 236
  • 裝訂: Paperback
  • ISBN: 1849512981
  • ISBN-13: 9781849512985
  • 相關分類: 程式語言
  • 無法訂購

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

相關主題

商品描述

Over 100 great recipes to effectively learn Tcl/Tk 8

  • The quickest way to solve your problems with Tcl/Tk 8.
  • Understand the basics and fundamentals of the Tcl/Tk 8 programming language
  • Learn graphical User Interface development with the Tcl/Tk 8 Widget set
  • Get a thorough and detailed understanding of the concepts with a real-world address book application
  • Each recipe is a carefully organized sequence of instructions to efficiently learn the features and capabilities of the Tcl/Tk 8 language
  • In Detail

    With Tcl/Tk, you can create full-featured cross-platform applications in a simple and easy-to-understand way without any expensive development package; the only tools required are a simple text editor and your imagination. This practical cookbook will help you to efficiently interact with editors, debuggers, and shell type interactive programs using Tcl/Tk 8. This cookbook will comprehensively guide you through practical implementation of Tcl/Tk 8 commands and tools.

    This book will take you through all the steps needed to become a productive programmer in Tcl/Tk 8. Right from guiding you through the basics to creating a stand-alone application, it provides complete explanation of all the steps along with handy tips and tricks.

    The book begins with an introduction to the Tcl shell, syntax, variables, and programming best practices in the language. It then explores procedures and the flow of events with control constructs followed by advanced error trapping and recovery. From Chapter 4, a detailed study of string expressions and handling enables you to handle various string functions and use lists to expand the string functionality. The book then discusses in-depth the Tcl Dictionary and how to utilize it to store and retrieve data. File operations and Tk GUI handling are covered extensively along with a developing a real-world address book application to practice the concepts learned.

    A practical, comprehensive cookbook to master the depths and breadths of Tcl/Tk 8 programming

    What you will learn from this book

    • Expand your Tcl/Tk abilities by gaining in-depth knowledge of the core commands
    • Learn efficient programming by using control constructs in your program
    • Handle numerous types of string expressions by performing formatting, searches, and advanced manipulations on them
    • Gain expertise in using lists with examples teaching you the various available operations
    • Demystify the Tcl Dictionary and learn how it can be a viable substitute for a third-party database
    • Perform various operations on the dictionary elements in both single and multiple layer dictionaries
    • Create, manage, and empower your Graphical User Interface with Tk window management, to develop attractive applications
    • Ease your file system access with an in-depth study of File operations
    • Perform advanced error trapping and recovery with error handling commands in Tcl

    Approach

    This book provides a step-by-step approach to the Tcl/Tk language with the help of re-usable examples and images. It is a series of carefully organized, easy-to-follow, standalone recipes to solve your queries. Whether you go through the recipes chapter-wise or pick up any recipe randomly, you will find clear and complete explanation of the task covered in the recipe.

    Who this book is written for

    If you are a beginner interested in adding Tcl/Tk 8 to your list of languages, or an experienced Tcl/Tk programmer looking to sharpen your knowledge, be assured, you will find your prefect guide in this book. Whether you are developing for your personal use or commercial applications, this book will provide you with a ready reference to the building blocks of Tcl/Tk 8.

商品描述(中文翻譯)

《Tcl/Tk 8 實戰食譜》
超過100道精彩食譜,有效學習 Tcl/Tk 8

- 最快解決 Tcl/Tk 8 問題的方法
- 理解 Tcl/Tk 8 程式語言的基礎和基本原理
- 學習使用 Tcl/Tk 8 Widget set 進行圖形使用者介面開發
- 透過實際的通訊錄應用程式,深入詳細地了解概念
- 每個食譜都是一個精心組織的指令序列,有效學習 Tcl/Tk 8 語言的功能和能力

詳細內容:
使用 Tcl/Tk,您可以以簡單易懂的方式創建功能完整的跨平台應用程式,而無需任何昂貴的開發套件;您只需要一個簡單的文字編輯器和您的想像力。這本實用的食譜將幫助您有效地與編輯器、調試器和類似 shell 的互動程式使用 Tcl/Tk 8。本食譜將全面指導您實際實施 Tcl/Tk 8 命令和工具。

本書將引導您完成成為 Tcl/Tk 8 生產力程式設計師所需的所有步驟。從基礎指導到創建獨立應用程式,它提供了完整的解釋,並附有實用的技巧和訣竅。

本書首先介紹 Tcl shell、語法、變數和語言中的程式設計最佳實踐。然後探討程序和事件流程控制,接著是高級錯誤捕獲和恢復。從第四章開始,深入研究字串表達式和處理,使您能夠處理各種字串函數並使用列表擴展字串功能。本書還詳細討論了 Tcl 字典以及如何利用它來存儲和檢索數據。文件操作和 Tk GUI 處理也得到了廣泛涵蓋,並開發了一個實際的通訊錄應用程式來練習所學概念。

這是一本實用而全面的食譜,以精通 Tcl/Tk 8 程式設計的深度和廣度。

本書將教您:
- 通過深入了解核心命令,擴展您的 Tcl/Tk 能力
- 通過在程式中使用控制結構,學習高效的程式設計
- 通過執行格式化、搜索和高級操作等多種類型的字串表達式,處理各種字串
- 通過示例學習使用列表,掌握各種可用操作
- 解密 Tcl 字典,並學習如何將其作為第三方數據庫的替代方案
- 在單層和多層字典中對字典元素執行各種操作
- 使用 Tk 窗口管理創建、管理和強化您的圖形使用者介面,開發吸引人的應用程式
- 通過深入研究文件操作,輕鬆訪問文件系統
- 通過 Tcl 中的錯誤處理命令進行高級錯誤捕獲和恢復

這本書以可重複使用的例子和圖片的方式,提供了一種逐步學習 Tcl/Tk 語言的方法。它是一系列精心組織、易於遵循的獨立食譜,可解決您的疑問。無論您是按章節順序閱讀食譜還是隨機選擇任何食譜,您都會找到清晰而完整的解釋。

本書適合對在語言列表中添加 Tcl/Tk 8 感興趣的初學者,或是經驗豐富的 Tcl/Tk 程式設計師希望提升知識的人。無論您是為個人使用還是商業應用程式開發,本書都將為您提供 Tcl/Tk 8 的基礎參考。