Smith | Advanced ActionScript 3 | E-Book | sack.de
E-Book

E-Book, Englisch, 395 Seiten, eBook

Smith Advanced ActionScript 3

Design Patterns
2. Auflage 2014
ISBN: 978-1-4842-0671-3
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark

Design Patterns

E-Book, Englisch, 395 Seiten, eBook

ISBN: 978-1-4842-0671-3
Verlag: APRESS
Format: PDF
Kopierschutz: 1 - PDF Watermark



Advanced ActionScript 3 is a fresh look and new approach to utilizing valuable, structural techniques and methods that are commonly used in the field of rich interactive application development. With each method broken down into different strategized explanations, you'll find the approach most suitable for you. Whether it is an example you can utilize as-is, or one you can start with and develop further, you will have a glossary of definitions and organizational concepts at your fingertips. Object-oriented programming (OOP) and design patterns are not new to the field, but can often be overlooked in their value. They are, at times, not only overwhelming to learn, but difficult to put into practice. However, they are useful because they create a structure that can be broken down, rebuilt, and reused.This edition has been fully updated to reflect modern coding standards and practices.Provides the building blocks required for the implementationof OOPAddresses problems and concerns regarding OOPOffers solutions on how to approach and utilize OOP
Smith Advanced ActionScript 3 jetzt bestellen!

Zielgruppe


Popular/general


Autoren/Hrsg.


Weitere Infos & Material


