Book Image

Expert Delphi - Second Edition

By : Marco Cantù, Paweł Głowacki
Book Image

Expert Delphi - Second Edition

By: Marco Cantù, Paweł Głowacki

Overview of this book

Master Delphi, the most powerful Object Pascal IDE and versatile component library for cross-platform native app development, by harnessing its capabilities for building natively compiled, blazingly fast apps for all major platforms, including Android, iOS, Windows, Mac, and Linux. Expert Delphi begins with a quick overview of Delphi, helping you get acquainted with the IDE and the Object Pascal language. The book then quickly progresses to more advanced concepts, followed by the architecture of applications and the FireMonkey library, guiding you through building server-side services, parallel programming, and database access. Toward the end, you’ll learn how to integrate your app with various web services and deploy them effectively. By the end of this book, you’ll be adept at building powerful, cross-platform, native apps for iOS, Android, Windows, and macOS—all from a single code base.
Table of Contents (21 chapters)
Free Chapter
1
Part 1: Building Blocks
6
Part 2: Going Mobile
12
Part 3: From Data to Services
19
Index

App tethering

App tethering is a unique feature of Delphi that can be used to set up communication between different types of applications, such as mobile or desktop, running on any of the supported platforms using FireMonkey. It can also be used in the Windows-specific VCL library. The original use case for app tethering was to be able to extend existing desktop apps to mobile and easily create mobile companion apps. Instead of trying to re-implement existing desktop apps on mobile, the idea was to be able to either control a desktop app from a mobile app or to be able to easily exchange data between the two.

For example, we could have an existing desktop application written in Delphi that help doctors keep track of patients’ data and possibly control some medical instruments. There is nothing wrong with this desktop application; it has stood the test of time and is very useful. However, mobile has brought new possibilities. It would be cool to use a mobile device with a...