
The Dolphin Smalltalk Companion
A Hands-on Guide to Building Complete Applications
Résumé
Dolphin Smalltalk is a pure object-oriented programming language that enables you to build applications that are fully featured and easy to maintain. If you have no previous programming experience or want to build on your knowledge of Smalltalk, this book is for you. It will show you, step-by-step, how to design and build a complete application in Dolphin Smalltalk.
You will learn:
- How to split an application into components
- How to build these components using object-oriented techniques
- How to apply principles learned in developing different applications
Features:
- A running example throughout the text, using Formula One results tracking and score-keeping to illustrate the framework in which the whole application works
- CD ROM containing Dolphin Smalltalk 4.0, plus source code for all the chapters
Contents
Preface.
1. Introduction.
The Dolphin Smalltalk environment.
The Launcher.
The workspace.
Playground.
2. The application.
How we are going to build the application.
A standard pattern for the components.
3. The first application component: the Team.
Creating our first class.
Summary.
The Team presenter.
Creating a view.
The Team view.
Testing the Team view.
The finishing touch.
The Microsoft look.
Summary.
Some basic maintenance work.
4. The Driver component.
Modifications to the Team class.
The Driver class.
Summary.
The Driver presenter and view.
The Driver view.
Testing the view.
Summary.
The driver's gender.
Presenting 1-of-n variables.
Radio buttons.
List presenters.
Summary.
Some loose ends.
A picture paints a thousand words.
Summary.
The Season model.
The score definition.
Summary.
The name of an object.
The Season presenter and view.
The Season view.
Copy and deepCopy.
Summary.
Multi-column lists.
The multi-column ListView.
Summary.
6. The RaceCar component.
The starting number.
The Team association.
The default driver.
The link with the season.
Summary.
Error handling and the debugger.
The debugger.
Debugger playground.
Another way of writing Smalltalk.
Our own error handling mechanism.
Summary.
The RaceCar presenter and view.
The RaceCarView as subclass of the Shell class.
Building the view for the race cars.
Summary.
7. The Circuit component.
The lap record.
Summary.
The Circuit presenter and view.
The length of the circuit.
Summary.
8. The Race component.
The Race presenter and view.
The main Race view.
Entering the results.
Sorting the starters.
Summary.
9. Bringing the components together.
The race application presenter.
The application framework view.
Summary.
Maintaining items.
Context menus and menu bars.
Enabling and disabling commands.
Toolbars.
Summary.
Integrating the season-dependent components.
Add branches for the Race and RaceCar.
Tidying up the race application components.
Opening a race for the results.
10. The results.
A presenter for the results.
Showing the results in the application shell.
Dynamic resizing of multi-column lists.
Summary.
A graph of the results.
The LineGraph view.
A user-definable graph.
Summary.
11. Saving and importing the race data.
Modifications to the models.
Save data on exit.
Summary.
Importing comma-separated data.
The data import wizard.
Summary.
Importing from the Web.
The Web data import wizard.
Summary.
XML data.
12. Application deployment.
Web deployment.
Summary.
Appendix A. Other Smalltalk resources.
Appendix B. Overview of the main classes.
Appendix C. Additional tools.
Appendix D. Date and Time field formatting.
Appendix E. The CD.
Index.
L'auteur - Ted Bracht
Ted Bracht is a software architect for a company that
builds world-class accounting software for medium to large
companies. He uses Dolphin Smalltalk on a daily basis to
build prototypes and proofs of concept.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | Ted Bracht |
Parution | 05/02/2002 |
Nb. de pages | 320 |
Format | 18,6 x 23,5 |
Couverture | Broché |
Poids | 627g |
Intérieur | Noir et Blanc |
EAN13 | 9780201737936 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse