Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Tcl/Tk 8.5 Programming Cookbook
Tcl/Tk 8.5 Programming Cookbook

Tcl/Tk 8.5 Programming Cookbook: With over 100 recipes, this Cookbook is ideal for both beginners and advanced Tcl/Tk programmers. From the basics to creating applications, it’s full of indispensable tips and tricks to make the most of the language.

eBook
S$12.99 S$47.99
Paperback
S$59.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Tcl/Tk 8.5 Programming Cookbook

Left arrow icon Right arrow icon

Key benefits

  • The quickest way to solve your problems with Tcl/Tk 8.5
  • Understand the basics and fundamentals of the Tcl/Tk 8.5 programming language
  • Learn graphical User Interface development with the Tcl/Tk 8.5 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.5 language

Description

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.5 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.

Who is this book for?

If you are a beginner interested in adding Tcl/Tk 8.5 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.5

What you will learn

  • 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

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 11, 2011
Length: 236 pages
Edition : 1st
Language : English
ISBN-13 : 9781849512992
Category :
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Feb 11, 2011
Length: 236 pages
Edition : 1st
Language : English
ISBN-13 : 9781849512992
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just S$6 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total S$ 209.97
Tcl/Tk 8.5 Programming Cookbook
S$59.99
Tcl 8.5 Network Programming
S$74.99
Network Analysis using Wireshark Cookbook
S$74.99
Total S$ 209.97 Stars icon
Banner background image

Table of Contents

13 Chapters
The Tcl Shell Chevron down icon Chevron up icon
Using the Building Blocks Control Constructs Chevron down icon Chevron up icon
Error Handling Chevron down icon Chevron up icon
Handling String Expressions Chevron down icon Chevron up icon
Expanding String Functionality Using Lists Chevron down icon Chevron up icon
The Tcl Dictionary Chevron down icon Chevron up icon
File Operations Chevron down icon Chevron up icon
Tk GUI Programming with Tcl/Tk Chevron down icon Chevron up icon
Configuring and Controlling Tk Widgets Chevron down icon Chevron up icon
Geometry Management Chevron down icon Chevron up icon
Using Tcl Built-in Dialog Windows Chevron down icon Chevron up icon
Creating and Managing Menus Chevron down icon Chevron up icon
Creating the Address Book Application Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
(7 Ratings)
5 star 14.3%
4 star 28.6%
3 star 14.3%
2 star 28.6%
1 star 14.3%
Filter icon Filter
Top Reviews

Filter reviews by




