Kategorie
Ebooki
-
Biznes i ekonomia
- Bitcoin
- Bizneswoman
- Coaching
- Controlling
- E-biznes
- Ekonomia
- Finanse
- Giełda i inwestycje
- Kompetencje osobiste
- Komputer w biurze
- Komunikacja i negocjacje
- Mała firma
- Marketing
- Motywacja
- Multimedialne szkolenia
- Nieruchomości
- Perswazja i NLP
- Podatki
- Polityka społeczna
- Poradniki
- Prezentacje
- Przywództwo
- Public Relation
- Raporty, analizy
- Sekret
- Social Media
- Sprzedaż
- Start-up
- Twoja kariera
- Zarządzanie
- Zarządzanie projektami
- Zasoby ludzkie (HR)
-
Dla dzieci
-
Dla młodzieży
-
Edukacja
-
Encyklopedie, słowniki
-
E-prasa
- Architektura i wnętrza
- Biznes i Ekonomia
- Dom i ogród
- E-Biznes
- Finanse
- Finanse osobiste
- Firma
- Fotografia
- Informatyka
- Kadry i płace
- Komputery, Excel
- Księgowość
- Kultura i literatura
- Naukowe i akademickie
- Ochrona środowiska
- Opiniotwórcze
- Oświata
- Podatki
- Podróże
- Psychologia
- Religia
- Rolnictwo
- Rynek książki i prasy
- Transport i Spedycja
- Zdrowie i uroda
-
Historia
-
Informatyka
- Aplikacje biurowe
- Bazy danych
- Bioinformatyka
- Biznes IT
- CAD/CAM
- Digital Lifestyle
- DTP
- Elektronika
- Fotografia cyfrowa
- Grafika komputerowa
- Gry
- Hacking
- Hardware
- IT w ekonomii
- Pakiety naukowe
- Podręczniki szkolne
- Podstawy komputera
- Programowanie
- Programowanie mobilne
- Serwery internetowe
- Sieci komputerowe
- Start-up
- Systemy operacyjne
- Sztuczna inteligencja
- Technologia dla dzieci
- Webmasterstwo
-
Inne
-
Języki obce
-
Kultura i sztuka
-
Lektury szkolne
-
Literatura
- Antologie
- Ballada
- Biografie i autobiografie
- Dla dorosłych
- Dramat
- Dzienniki, pamiętniki, listy
- Epos, epopeja
- Esej
- Fantastyka i science-fiction
- Felietony
- Fikcja
- Humor, satyra
- Inne
- Klasyczna
- Kryminał
- Literatura faktu
- Literatura piękna
- Mity i legendy
- Nobliści
- Nowele
- Obyczajowa
- Okultyzm i magia
- Opowiadania
- Pamiętniki
- Podróże
- Poemat
- Poezja
- Polityka
- Popularnonaukowa
- Powieść
- Powieść historyczna
- Proza
- Przygodowa
- Publicystyka
- Reportaż
- Romans i literatura obyczajowa
- Sensacja
- Thriller, Horror
- Wywiady i wspomnienia
-
Nauki przyrodnicze
-
Nauki społeczne
-
Podręczniki szkolne
-
Popularnonaukowe i akademickie
- Archeologia
- Bibliotekoznawstwo
- Filmoznawstwo
- Filologia
- Filologia polska
- Filozofia
- Finanse i bankowość
- Geografia
- Gospodarka
- Handel. Gospodarka światowa
- Historia i archeologia
- Historia sztuki i architektury
- Kulturoznawstwo
- Lingwistyka
- Literaturoznawstwo
- Logistyka
- Matematyka
- Medycyna
- Nauki humanistyczne
- Pedagogika
- Pomoce naukowe
- Popularnonaukowa
- Pozostałe
- Psychologia
- Socjologia
- Teatrologia
- Teologia
- Teorie i nauki ekonomiczne
- Transport i spedycja
- Wychowanie fizyczne
- Zarządzanie i marketing
-
Poradniki
-
Poradniki do gier
-
Poradniki zawodowe i specjalistyczne
-
Prawo
- BHP
- Historia
- Kodeks drogowy. Prawo jazdy
- Nauki prawne
- Ochrona zdrowia
- Ogólne, kompendium wiedzy
- Podręczniki akademickie
- Pozostałe
- Prawo budowlane i lokalowe
- Prawo cywilne
- Prawo finansowe
- Prawo gospodarcze
- Prawo gospodarcze i handlowe
- Prawo karne
- Prawo karne. Przestępstwa karne. Kryminologia
- Prawo międzynarodowe
- Prawo międzynarodowe i zagraniczne
- Prawo ochrony zdrowia
- Prawo oświatowe
- Prawo podatkowe
- Prawo pracy i ubezpieczeń społecznych
- Prawo publiczne, konstytucyjne i administracyjne
- Prawo rodzinne i opiekuńcze
- Prawo rolne
- Prawo socjalne, prawo pracy
- Prawo Unii Europejskiej
- Przemysł
- Rolne i ochrona środowiska
- Słowniki i encyklopedie
- Zamówienia publiczne
- Zarządzanie
-
Przewodniki i podróże
- Afryka
- Albumy
- Ameryka Południowa
- Ameryka Środkowa i Północna
- Australia, Nowa Zelandia, Oceania
- Austria
- Azja
- Bałkany
- Bliski Wschód
- Bułgaria
- Chiny
- Chorwacja
- Czechy
- Dania
- Egipt
- Estonia
- Europa
- Francja
- Góry
- Grecja
- Hiszpania
- Holandia
- Islandia
- Litwa
- Łotwa
- Mapy, Plany miast, Atlasy
- Miniprzewodniki
- Niemcy
- Norwegia
- Podróże aktywne
- Polska
- Portugalia
- Pozostałe
- Rosja
- Rumunia
- Słowacja
- Słowenia
- Szwajcaria
- Szwecja
- Świat
- Turcja
- Ukraina
- Węgry
- Wielka Brytania
- Włochy
-
Psychologia
- Filozofie życiowe
- Kompetencje psychospołeczne
- Komunikacja międzyludzka
- Mindfulness
- Ogólne
- Perswazja i NLP
- Psychologia akademicka
- Psychologia duszy i umysłu
- Psychologia pracy
- Relacje i związki
- Rodzicielstwo i psychologia dziecka
- Rozwiązywanie problemów
- Rozwój intelektualny
- Sekret
- Seksualność
- Uwodzenie
- Wygląd i wizerunek
- Życiowe filozofie
-
Religia
-
Sport, fitness, diety
-
Technika i mechanika
Audiobooki
-
Biznes i ekonomia
- Bitcoin
- Bizneswoman
- Coaching
- Controlling
- E-biznes
- Ekonomia
- Finanse
- Giełda i inwestycje
- Kompetencje osobiste
- Komunikacja i negocjacje
- Mała firma
- Marketing
- Motywacja
- Nieruchomości
- Perswazja i NLP
- Podatki
- Poradniki
- Prezentacje
- Przywództwo
- Public Relation
- Sekret
- Social Media
- Sprzedaż
- Start-up
- Twoja kariera
- Zarządzanie
- Zarządzanie projektami
- Zasoby ludzkie (HR)
-
Dla dzieci
-
Dla młodzieży
-
Edukacja
-
Encyklopedie, słowniki
-
Historia
-
Informatyka
-
Inne
-
Języki obce
-
Kultura i sztuka
-
Lektury szkolne
-
Literatura
- Antologie
- Ballada
- Biografie i autobiografie
- Dla dorosłych
- Dramat
- Dzienniki, pamiętniki, listy
- Epos, epopeja
- Esej
- Fantastyka i science-fiction
- Felietony
- Fikcja
- Humor, satyra
- Inne
- Klasyczna
- Kryminał
- Literatura faktu
- Literatura piękna
- Mity i legendy
- Nobliści
- Nowele
- Obyczajowa
- Okultyzm i magia
- Opowiadania
- Pamiętniki
- Podróże
- Poezja
- Polityka
- Popularnonaukowa
- Powieść
- Powieść historyczna
- Proza
- Przygodowa
- Publicystyka
- Reportaż
- Romans i literatura obyczajowa
- Sensacja
- Thriller, Horror
- Wywiady i wspomnienia
-
Nauki przyrodnicze
-
Nauki społeczne
-
Popularnonaukowe i akademickie
-
Poradniki
-
Poradniki zawodowe i specjalistyczne
-
Prawo
-
Przewodniki i podróże
-
Psychologia
- Filozofie życiowe
- Komunikacja międzyludzka
- Mindfulness
- Ogólne
- Perswazja i NLP
- Psychologia akademicka
- Psychologia duszy i umysłu
- Psychologia pracy
- Relacje i związki
- Rodzicielstwo i psychologia dziecka
- Rozwiązywanie problemów
- Rozwój intelektualny
- Sekret
- Seksualność
- Uwodzenie
- Wygląd i wizerunek
- Życiowe filozofie
-
Religia
-
Sport, fitness, diety
-
Technika i mechanika
Kursy video
-
Bazy danych
-
Big Data
-
Biznes, ekonomia i marketing
-
Cyberbezpieczeństwo
-
Data Science
-
DevOps
-
Dla dzieci
-
Elektronika
-
Grafika/Wideo/CAX
-
Gry
-
Microsoft Office
-
Narzędzia programistyczne
-
Programowanie
-
Rozwój osobisty
-
Sieci komputerowe
-
Systemy operacyjne
-
Testowanie oprogramowania
-
Urządzenia mobilne
-
UX/UI
-
Web development
-
Zarządzanie
Podcasty
Szczegóły ebooka
Zaloguj się, jeśli jesteś zainteresowany treścią pozycji.
Tcl 8.5 Network Programming. Learn Tcl and you’ll never look back when it comes to developing network-aware applications. This book is the perfect way in, taking you from the basics to more advanced topics in easy, logical steps
Piotr Beltowski, Wojciech Kocjan, Clif Flynt
Ebook
Tcl (Tool Command Language) is a very powerful and easy to learn dynamic programming language, suitable for a very wide range of uses. Tcl is regarded as one of the best-kept secrets in the software industry. This book gives you a hands-on experience on Tcl, helping you develop network-aware applications using this mature yet evolving language.
This book shows you how to create network-aware applications with Tcl language. Packed with practical examples, the book not only takes you through the implementation of network protocols in Tcl, but also key aspects of Tcl programming.
The book starts with the basic element of Tcl programming as we take a look at the syntax and fundamental commands of the language. To get us ready for network programming, we look at important Tcl features such as object-oriented programming, accessing files, packaging in TCL, event driven programming, and multithreaded applications. To create standalone single-file executable applications with Tcl we take a look at the Starpack technology, and ensure that we’ll be able to create robust applications with a thorough coverage of troubleshooting and debugging Tcl applications.
The book is really about network programming, and it will not let you down with its deep coverage of these topics. Of course we look at protocols, but there are plenty of practical examples to keep things moving along. We start with the TCP and UDP protocols, and look at some other protocols to see examples of synchronizing time with other servers, querying user information and authenticating users over LDAP and performing DNS queries.
The book explains Simple Network Management Protocol (SNMP), which is often used for monitoring and gathering information from various devices, such as routers, gateways, printers and many other types of equipment. We’ll also look at web programming in Tcl; processing the requests coming from the clients via the HTTP protocol and responding to these requests. You’ll be able to create a complete solution for creating a client-server application in Tcl.
To round things off, you’ll see how to secure your networked applications, build public key infrastructure into your application and use Tcl’s safe interpreter feature to reduce risk of running code from unknown source.
This book shows you how to create network-aware applications with Tcl language. Packed with practical examples, the book not only takes you through the implementation of network protocols in Tcl, but also key aspects of Tcl programming.
The book starts with the basic element of Tcl programming as we take a look at the syntax and fundamental commands of the language. To get us ready for network programming, we look at important Tcl features such as object-oriented programming, accessing files, packaging in TCL, event driven programming, and multithreaded applications. To create standalone single-file executable applications with Tcl we take a look at the Starpack technology, and ensure that we’ll be able to create robust applications with a thorough coverage of troubleshooting and debugging Tcl applications.
The book is really about network programming, and it will not let you down with its deep coverage of these topics. Of course we look at protocols, but there are plenty of practical examples to keep things moving along. We start with the TCP and UDP protocols, and look at some other protocols to see examples of synchronizing time with other servers, querying user information and authenticating users over LDAP and performing DNS queries.
The book explains Simple Network Management Protocol (SNMP), which is often used for monitoring and gathering information from various devices, such as routers, gateways, printers and many other types of equipment. We’ll also look at web programming in Tcl; processing the requests coming from the clients via the HTTP protocol and responding to these requests. You’ll be able to create a complete solution for creating a client-server application in Tcl.
To round things off, you’ll see how to secure your networked applications, build public key infrastructure into your application and use Tcl’s safe interpreter feature to reduce risk of running code from unknown source.
- Tcl 8.5 Network Programming
- Table of Contents
- Tcl 8.5 Network Programming
- Credits
- About the Authors
- About the Reviewers
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Errata
- Piracy
- Questions
- 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
- array size
- Dictionaries
- Mathematical expressionsexpr
- Flow control and loop instructions
- Flow control
- Loops
- Defining your own commands
- Summary
- What is Tcl/Tk
- 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 loop
- Events and stack frames
- Channel events
- Timer and idle events
- Robust scheduling with tclcron
- Multithreaded applications
- Managing threads
- Shared variables
- Transferring channels
- Summary
- Tcl features
- 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 starkit
- Format of the starkit file
- Interactions between different starkit files
- Knowing the Starpack technology
- Practical examplethe Hibernator application
- Advanced topicsself updating
- Other solutions
- Summary
- 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 command
- Appenders
- Recap of the logger package
- Audit
- Recap of the audit package
- Log package
- Debugging
- Tcl Dev Kit Inspector
- Tcl Dev Kit Debugger
- Local Debugging
- Remote debugging
- Recap of the Tcl Dev Kit Debugger
- TclPro Debugger
- Summary
- Logging
- 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
- Internationalizations
- 6. Networking in Tcl
- Using TCP sockets
- Creating server sockets
- Connecting over TCP
- Using nonblocking sockets
- Handling channel events
- Transferring binary data
- Transferring data using the fcopy command
- Handling errors
- Buffering
- Using threads for networking
- Using threads and thread pools
- Connecting to our service
- Using UDP sockets
- Creating a UDP-based client
- Implementing service using UDP
- Sending reliable messages
- Comparing TCP and UDP: streams vs. datagrams
- Summary
- Using TCP sockets
- 7. Using Common Internet Services
- Handling e-mail
- Learning MIME
- Content type
- Multipart messages
- MIME in Tcl
- Creating messages
- Multipart elements
- Sending e-mails
- Automated e-mail sending
- Creating template based e-mails
- Receiving e-mails
- Using POP3 protocol in Tcl
- Listing all messages
- Retrieving e-mails using POP3
- Parsing incoming e-mails
- Learning MIME
- Transferring files and data
- Resources and uri package
- Using HTTP
- Retrieving data over HTTP
- Submitting information using GET and POST
- Advanced topics
- Cookies in Tcl
- HTTP and encryption
- Retrieving RSS information
- Using FTP
- Establishing connections
- Retrieving files
- Uploading files
- Listing files and directories
- Summary
- Handling e-mail
- 8. Using Additional Internet Services
- Checking DNS
- Using callbacks
- Getting the current date and time
- Using LDAP from Tcl
- Authenticating users over LDAP
- Modifying information in LDAP
- Communicating with Tcl applications
- Comm client and server
- Performing commands asynchronously
- Security aspects
- Limiting available commands
- Summary
- Checking DNS
- 9. Learning SNMP
- Introduction to SNMP
- Learning SNMP protocol versions
- Data objects
- Working with SNMP and MIB
- Setting up SNMP agent
- Tcl and Scotty package
- Obtaining Scotty
- The TkIned application
- Using Tcl for SNMP communication
- Querying SNMP in Tcl
- Performing asynchronous queries
- Walking over MIB trees
- Receiving traps
- Sending traps
- SNMP agent
- Additional features
- Summary
- Introduction to SNMP
- 10. Web Programming in Tcl
- Tcl scripts as CGI application
- Using ncgi package
- Using html package
- Introduction to TclHttpd
- Installation
- Retrieving source code from the CVS repository
- Documentation
- First run
- Startup parameters
- Default directory structure
- Configuration
- Performance
- Installation
- Programming TclHttpd server
- Providing static content
- Using CGI in TclHttpd
- Mapping URL to application
- Creating document type handlers
- Using the watermark example
- Creating custom templates
- Learning domain handlers
- Setting up request handlers
- Comparing domain handlers to application direct URLs
- Creating session-based authentication
- Using the TclHttpd template system
- Securing access to resources
- Debugging TclHttpd server
- Embedding TclHttpd in your application
- Summary
- Tcl scripts as CGI application
- 11. TclHttpd in Client-Server Applications
- Creating HTTP-based applications
- Preparing source code structure
- Creating our applications
- Server-side
- Client-side
- Communication and registration
- Server-side
- Client-side
- Storing information
- Server side
- Client side
- Comm interfacespooling jobs
- Testing our applications
- Adding autoupdate to application
- Server-side
- Client-side
- Extending your applications
- Starkits as extensions
- Building modules
- Server side
- Handling modules on client
- Communication with server
- Improving scalability and performance
- Summary
- Creating HTTP-based applications
- 12. SOAP and XML-RPC
- Tcl and standards for remote procedure calls
- Connecting to XML-RPC services
- Defining available methods
- Specifying data types
- Using XML-RPC
- Using SOAP protocol
- Creating Web Services
- Setting up server
- Creating a service
- Specifying data types
- Creating service methods
- Defining data types
- Using simple data types
- Creating complex data types
- Using data types inside service
- Connecting to SOAP based services
- Invoking methods via commands
- Invoking methods API using DoCall commands
- Using complex data types
- Creating Web Services
- Summary
- 13. SSL and Security
- Learning Secure Socket Layer
- Using SSL from Tcl
- Generating self-signed certificates
- Setting up and using public key infrastructure
- Setting up certificates manually
- Creating certificate authority
- Generating and signing keys
- Automating certificates from Tcl
- Setting up certificates manually
- Managing certificates from Tcl
- Server side
- Client side
- Testing our solution
- SSL and performance issues
- Authorization and roles
- Securing your application
- Slave interpreters
- Using slave interpreters
- Sharing information with the slave interpreter
- Creating and managing aliases
- Deleting interpreters
- Imposing limits on interpreters
- Working with safe interpreters
- Hiding and exposing commands
- Default safe interpreter setup
- Using Safe Base
- Safe Base and filesystem access
- Role-based authorization and interpreters
- Creating interpreters using roles
- Sample role definitions
- Using role-based interpreters
- Slave interpreters
- Summary
- Learning Secure Socket Layer
- Index
- Tytuł: Tcl 8.5 Network Programming. Learn Tcl and you‚Äôll never look back when it comes to developing network-aware applications. This book is the perfect way in, taking you from the basics to more advanced topics in easy, logical steps
- Autor: Piotr Beltowski, Wojciech Kocjan, Clif Flynt
- Tytuł oryginału: Tcl 8.5 Network Programming. Learn Tcl and you‚Äôll never look back when it comes to developing network-aware applications. This book is the perfect way in, taking you from the basics to more advanced topics in easy, logical steps.
- ISBN: 9781849510974, 9781849510974
- Data wydania: 2010-07-01
- Format: Ebook
- Identyfikator pozycji: e_3cos
- Wydawca: Packt Publishing