- Taschenbuch: 376 Seiten
- Verlag: O'Reilly & Associates; Auflage: 01 (Januar 1999)
- Sprache: Englisch
- ISBN-10: 1565923146
- ISBN-13: 978-1565923140
- Größe und/oder Gewicht: 17,8 x 1,9 x 23,3 cm
- Durchschnittliche Kundenbewertung: 13 Kundenrezensionen
- Amazon Bestseller-Rang: Nr. 995.651 in Fremdsprachige Bücher (Siehe Top 100 in Fremdsprachige Bücher)
- Komplettes Inhaltsverzeichnis ansehen
Learning Perl/TK: Graphical User Interfaces with Perl (Englisch) Taschenbuch – Januar 1999
|Neu ab||Gebraucht ab|
Es wird kein Kindle Gerät benötigt. Laden Sie eine der kostenlosen Kindle Apps herunter und beginnen Sie, Kindle-Bücher auf Ihrem Smartphone, Tablet und Computer zu lesen.
Geben Sie Ihre Mobiltelefonnummer ein, um die kostenfreie App zu beziehen.
Wenn Sie dieses Produkt verkaufen, möchten Sie über Seller Support Updates vorschlagen?
By combining the rough-and-ready Perl language with the graphical user interface (GUI) capabilities of the Tk toolkit, Perl/Tk makes it easy to write event-based GUI applications quickly--once you know what you're doing. Learning Perl/Tk shows you how to build GUIs with everyone's favorite public-domain programming language. This book focuses only on GUIs--it leaves in-depth exploration of the Perl language to other books. (Learning Perl is the best of that genre.)
Assuming only a basic familiarity with Perl, Learning Perl/Tk shows you what you need to know to create graphical front ends for Perl programs. Author Nancy Walsh starts with a quick orientation, showing you how to set up Perl/Tk and giving you some simple examples of what GUI source code looks like. Then, she details the use and functions of geometry managers, which the Tk module uses to arrange interface elements. From there, she explores each widget individually, showing how to use buttons, checkbuttons, radiobuttons, labels, entries, and more. She also addresses event handlers. Her discussion of each widget is clear and liberally sprinkled with examples.
One appendix lists the default values of the Tk widgets in tabular form; another spotlights the differences among versions of Perl and Tk for various operating systems. A final appendix explores the font-management capabilities of Tk 8.0. This book doesn't come with a companion disk, and it would be nice to have the examples available locally. However, the publisher maintains a library of related files on its Web site. --David Wall
With Tk, Perl programs can be window-based rather than command-line based, with buttons, entry fields, listboxes, menus, and scrollbars. Originally developed for the Tel language, the Perl port of the Tk toolkit liberates Perl programmers from the world of command-line options, STDIN, and STDOUT, allowing them to build graphical, event-driven applications for both Windows and UNIX. This book is aimed at Perl novices and experts alike. It explains the reasoning behind event driven applications and drills in guidelines on how to best design graphical applications. It teaches how to implement and configure each of the Perl/Tk graphical elements step-by-step. Special attention is given to the geometry managers, which are needed to position each button, menu, label and listbox in the window frame.Alle Produktbeschreibungen
Derzeit tritt ein Problem beim Filtern der Rezensionen auf. Bitte versuchen Sie es später noch einmal.
I produced my first practice Perl/Tk window in less than 1/2 hour from the time I opened "Learning Perl/Tk".
Like most software books, better examples of programming style would help to produce more standardized code. Also while features are discussed, the relative trades offs of differnt approaches are not really explored (e.g. when to use pack, grid or place; when to use a check box verses an option; when a window is busy enough and a new window should be created). In spite of having never done any Tcl, I was able to make my first test screen within 1/2 hour of opening the took.
Though I consider the Camel book (Programming Perl) and the Panther book (Advanced Perl Programming) necessary reference books, I probably actually spend more time wandering through "Learning Perl.Tk" and "Teach yourself PERL 5 in 21 days".
I was already a little familiar with Tcl/Tk, and mostly needed a refresher on what the widgets were, and how to use them within Perl. I have never used the object-oriented style of Perl programming, and this book also made a good introduction to that.
Throughout this book, if you do read it page by page, are many "hidden bits" of information based on the author's experience, which saved me a lot of time versus learning it all the hard way.
GUI design in general is a huge topic, and way out of scope for a book like this. I already had my interface designed on paper, and just needed some help getting it implemented on the screen. This book gave me what I needed to do that.