Book Image

Delphi GUI Programming with FireMonkey

By : Andrea Magni
4 (1)
Book Image

Delphi GUI Programming with FireMonkey

4 (1)
By: Andrea Magni

Overview of this book

FireMonkey (FMX) is a cross-platform application framework that allows developers to create exciting user interfaces and deliver applications on multiple operating systems (OS). This book will help you learn visual programming with Delphi and FMX. Starting with an overview of the FMX framework, including a general discussion of the underlying philosophy and approach, you’ll then move on to the fundamentals and architectural details of FMX. You’ll also cover a significant comparison between Delphi and the Visual Component Library (VCL). Next, you’ll focus on the main FMX components, data access/data binding, and style concepts, in addition to understanding how to deliver visually responsive UIs. To address modern application development, the book takes you through topics such as animations and effects, and provides you with a general introduction to parallel programming, specifically targeting UI-related aspects, including application responsiveness. Later, you’ll explore the most important cross-platform services in the FMX framework, which are essential for delivering your application on multiple platforms while retaining the single codebase approach. Finally, you’ll learn about FMX’s built-in 3D functionalities. By the end of this book, you’ll be familiar with the FMX framework and be able to build effective cross-platform apps.
Table of Contents (18 chapters)
1
Section 1: Delphi GUI Programming Frameworks
4
Section 2: The FMX Framework in Depth
13
Section 3: Pushing to The Top: Advanced Topics
Preface

FireMonkey (FMX) is a cross-platform application framework that allows developers to create exciting user interfaces (UIs) and deliver applications on multiple operating systems. This book will help you learn visual programming with Delphi and FMX.

This book has been written with a classical approach. Topics are introduced by first examining the context that they belong to, and then adding some practical examples to showcase the features or capabilities under discussion. Examples are kept simple yet significant (and full code is provided with the book). We are going to cover essential components and advanced concepts, both of which will be clearly explained and used as building blocks for developing real-world applications.

In order to acquire the ability to deliver modern applications with a graphical user interface (GUI) on multiple platforms with a single code base, you will learn about FMX's UI-related features and capabilities, together with many useful techniques. Taking advantage of them all will make your applications stand up in terms of user experience (UX).

We are going to start with an overview of the FMX framework, including a general discussion of the underlying philosophy and approach. We'll then move on to the fundamental components and the deeper architectural details of FMX. Then we'll compare FMX and Visual Component Library (VCL).

We are going to address how to achieve visual responsiveness through alignment strategies, layout components, and built-in FMX technology (to deal with multi-resolution images, for example). Also, you'll learn how to enrich the UX with the help of transitions and visual animations. You'll get to grips with data access, visual data binding, and techniques to implement responsiveness effectively on desktop and mobile platforms. An entire chapter of the book is dedicated to the TFrameStand and TFormStand components, which are useful for properly modularizing your applications in terms of UI elements, promoting the reuse of UI views, and improving the UX through visual continuity.

The book covers the main FMX components (both simple and complex ones), but it also covers style-related concepts and explains how they are used to deliver consistent UIs while targeting different platforms. To address one of the most relevant issues in modern application development, the book provides you with a general introduction to parallel programming, specifically targeting UI-related aspects thereof, in order to achieve application responsiveness.

Later, we'll explore the most important cross-platform services in the FMX framework, which are the crux of delivering your application on multiple platforms while retaining the single code base approach. Finally, you'll learn about FMX's built-in 3D functionalities.

By the end of this book, you'll be familiar with the FMX framework and be able to build effective cross-platform visual applications.