Ebook: Design Patterns for e-Science
- Tags: Computational Science and Engineering, Appl.Mathematics/Computational Methods of Engineering, Atoms and Molecules in Strong Fields Plasma Physics, Software Engineering/Programming and Operating Systems
- Series: Texts in Computational Science 4
- Year: 2007
- Publisher: Springer-Verlag Berlin Heidelberg
- Edition: 1
- Language: English
- pdf
This is a book about a code and about coding. The code is a case study which has been used to teachcourses in e-Science atthe Australian NationalUniv- sity since 2001. Students learn advanced programming skills and techniques TM in the Java language. Above all, they learn to apply useful object-oriented design patterns as they progressively refactor and enhance the software. We think our case study,EScope, is as close to real life as you can get! It is a smaller version of a networked, graphical, waveform browser which is used in the control rooms of fusion energy experiments around the world. It is quintessential “e-Science” in the sense of e-Science being “computer science and information technology in the service of science”. It is not, speci?cally, “Grid-enabled”, but we develop it in a way that will facilitate its deployment onto the Grid. The standard version ofEScope interfaces with a specialised database for waveforms, and related data, known asMDSplus. On the acc- panying CD, we have provided you with software which will enable you to installMDSplus,EScope and sample data ?les onto Windows or Linux c- puters. There is much additional software including many versions of the case study as it gets built up and progressively refactored using design patterns. There will be a home web-site for this book which will contain up-to-date information about the software and other aspects of the case study.
This book is for readers with backgrounds in science engineering who have experience in computer programming but who lack a training in software engineering. The treatment is centered around a case study in software development in "e-Science'' using the Java™programming language. A graphical front-end for browsing and visualising scientific waveform data is progressively refactored using important design patterns for object-oriented software. The final product is ready for porting onto the Grid. Object-oriented design patterns are taught in a real-world context which is relevant to computational science.
This book is for readers with backgrounds in science engineering who have experience in computer programming but who lack a training in software engineering. The treatment is centered around a case study in software development in "e-Science'' using the Java™programming language. A graphical front-end for browsing and visualising scientific waveform data is progressively refactored using important design patterns for object-oriented software. The final product is ready for porting onto the Grid. Object-oriented design patterns are taught in a real-world context which is relevant to computational science.
Content:
Front Matter....Pages I-XX
Front Matter....Pages 1-1
e-Science and EScope ....Pages 3-13
A Java Client for MDSplus ....Pages 15-37
Graphical User Interfaces Using Swing....Pages 39-56
Waveform Graphics....Pages 57-72
Interactive Graphics Using Mouse Events....Pages 73-78
Navigating the Database....Pages 79-97
Front Matter....Pages 99-99
Object-Oriented Analysis and Design....Pages 101-112
First Facades....Pages 113-126
Adapter....Pages 127-138
The Template Pattern....Pages 139-145
Decorator....Pages 147-154
Patterns at Work: Multiple Waves....Pages 155-163
Patterns at Work: Multiple Graphs....Pages 165-172
Observer....Pages 173-180
Proxy....Pages 181-183
State....Pages 185-190
Factory Patterns....Pages 191-199
Chain of Responsibility....Pages 201-202
Design Patterns and Threads....Pages 203-217
Postscript....Pages 219-225
Back Matter....Pages 227-388
This book is for readers with backgrounds in science engineering who have experience in computer programming but who lack a training in software engineering. The treatment is centered around a case study in software development in "e-Science'' using the Java™programming language. A graphical front-end for browsing and visualising scientific waveform data is progressively refactored using important design patterns for object-oriented software. The final product is ready for porting onto the Grid. Object-oriented design patterns are taught in a real-world context which is relevant to computational science.
Content:
Front Matter....Pages I-XX
Front Matter....Pages 1-1
e-Science and EScope ....Pages 3-13
A Java Client for MDSplus ....Pages 15-37
Graphical User Interfaces Using Swing....Pages 39-56
Waveform Graphics....Pages 57-72
Interactive Graphics Using Mouse Events....Pages 73-78
Navigating the Database....Pages 79-97
Front Matter....Pages 99-99
Object-Oriented Analysis and Design....Pages 101-112
First Facades....Pages 113-126
Adapter....Pages 127-138
The Template Pattern....Pages 139-145
Decorator....Pages 147-154
Patterns at Work: Multiple Waves....Pages 155-163
Patterns at Work: Multiple Graphs....Pages 165-172
Observer....Pages 173-180
Proxy....Pages 181-183
State....Pages 185-190
Factory Patterns....Pages 191-199
Chain of Responsibility....Pages 201-202
Design Patterns and Threads....Pages 203-217
Postscript....Pages 219-225
Back Matter....Pages 227-388
....