Limit search to available items
Book Cover
E-book
Author Starr, Leon, author.

Title Models to code : with no mysterious gaps / Leon Starr, Andrew Mangogna, Stephen Mellor
Published [United States] : Apress, 2017
New York, NY : Distributed to the Book trade worldwide by Springer
©2017

Copies

Description 1 online resource : illustrations
Series For professionals by professionals
Books for professionals by professionals
Contents At a Glance; Contents; About the Authors; Acknowledgments; Foreword; Chapter 1: The Modeling Landscape; Prerequisites; No Magic; Elaboration: The Easy Path to Failure; Elaboration-Gradual Failure; Elaboration-Abrupt Failure; Model Destruction; The Value of a Good Model; A Better Way Forward: Translation; Executable Models; Platform-Independent Models; Deriving Code from Models; xUML: Same Notation, Different Attitude; The x in xUML; Translation; Our Target Technology; Our Translation Environment; Platform Specificity; Transparency; Availability; A Final Word About UML and Standards
What's Next?Chapter 2: A Simple Executable Model; An Air Traffic Controller Application; Step 1: The Class Model; Interpretation; Step 2: State Models; Interpretation; Step 3: Actions; Time and Other Details; Discussion; Executing the Model; Standard Action Languages; Summary; Chapter 3: Making Translation Decisions; Reviewing the Target Platform; Working with the Class Model; Data Types; Classes and Attributes; Associations; Generalizations; Initial Instance Population; Describing the State Models; States; Events, Transitions, and Responses; Executing State Machines; Translating Processing
Coding from ModelsTranslating a Model; Summary; Chapter 4: Translating the Air Traffic Control Model; Overview of Pycca Syntax; Organization of a Pycca File; Translating the Class Model; Data Types; Class Definitions; Duty Station; Air Traffic Controller; On Duty Controller; Initial Instance Population; Translating State Models; Duty Station State Model; Air Traffic Controller State Model; Translating Actions; Air Traffic Controller State Activities; Summary; Chapter 5: Model Execution Domain; Role of the Model Execution Domain; Overview of ST/MX; The ST/MX View of a Class Instance
Managing ExecutionEvent Control Block; Signaling an Event; Catching the Event-in-Flight Error; Delayed Signals; Event Dispatch; Tracing Execution; Running in a POSIX Environment; Handling Errors; Summary; Chapter 6: An Extended Example; The Automated Lubrication System; ALS Domains; Lubrication Domain; Lubrication Class Model; Injector Designs; A Single Injection; Controlling Lubrication Cycles; Lubrication Schedule; Autocycle Session; Example Population; State Models; Injector State Model; Autocycle Session State Model; Reservoir State Model; Class Collaboration
Class Method and Other ActivitiesState Tables; Translating the Lubrication Domain; Translating Association Classes; Navigating Associative Relationships; Creation Events; Asynchronous Instance Deletion; Operations; Class Methods; Domain Operations; External Operations; Class-Based Operations; Summary; Chapter 7: Sensor and Actuator Service Domain; Domain Overview; Converting Electrical Signals; Modeling Signal Conversion; Implementing the Assigner; Tracing Execution; Limitations; Value Thresholds; Initial Instance Population; Summary; Chapter 8: Integrating the Application and Service Domains
Summary Learn how to translate an executable model of your application into running code. This is not a book about theory, good intentions or possible future developments. You'll benefit from translation technology and solid software engineering principles that are demonstrated with concrete examples using an open source tool chain. Models don't deliver enough value if they are not on a direct path to code production. But to waste time building models that are merely pictures of your code doesn't add much value either. In this book, you'll translate detailed, yet platform-independent models that solve real application problems. Using a pragmatic approach, Models to Code quickly dives into two case studies of Executable UML models. The models and code are extensively annotated and illustrate key principles that are emphasized throughout the book. You'll work with code production using "C" as the implementation language and targeting microcomputer class processors. This might not be your particular target language or platform, but you can use you can use what you learn here to engineer or re-evaluate your own code translation system to dramatically increase the value of both your modeling and code generation solution. Written by three leading experts, Models to Code is an exceptional resource for producing software by model translation-- add it to your library today
Bibliography Includes bibliographical references and index
Notes Online resource; title from PDF title page (EBSCO, viewed June 21, 2017)
Subject Computer programming.
Application software.
UML (Computer science)
computer programming.
Information technology: general issues.
Artificial intelligence.
Computer programming / software development.
COMPUTERS -- Programming -- Algorithms.
Application software
Computer programming
UML (Computer science)
Form Electronic book
Author Mangogna, Andrew, author
Mellor, Stephen, author.
LC no. 2017944371
ISBN 9781484222171
1484222172