Tcl/Tk 8.5 Programming Cookbook (Paperback)

Bert Wheeler

  • 出版商: Packt Publishing
  • 出版日期: 2011-02-11
  • 售價: $1,438
  • 貴賓價: 9.5$1,366
  • 語言: 英文
  • 頁數: 236
  • 裝訂: Paperback
  • ISBN: 1849512981
  • ISBN-13: 9781849512985

下單後立即進貨 (1~2週)

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

商品描述

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.