Книги по Delphi / Delphi Books

emailx45

Модератор
Hands-On Design Patterns with Delphi
more info Как увидеть ссылки? | How to see hidden links?
Author: Primož Gabrijelčič / February 2019
Design patterns have proven to be the go-to solution for many common programming scenarios. This book focuses on design patterns applied to the Delphi language. The book will provide you with insights into the language and its capabilities of a runtime library.

You'll start by exploring a variety of design patterns and understanding them through real-world examples. This will entail a short explanation of the concept of design patterns and the original set of the 'Gang of Four' patterns, which will help you in structuring your designs efficiently. Next, you'll cover the most important 'anti-patterns' (essentially bad software development practices) to aid you in steering clear of problems during programming. You'll then learn about the eight most important patterns for each creational, structural, and behavioral type. After this, you'll be introduced to the concept of 'concurrency' patterns, which are design patterns specifically related to multithreading and parallel computation. These will enable you to develop and improve an interface between items and harmonize shared memories within threads. Toward the concluding chapters, you'll explore design patterns specific to program design and other categories of patterns that do not fall under the 'design' umbrella.

By the end of this book, you'll be able to address common design problems encountered while developing applications and feel confident while building scalable projects.

What You Will Learn
Gain insights into the concept of design patterns
Study modern programming techniques with Delphi
Keep up to date with the latest additions and program design techniques in Delphi
Get to grips with various modern multithreading approaches
Discover creational, structural, behavioral, and concurrent patterns.


Determine how to break a design problem down into its component parts


Table of Contents
1: INTRODUCTION TO PATTERNS
2: SINGLETON, DEPENDENCY INJECTION, LAZY INITIALIZATION, AND OBJECT POOL
3: FACTORY METHOD, ABSTRACT FACTORY, PROTOTYPE, AND BUILDER
4: COMPOSITE, FLYWEIGHT, MARKER INTERFACE, AND BRIDGE
5: ADAPTER, PROXY, DECORATOR, AND FACADE
6: NULLABLE VALUE, TEMPLATE METHOD, COMMAND, AND STATE
7: ITERATOR, VISITOR, OBSERVER, AND MEMENTO
8: LOCKING PATTERNS
9: THREAD POOL, MESSAGING, FUTURE AND PIPELINE
10: DESIGNING DELPHI PROGRAMS
11: OTHER KINDS OF PATTERNS
Book Details
ISBN 139781789343243
Paperback476 pages
 

Материал может быть удален по просьбе правообладателя
Last edited:

emailx45

Модератор
TEdit accepting only FLOAT values or NOT and some keys from User (NUMBERs, DOT, COMMA, ENTER, BACKSPACE, ESC, etc..)

Here my simple TEDIT sample for this, of course, is possible using a code more xpert like create a class to automatize all process, or same, use new functions/procedure on RAD Studio 10.3.3 Rio.

Code:
 

Материал может быть удален по просьбе правообладателя
Last edited:

scroogeby

Проверенный
Here my simple TEDIT sample for this, of course, is possible using a code more xpert like create a class to automatize all process, or same, use new functions/procedure on RAD Studio 10.3.3 Rio.
This is a bad way:
1. input "-123" and then to the first position "4" - you will get "4-123"
2. you cannot use ctrl+a or ctrl+c
3. and most importantly. from clipboard you can paste any text
 

Материал может быть удален по просьбе правообладателя

emailx45

Модератор
Simply, implement the "CTRL+C" + "CTRL+V" combination and use your Clipboard to this task!
See that I DONT USE RE-UPDATE my EDIT!... my sample is not perfect, only for tests!
Alias, OP is not perfect! for that we have new editions burning each time!

of course, it's possible using a code more xpert like create a class to automatize all
Use your mind, now!
 

Материал может быть удален по просьбе правообладателя
Top