Hands-On Design Patterns with Delphi : Build Applications Using Idiomatic, Extensible, and Concurrent Design Patterns in Delphi.
2019
QA76.76.A65 .G337 2019
Formats
| Format | |
|---|---|
| BibTeX | |
| MARCXML | |
| TextMARC | |
| MARC | |
| DublinCore | |
| EndNote | |
| NLM | |
| RefWorks | |
| RIS |
Linked e-resources
Details
Title
Hands-On Design Patterns with Delphi : Build Applications Using Idiomatic, Extensible, and Concurrent Design Patterns in Delphi.
Author
ISBN
1789342430
9781789342437 (electronic bk.)
9781789343243 print
9781789342437 (electronic bk.)
9781789343243 print
Imprint
Birmingham : Packt Publishing Ltd, 2019.
Language
English
Description
1 online resource (462 pages)
Call Number
QA76.76.A65 .G337 2019
System Control No.
(OCoLC)1089528999
Summary
Section 5: Concurrency Patterns; Chapter 8: Locking patterns; Delphi idioms - parallel programming; Lock; Custom locking mechanism; Lock striping; Single bit locks; Delphi idioms - bitwise operators; Double-checked locking; Optimistic locking; Readers-writer lock; Comparing reader-writer implementations; Summary; Chapter 9: Thread pool, Messaging, Future and Pipeline; Thread pool; Idiosyncrasies of Delphi's TThreadPool; Messaging; Windows messages; Queue and Synchronize; Polling; Future; Pipeline; Web spider; Filter stage; Downloader stage; Parser stage; Summary
Delphi is a cross-platform IDE that supports rapid application development. Design Patterns gives a developer an array of use case scenarios to common problems, thus reducing the technical risk. This book will be your guide in building efficient and scalable projects utilizing all the design patterns available in Delphi.
Delphi is a cross-platform IDE that supports rapid application development. Design Patterns gives a developer an array of use case scenarios to common problems, thus reducing the technical risk. This book will be your guide in building efficient and scalable projects utilizing all the design patterns available in Delphi.
Note
Section 6: Miscellaneous Patterns
Bibliography, etc. Note
Includes bibliographical references.
Formatted Contents Note
Cover; Title Page; Copyright and Credits; About Packt; Contributors; Table of Contents; Preface; Section 1: Design Pattern Essentials; Chapter 1: Introduction to patterns; Patterns in programming; Patterns are useful; Delphi idioms
Creating and destroying an object; Gang of Four started it all; Don't inherit
compose!; Pattern taxonomy; Creational patterns; Structural patterns; Behavioral patterns; Concurrency patterns; Criticism; Anti-patterns; Design principles; SOLID; Don't repeat yourself; KISS and YAGNI; Summary; Section 2: Creational Patterns
Chapter 2: Singleton, Dependency Injection, Lazy Initialization, and Object PoolSingleton; NewInstance; Lateral thinking; Dependency injection; From classes to interfaces; Using a factory method; Wrapping up; Lazy initialization; Using Spring; Object pool; Stock quote connection pool; Summary; Chapter 3: Factory Method, Abstract Factory, Prototype, and Builder; Factory method; Painter; Modernizing the factory method pattern; Abstract factory; Prototype; Cloning records; Cloning objects; Delphi idioms
Assign and AssignTo; Serialization; Builder; Idioms
Fluent interfaces; Summary
Section 3: Structural PatternsChapter 4: Composite, Flyweight, Marker Interface, and Bridge; Composite; Child management; Flyweight; String interning; A practical example; Delphi idioms
comparers and hashers; Marker interface; Delphi idioms
attributes; Markers and attributes; Bridge; Bridged painting; Summary; Chapter 5: Adapter, Proxy, Decorator, and Facade; Selecting an appropriate structural pattern; Adapter; Wrapping a class; Wrapping an interface; Implementing a queue with a list; Proxy; Delphi idioms
replacing components in runtime; Smart pointers; Unit testing with mock objects
DecoratorDecorating streams; Delphi idioms
helpers; Facade; Summary; Section 4: Behavioral Patterns; Chapter 6: Nullable Value, Template Method, Command, and State; Null object; Template method; Calculating the average value; Inversion of control; Command; Command-based editor; Creating commands; Commands; Invoker; Client; Macros; Cloning; State; Unquoting a string; Summary; Chapter 7: Iterator, Visitor, Observer, and Memento; Iterator; Delphi idioms
iterating with for.in; Implementing custom enumerators; Using an iterator interface; Visitor; Observer; Observing with Spring; Memento
Creating and destroying an object; Gang of Four started it all; Don't inherit
compose!; Pattern taxonomy; Creational patterns; Structural patterns; Behavioral patterns; Concurrency patterns; Criticism; Anti-patterns; Design principles; SOLID; Don't repeat yourself; KISS and YAGNI; Summary; Section 2: Creational Patterns
Chapter 2: Singleton, Dependency Injection, Lazy Initialization, and Object PoolSingleton; NewInstance; Lateral thinking; Dependency injection; From classes to interfaces; Using a factory method; Wrapping up; Lazy initialization; Using Spring; Object pool; Stock quote connection pool; Summary; Chapter 3: Factory Method, Abstract Factory, Prototype, and Builder; Factory method; Painter; Modernizing the factory method pattern; Abstract factory; Prototype; Cloning records; Cloning objects; Delphi idioms
Assign and AssignTo; Serialization; Builder; Idioms
Fluent interfaces; Summary
Section 3: Structural PatternsChapter 4: Composite, Flyweight, Marker Interface, and Bridge; Composite; Child management; Flyweight; String interning; A practical example; Delphi idioms
comparers and hashers; Marker interface; Delphi idioms
attributes; Markers and attributes; Bridge; Bridged painting; Summary; Chapter 5: Adapter, Proxy, Decorator, and Facade; Selecting an appropriate structural pattern; Adapter; Wrapping a class; Wrapping an interface; Implementing a queue with a list; Proxy; Delphi idioms
replacing components in runtime; Smart pointers; Unit testing with mock objects
DecoratorDecorating streams; Delphi idioms
helpers; Facade; Summary; Section 4: Behavioral Patterns; Chapter 6: Nullable Value, Template Method, Command, and State; Null object; Template method; Calculating the average value; Inversion of control; Command; Command-based editor; Creating commands; Commands; Invoker; Client; Macros; Cloning; State; Unquoting a string; Summary; Chapter 7: Iterator, Visitor, Observer, and Memento; Iterator; Delphi idioms
iterating with for.in; Implementing custom enumerators; Using an iterator interface; Visitor; Observer; Observing with Spring; Memento
Source of Description
Print version record.
Available in Other Form
Print version: Gabrijelčič, Primoz. Hands-On Design Patterns with Delphi : Build Applications Using Idiomatic, Extensible, and Concurrent Design Patterns in Delphi. Birmingham : Packt Publishing Ltd, ©2019
Linked Resources
Record Appears in