1.

Record Nr.

UNINA9910784927003321

Autore

Kocjan Wojciech

Titolo

Tcl 8.5 network programming [[electronic resource] ] : build network-aware applications using Tcl, a powerful dynamic programming language / / Wojciech Kocjan, Piotr Beltowski

Pubbl/distr/stampa

Birmingham, U.K., : Packt Open Source, 2010

ISBN

1-282-66362-3

9786612663628

1-84951-097-0

Edizione

[1st edition]

Descrizione fisica

1 online resource (589 p.)

Altri autori (Persone)

BeltowskiPiotr

Disciplina

005.133

Soggetti

Tcl (Computer program language)

Computer networks

Application software - Development

Programming languages (Electronic computers)

CGI (Computer network protocol)

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Cover; Copyright; Credits; About the Authors; About the Reviewers; Table of Contents; Preface; Chapter 1: Introducing Tcl; What is Tcl/Tk; Extensions; Tk; Installation; Windows; Unix-like systems; Installation of additional Tcl packages; Additional tools; Eclipse; Komodo; tkcon - an alternate Tcl shell; Tcl syntax; Tcl commands documentation syntax; Running the script; Running commands directly in the tclsh interpreter; Variables; Grouping; Nesting commands; Data types; Lists; Arrays; Dictionaries; Mathematical expressions-expr; Flow control and loop instructions; Defining your own commands

SummaryChapter 2: Advanced Tcl Features; Tcl features; Working with time and date; Tcl data types; Global, namespace, and local variables; Stack frames; Object-oriented programming; Class definition; Inheritance; Object definitions; Using mixins; Forwarding methods; Additional information; Accessing files; Reading and writing files; Configuring channel options; File management; Filename related operations; File information; Listing files; Current working directory;



Packages in Tcl; Package loading; Creating a package; Tcl modules; Event-driven programming; Tcl event types

Entering the event loopEvents and stack frames; Channel events; Timer and idle events; Robust scheduling with tclcron; Multithreaded applications; Managing threads; Shared variables; Transferring channels; Summary; Chapter 3: Tcl Standalone Binaries; Understanding the executable file structure; Learning the Metakit database; Working with MetaKit from Tcl; Learning more about virtual file systems; Getting into the details of VFS and Metakit; Learning Tclkit; Starkit and SDX; Creating a Starkit file; Internal structure of starkits; Using resource files in starkits

Putting additional packages into a starkitFormat of the starkit file; Interactions between different starkit files; Knowing the Starpack technology; Practical example-the Hibernator application; Advanced topics-self updating; Other solutions; Summary; Chapter 4: Troubleshooting Tcl applications; Logging; Log package; Initialization; Available log levels; Enabling or disabling log levels; Replacing the default implementation of the logging command; Recap of the log package; Logger package; Initialization; Available log levels; Enabling or disabling log levels; Tracing

Changing the implementation of the logging / tracing commandAppenders; Recap of the logger package; Audit; Recap of the audit package; Debugging; Tcl Dev Kit Inspector; Tcl Dev Kit Debugger; Local Debugging; Remote debugging; Recap of the Tcl Dev Kit Debugger; TclPro Debugger; Summary; Chapter 5: Data Storage; Internationalizations; Encoding issues; Translating your application into different languages; Using SQL and databases in Tcl; Connecting to MySQL; Connecting to PostgreSQL; Using SQLite; Managing databases from SQLiteStudio; Other databases; Handling XML in Tcl; Storing raw Tcl values

Summary

Sommario/riassunto

Build network-aware applications using Tcl, a powerful dynamic programming language