Book Image

Delphi Programming Projects

By : William Duarte
Book Image

Delphi Programming Projects

By: William Duarte

Overview of this book

Delphi is a cross-platform programming language and software development kit that supports rapid application development for Microsoft Windows, Apple Mac OS X, Android, and iOS. With the help of seven practical projects, this book will guide you through the best practices, Delphi Run-Time Library (RTL) resources, and design patterns. Whether you use the Visual Component Library (VCL) or FireMonkey (FMX) framework, these design patterns will be implemented in the same way in Delphi, using Object Pascal. In the first few chapters, you will explore advanced features that will help you build rich applications using the same code base for both mobile and desktop projects. In addition to this, you’ll learn how to implement microservice architecture in Delphi. As you get familiar with the various aspects of Delphi, you will no longer need to maintain source code for similar projects, program business rules on screens, or fill your forms with data access components. By the end of this book, you will have gained an understanding of the principles of clean code and become proficient in building robust and scalable applications in Delphi.
Table of Contents (9 chapters)

Creating an application on Facebook

You need to register your project as an application on Facebook before you can access the Facebook API using Delphi. We can do this using the following page: https://developers.facebook.com/apps. The page will look like the following screenshot:

We will create the application on the Facebook platform, which is necessary to perform the integration and log in on the Facebook platform for this project and follow these steps:

  1. Add a new application to Facebook. For this chapter, we will call it DelphiProjectsPackt:

  1. Solve the reCAPTCHA and Submit your information:
  1. Navigate to Select a Scenario | Integrate Facebook Login:
  1. Before saving changes, fill in the two required fields—Privacy Policy URL and Category:
  1. Save the changes.
  2. Click on Finish Quickstart, as shown in the following screenshot:
  1. Select Web in Quickstart options...