Amazon Customer Apr 10, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
good
Amazon Verified review Amazon
Ned Mar 28, 2011
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
(I received a review copy of this book)This book should be very helpful for beginners interested in what Tcl/Tk has to offer, or those who have to maintain "that Tcl app" at work.The table of contents provides a topical list of tasks, and each section can stand on its own - allowing the reader to immediately write code and see results.This couples well with Tcl's orientation towards rapid prototyping, and should provide the taste beginners need to desire more Tcl/Tk.
Amazon Verified review Amazon
WJG Mar 16, 2011
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
When I received my review copy of the Tcl/Tk 8.5 Programming Cookbook I was half expecting a rewrite of the manual -lists of features and functionality with little indication of how and when to use specific resources. I was wrong. Let me explain. A cookbook is something to turn to when you've run out of ideas or perhaps are looking to find some new way of tackling an old problem. Alternatively, cookbooks are for beginners and novices, those people who need to know how do something effectively and quickly. In this area the `Cookbook' score points in every chapter.Turn to any page in the text and you will find a clear, structure on how to use Tcl/Tk to resolve particular issues. There is a task statement, such as 'Creating a List' in which a particular requirement is identified followed by a 'How to Do It' code snippet and a 'Why it Works' explanation. For someone new to Tcl programming this is an excellent approach.Overall, the `Cookbook' is organised over thirteen chapters which cover all the key areas any novice Tcler needs to know. The flow of the book first introduces the reader to the key aspects of Tcl: the shell, program control, error handling, string manipulation, lists, dictionaries (particularly useful) and file operations. Following this it deals with the creation and configuration of GUIs using the Tk widget set and the use of in-built dialogs and the creation of menus. Finally, the issues and decisions surrounding the completion of a first Tcl/Tk project are examined in the form of an address book application.ConclusionThe Tcl/Tk 8.5 Programming CookBook is exactly what it set out to be - a practical tutorial text. It doesn't cover the advanced features of Tcl/Tk but this is intentional. Would I recommend this book to a Tcl/Tk newbie? Yes.
Amazon Verified review Amazon
Highlander Aug 28, 2013
Full star icon Full star icon Full star icon Empty star icon Empty star icon 3
Diese Buch ist wirklich nur für absolute Anfänger. Ein Kochbuch für 100 Lösungen ist es aber aus meiner Sicht nicht. Schritt für Schritt wird in die Kommandos eingeführt, allerdings ohne jeden Tiefgang. Ohne dem zusätzlichen Studium der Manpages innerhalb von Tcl kommt man nicht aus. Die Einführung endet dann in einer rudimentären Adressbuch Applikation. Sehr enttäuschen ist, dass der Buchtitel auf Tcl/Tk 8.5 eingeht, aber alle Kommandos bereits ab der alten wish 4.0 funktionieren. Nirgendwo ein Hinweis auf die Spezialitäten der Version 8.5.Der Schwerpunkt liegt in der GUI Programmierung. Leider fehlen die Definitionen für Schriften und Betriebssystemspezifische Designtemplates die gerade mit der Version 8 überarbeitet wurden. 20 Seiten mehr und das ganze wäre erklärt gewesen. Eine weitere Stärke von Tcl war von je her die Port Kommunikation, die ähnlich einem Dateizugriff funktioniert. Auch hier kein Wort vom Autor. Ein einfaches Bespiel zum Zugriff auf eine MySQL Datenbank wäre gerade für eine Adressbuchanwendung toll gewesen. Auch hier nichts.Der Einband weckt mehr Erwartungen, doch es ist eine einfache Einführung in die Syntax von Tcl/Tk. Deshalb noch 3 Sterne.
Amazon Verified review Amazon
Roalt May 12, 2011
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
I was a bit suprised when a representative of Packt asked me to reviewa new Tcl/Tk book: A new Tcl/Tk book? A book about a language thatgets much less attention nowadays than Ruby, Clojure, Python, C#, andeven Java? Yes, it's really true.There are quite some books on Tcl/Tk, albeit that most are alreadyaging. One of the well-known books is Practical Programming withTcl/Tk by Brent Welch that's now in it's 4th edition. So it'squite obvious that any other book shall compete with this book on theshelf about Tcl/Tk programming.But even with all those new languages, Tcl/Tk doesn't really get thecredit it deserves: It's not a web-oriented language (initial attempts torun Tcl/Tk in the browser failed to catch much popularity). But it'sstill strong as scripting language and as language to make userinterfaces, without having to learn a new framework or a newprogramming language. In that sense, Tcl/Tk is an Agile language thatyou can pick up and extend your knowledge as you go.The book is, as the name suggests, written in the Cookbook-style: Easyto distinguish topics with examples and simple answers. I like thestyle as it's both useful as tutorial book, to read from front to end,as for reference book where you can skip to the topic or issue and read it.The books starts with the Tcl shell syntax, then it describes thestandard control structures, error handling, and then continues to thevarious variable types of the language, such as strings, lists anddictionaries. After discussing the core Tcl features, the books moveson to the Tk-part of Tcl/Tk, the user interface. The differentstandard components are discussed, at the end of the book an exampleis given of an address book application.Although the book, in essence, can be a good addition to what'savailable, when I first browsed through it, I got a bit of saddenedfeeling: There were some typos and errors (e.g. TCL_interactiveinstead of tcl_interactive), and more important: the code indentationis broken throughout the whole book: I know you can have differentopinions on this subject, but I cannot believe the author applies itas it is done in the book. I sincerely hope these layout problems andsome errata's will trigger a second edition release.There are also some other issues that I noticed related to the order:For instance, first regular expressions are discussed. A view pageslater, the simple string search is discussed. If you're reading thebook as tutorial, you might this order a bit unnatural. I also miss adiscussion of the namespace functionality in Tcl/Tk: if you want towrite larger applications, it prevents serious scaling problems andthe use of global variables.The Tk-part of the book is not complete, some important (advanced)techniques are missing. For instance, to control the input of a entrywidget, or handle the scrollbar with the -xscrollcommand and-yscrollcommand (the scrollbar isn't even mentioned). In that sense,if you do not consider it an advanced Tcl/Tk book, it's allright, butyou might miss out these important topics otherwise. The address book application is a section of the book I find a bitmisplaced: it looks like it's just a listing of a (long) application,that is described afterwards. Although I like long examplesdiscussing more complex issues with the language or see the topicscombined in one example, I doubt this example will be encouragingenough for the reader. A reference to where the source code can befound would be more than sufficient, and it would leave room todiscuss the important decisions made in this application.Concluding, I must say that for an entry-level Tcl/Tk book it's a goodand easy accessible book. But if you intend to get a fullunderstanding of the language, you will require at least oneadditional book (or read a lot of internet or manual pages). And someissues, especially the indentation, must be taken care of in a reprintbefore I can give a positive recommendation.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.