1;Contents at a Glance;3
2;Contents;384
3;About the Author;393
4;About the Technical Reviewers;394
5;Acknowledgments;395
6;Introduction;4
7;Chapter 1: Object-Oriented Programming;5
7.1;Encapsulation;8
7.2;Polymorphism;10
7.3;Inheritance;10
7.4;Data Hiding;14
7.5;ActionScript as an Object-Oriented Language;16
7.6;Defining an External Definition;16
7.7;Parts of a Class;18
7.7.1;The Constructor;22
7.8;Custom Namespaces;22
7.8.1;Declaring the Namespace Identifier;22
7.8.2;Applying a Custom Namespace;23
7.8.3;Opening a Namespace within a Class;23
7.9;Constructing an Interface;24
7.10;Change;24
7.11;General Terms and Definitions;25
7.12;Summary;26
7.13;Key Points;26
8;Chapter 2: ActionScript 3: The Facts Behind the Basics;28
8.1;ActionScript 3;28
8.2;The Traits Object;28
8.3;Garbage Collection;29
8.3.1;Memory Management;29
8.3.2;Mark and Sweep;33
8.3.3;Implementing a Disposable Pattern;34
8.4;Manually Declared Stage instances;37
8.5;Application Domain;38
8.5.1;The LoaderContext;39
8.5.2;The Class Object;40
8.5.2.1;getDefinition(?);40
8.5.2.2;getDefinitionByName(?);41
8.6;Strong Typing;42
8.6.1;Runtime Type Checking;42
8.6.2;Compile-Time Type Checking;42
8.6.3;Restricting a Dynamic Language;42
8.7;Casting;43
8.8;Configuration Constants;44
8.9;ActionScript Editors;45
8.10;Summary;46
8.11;Key Points;47
9;Chapter 3: Decision-Making and Planning;48
9.1;Object-Oriented Analysis (OOA);48
9.2;Case Study;48
9.2.1;The Kick-Off;49
9.2.2;Turning Off the Volume;50
9.2.3;Use Case Scenario;50
9.2.4;Requirements from the Features;51
9.2.5;Flow Chart;52
9.2.6;Performance;54
9.2.7;Layering;54
9.2.8;Analysis Continued;54
9.2.9;The Breakup;56
9.2.9.1;Product Gallery;56
9.2.9.2;Performance;58
9.2.9.3;Scenic Gallery;58
9.2.9.4;Footer;60
9.2.10;Wrapping Up the Analysis;61
9.3;Object Oriented Design (OOD);63
9.4;Summary;63
9.5;Key Points;64
10;Chapter 4: Intro to Design Patterns;65
10.1;Design Patterns Catalog;65
10.1.1;Selecting Patterns;66
10.1.2;Pattern Identification;66
10.2;Reading a Design Pattern;66
10.2.1;UML;67
10.2.2;The Class Diagram;67
10.2.2.1;Classes;67
10.2.2.2;Relationships;68
10.2.2.2.1;Association;68
10.2.2.2.2;Aggregation;69
10.2.2.2.3;Composition;69
10.2.2.2.4;Generalization;70
10.2.2.3;Interfaces;70
10.3;Chapter Summary;70
10.4;Key Points;71
10.5;Upcoming Chapters;71
11;Chapter 5: Q&A;72
11.1;Quiz 1;72
11.2;Answers to Quiz 1;82
11.3;Quiz 2;93
11.4;Answers to Quiz 2;100
12;Chapter 6: Creational Patterns;110
12.1;That Which Must Not Be Named;110
12.2;The Simple Factory;111
12.2.1;A Comprehensive Look;112
12.2.2;Example;112
12.2.3;FAQ;115
12.3;The Factory Method Pattern;115
12.3.1;A Comprehensive Look;116
12.3.2;Vignette;117
12.3.3;The AS3 Cast;117
12.3.4;When It’s Useful;118
12.3.5;Example;118
12.3.6;FAQ;123
12.3.7;Related Patterns;123
12.4;The Abstract Factory Pattern;124
12.4.1;A Comprehensive Look;125
12.4.2;Vignette;125
12.4.3;The AS3 Cast;126
12.4.4;When It’s Useful;126
12.4.5;Example;126
12.4.6;FAQ;133
12.4.7;Related Patterns;133
12.5;The Builder Pattern;133
12.5.1;A Comprehensive Look;134
12.5.2;Vignette;135
12.5.3;The AS3 Cast;135
12.5.4;When It’s Useful;136
12.5.5;Example;136
12.5.6;FAQ;147
12.5.7;Related Patterns;148
12.6;The Simple Singleton Pattern;149
12.6.1;A Comprehensive Look;149
12.6.2;Vignette;150
12.6.3;The AS3 Cast;150
12.6.4;Example;151
12.7;The Singleton Pattern;156
12.7.1;A Comprehensive Look;157
12.7.2;Vignette;157
12.7.3;The AS3 Cast;158
12.7.4;When It’s Useful;158
12.7.5;Example;158
12.7.6;FAQ;164
12.7.7;Related Patterns;164
12.8;Summary;165
12.9;Key Points;165
13;Chapter 7: Behavioral Patterns;166
13.1;The Strategy Pattern;166
13.1.1;A Comprehensive Look;167
13.1.2;Vignette;167
13.1.3;The AS3 Cast;168
13.1.4;When It’s Useful;168
13.1.5;Example;168
13.1.6;Related Patterns;175
13.2;The Template Method Pattern;175
13.2.1;A Comprehensive Look;176
13.2.2;Vignette;176
13.2.3;The AS3 Cast;176
13.2.4;When It’s Useful;176
13.2.5;Example;177
13.2.6;FAQ;183
13.2.7;Related Patterns;183
13.3;The Command Pattern;183
13.3.1;A Comprehensive Look;184
13.3.2;Vignette;185
13.3.3;The AS3 Cast;185
13.3.4;When It’s Useful;186
13.3.5;Example;186
13.3.6;FAQ;192
13.3.7;Related Patterns;192
13.4;The Chain of Responsibility Pattern;193
13.4.1;A Comprehensive Look;194
13.4.2;Vignette;194
13.4.3;The AS3 Cast;194
13.4.4;When It’s Useful;195
13.4.5;Example;195
13.4.6;FAQ;200
13.4.7;Related Patterns;200
13.5;The Iterator Pattern;201
13.5.1;A Comprehensive Look;201
13.5.2;Vignette;203
13.5.3;The AS3 Cast;203
13.5.4;When It’s Useful;203
13.5.5;Example;203
13.5.6;FAQ;210
13.5.7;Related Patterns;211
13.6;The State Pattern;211
13.6.1;A Comprehensive Look;212
13.6.2;Vignette;213
13.6.3;The AS3 Cast;213
13.6.4;When It’s Useful;213
13.6.5;Example;213
13.6.6;FAQ;219
13.6.7;Related Patterns;219
13.7;The Memento Pattern;219
13.7.1;A Comprehensive Look;220
13.7.2;Vignette;220
13.7.3;The AS3 Cast;220
13.7.4;When It’s Useful;221
13.7.5;Example;221
13.7.6;FAQ;225
13.7.7;Related Patterns;225
13.8;The Observer Pattern;225
13.8.1;A Comprehensive Look;226
13.8.2;Vignette;227
13.8.3;The AS3 Cast;227
13.8.4;When It’s Useful;228
13.8.5;Example;228
13.8.6;FAQ;232
13.8.7;Related Patterns;232
13.9;Summary;232
13.10;Key Points;233
14;Chapter 8: Structural Patterns;234
14.1;The Decorator Pattern;234
14.1.1;Technical Overview;234
14.1.1.1;Parts;235
14.1.1.2;Benefits;235
14.1.1.3;Drawbacks;235
14.1.2;A Comprehensive Look;236
14.1.3;Vignette;236
14.1.4;The AS3 Cast;236
14.1.5;When It’s Useful;237
14.1.6;Demonstration;237
14.1.7;FAQ;243
14.1.8;Related Patterns;244
14.2;The Adapter;244
14.2.1;Technical Overview;244
14.2.1.1;Parts;245
14.2.1.2;Benefits;245
14.2.1.3;Drawbacks;245
14.2.2;A Comprehensive Look;245
14.2.3;Vignette;245
14.2.4;The AS3 Cast;246
14.2.5;When It’s Useful;246
14.2.6;Demonstration;246
14.2.7;FAQ;253
14.2.8;Related Patterns;253
14.3;The Composite;253
14.3.1;Technical Overview;253
14.3.1.1;Parts;254
14.3.1.2;Benefits;254
14.3.1.3;Drawbacks;254
14.3.2;A Comprehensive Look;254
14.3.3;Vignette;255
14.3.4;The AS3 Cast;255
14.3.5;When It’s Useful;256
14.3.6;Demonstration;256
14.3.7;Related Patterns;265
14.4;Facade;265
14.4.1;Technical Overview;265
14.4.1.1;Parts;265
14.4.1.2;Benefits;266
14.4.1.3;Drawbacks:;266
14.4.2;A Comprehensive Look;266
14.4.3;Vignette;266
14.4.4;The AS3 Cast;267
14.4.5;When It’s Useful;267
14.4.6;Demonstration;267
14.4.7;FAQ;270
14.4.8;Related Patterns;270
14.5;Chapter Summary;270
14.6;Key Points;270
15;Chapter 9: Q&A;271
15.1;Design Pattern Quiz;271
15.2;Answers to Design Patterns Quiz;298
16;Chapter 10: MVC: A Compound Pattern;342
16.1;The MVC: Model View Controller;344
16.1.1;Technical Overview;344
16.1.1.1;Parts;344
16.1.1.2;Benefits;344
16.1.1.3;Drawbacks;344
16.1.1.4;A Comprehensive Look;345
16.1.1.4.1;The AS3 Cast;345
16.1.1.4.2;When It’s Useful;346
16.1.1.4.3;Demonstration;346
16.1.1.4.4;FAQ;355
16.1.2;The Model;346
16.1.3;The View;349
16.1.4;The Controller;352
17;Chapter 11: Object-Oriented Design… A Revisit;356
17.1;Recap;356
17.2;Initially Identified Objects;356
17.3;Candidate Classes;358
17.4;Elimination Phase;361
17.5;Collaborations;361
17.6;Diagramming;366
17.7;The Creative Direction;369
17.8;Implementation;369
17.9;Chapter Summary;370
18;Chapter 12: Getting Real;371
18.1;Object-Oriented Obstacles: O 3;371
18.1.1;Always a Student;371
18.1.2;Business is Business;371
18.1.3;Varied Priorities;372
18.2;Object-Oriented Solutions;372
18.2.1;Software;372
18.2.2;Dedication;375
18.2.3;User Groups;375
19;Index;376


Ben Smith is an accomplished Technical Experience Director with many years of experience leading Web Development for well-known digital agencies. His list of contributions to the community has earned him a place as an Adobe Community Professional. As an Author, Speaker, and Judge for theFWA it should be apparent he is passionate about the web. He attributes his growth to experimentation and experience.



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.