Catálogo de publicaciones - libros
Event-Based Programming: Taking Events to the Limit
Ted Faison
Resumen/Descripción – provisto por la editorial
No disponible.
Palabras clave – provistas por la editorial
Software Engineering/Programming and Operating Systems
Disponibilidad
| Institución detectada | Año de publicación | Navegá | Descargá | Solicitá |
|---|---|---|---|---|
| No detectada | 2006 | SpringerLink |
Información
Tipo de recurso:
libros
ISBN impreso
978-1-59059-643-2
ISBN electrónico
978-1-4302-0156-4
Editor responsable
Springer Nature
País de edición
Reino Unido
Fecha de publicación
2006
Información sobre derechos de publicación
© Apress 2006
Cobertura temática
Tabla de contenidos
Case Study 1: A System Browser
Ted Faison
When testing UI controls, automated unit testing is usually not practical. Why? Because to verify if a UI control is working correctly, you generally have to look at the screen and see if it looks right. Looking at the screen often entails more than just checking that the various fields have the right data. Often there are interactions between the controls, focus issues, or painting artifacts that a human can detect more easily than a mindless unit-testing program. Don’t get me wrong: Automated unit testing with systems like NUnit and JUnit is definitely advisable for code that doesn’t have a user interface.
You can download SystemBrowser’s complete source code from the Source Code area of the Apress Web site (www.apress.com).
Pp. 443-506
Case Study 2: A Pipelined HTTP Service
Ted Faison
With this case study, you’ve seen how to use events and Coordinator teams to implement a multithreaded service component. I also showed you how to use events and Coordinator teams to create the supporting test programs. By developing HttpService as a component with no coupling to other components, HttpService is independently deployable. Moreover, because its worker classes are also completely decoupled from other classes, the workers are relatively simple to test and easy to reuse.
Pp. 507-566
Case Study 3: A Distributed Workflow System
Ted Faison
In this case study, I’ve shown a fairly small distributed system, whose individual components are all very simple. The complexity of the overall system—like most distributed systems—is due mainly to the interactions between the various parts. While class diagrams are useful to describe the design of individual components, wiring diagrams are generally more helpful in depicting the whole system.
Software development is one of those activities that just seems to be inherently complicated, so anything you can do to simplify the job is useful. Using events to avoid coupling between the key parts of a system is often a great way to simplify design, testing, and maintenance. My hope is that you finish reading this book feeling that event-based programming is not just a fad, but also a reasonable way to create software in today’s world of shrinking budgets, timelines, and product shelf lives. Go for it!
Pp. 567-641