Free complete guide to Smalltalk-80, containing everything a user should know to start constructing applications. This provides a detailed explanation of the Smalltalk language, and describes the VisualWorks development environment and its rich library of classes.
Book Description
This is an introduction for students who want to start constructing prototype applications in Smalltalk-80, but who don’t want a detailed guide to the implementation. Requiring no previous exposure to Smalltalk-80 or object-oriented programming in general, the text offers a tutorial approach, with a large number of short chapters, each covering specific points. It mixes the language syntax, the class hierarchy and the user interface to maximize student interest and to stress relationships between them, and uses cross-referencing and indexing so that students can find what they are looking for. The book also provides a large number of illustrations of Smalltalk-80 operation, and contains extensive original exercises of various degrees of complexity at the end of most sections.
Table of Contents
- What is object-oriented programming?
- Introduction to Smalltalk
- Language basics
- Getting going with user interface
- Typing and editing in Workspaces
- Introduction to application development
- The System Transcript
- Inspecting an example class – Point
- Other kinds of Browsers
- Blocks and control structures (1)
- Use of inheritance
- Class variables and protocols
- Abstract superclasses
- Collections (1) – unordered
- Collections (2) – sequenceable
- More on Browsers
- Blocks and control structures (2)
- Streams and files
- Graphics (1) – media
- Graphics (2) – objects
- Logic operations and UndefinedObject
- Run-time error handling
- Debugging an application
- Projects and change management
- Processes and semaphores
- Classes and metaclasses
- The dependency mechanism
- Dialogs – menus, Prompters and Confirmers
- Introduction to models, views and controllers
- The VisualPart class hierarchy and class ScheduledWindow
- Controllers
- An interactive application – dice
- Building a dialog box
- Using a Canvas