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

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

Detalles Bibliográficos
Autor principal: Kocjan, Wojciech (-)
Otros Autores: Beltowski, Piotr
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, U.K. : Packt Open Source 2010.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628458606719
Tabla de Contenidos:
  • 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