Amazon cover image
Image from Amazon.com

Hands-On Design Patterns with Delphi : Build Applications Using Idiomatic, Extensible, and Concurrent Design Patterns in Delphi.

By: Material type: TextTextPublication details: Birmingham : Packt Publishing Ltd, 2019.Description: 1 online resource (462 pages)Content type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 1789342430
  • 9781789342437
Subject(s): Genre/Form: Additional physical formats: Print version:: Hands-On Design Patterns with Delphi : Build Applications Using Idiomatic, Extensible, and Concurrent Design Patterns in Delphi.DDC classification:
  • 005.1 23
LOC classification:
  • QA76.76.A65 .G337 2019
Online resources:
Contents:
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
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; SummarySummary: 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.
Item type:
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Home library Collection Call number Materials specified Status Date due Barcode
Electronic-Books Electronic-Books OPJGU Sonepat- Campus E-Books EBSCO Available

Print version record.

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

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

Section 6: Miscellaneous Patterns

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.

Includes bibliographical references.

eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide

There are no comments on this title.

to post a comment.

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library