3 options
Delphi cookbook : recipes to help master Delphi for IoT integrations, cross-platform, mobile and server-side development / Daniele Spinetti, Daniele Teti.
- Format:
- Book
- Author/Creator:
- Spinetti, Daniele, author.
- Teti, Daniele, author.
- Language:
- English
- Subjects (All):
- Delphi (Computer file).
- Computer software--Development.
- Computer software.
- Client/server computing.
- Physical Description:
- 1 online resource (659 pages)
- Edition:
- Third edition.
- Place of Publication:
- Birmingham, England : Packt, 2018.
- System Details:
- text file
- Biography/History:
- Spinetti Daniele: Daniele Spinetti is a software architect living in Rome. He is an Embarcadero MVP. Delphi/Object Pascal is his favorite tool/programming language, and he is a lead and active member of several projects in the open source community. In his tutoring activities (conferences and training), he likes to talk about innovative topics in software architectures. He's a huge fan of design patterns and TDD. Teti Daniele: Daniele Teti is a software architect, trainer, and consultant with over 20 years of experience. He drives the development of the most popular Delphi open source project on GitHubDelphiMVCFramework. He's also a huge fan of design patterns, machine learning, and AI. Daniele is the CEO of BIT Time Professionals, an Italian company specializing in high-level consultancy, training, development, and machine learning systems.
- Summary:
- Quickly learn and employ practical recipes for developing real-world, cross-platform applications using Delphi. Key Features Get to grips with Delphi to build and deploy various cross-platform applications Design and deploy real-world apps by implementing a single source codebase Build robust and optimized GUI applications with ease Book Description Delphi is a cross-platform integrated development environment (IDE) that supports rapid application development on different platforms, saving you the pain of wandering amid GUI widget details or having to tackle inter-platform incompatibilities. Delphi Cookbook begins with the basics of Delphi and gets you acquainted with JSON format strings, XSLT transformations, Unicode encodings, and various types of streams. You'll then move on to more advanced topics such as developing higher-order functions and using enumerators and run-time type information (RTTI). As you make your way through the chapters, you'll understand Delphi RTL functions, use FireMonkey in a VCL application, and cover topics such as multithreading, using aparallel programming library and deploying Delphi on a server. You'll take a look at the new feature of WebBroker Apache modules, join the mobile revolution with FireMonkey, and learn to build data-driven mobile user interfaces using the FireDAC database access framework. This book will also show you how to integrate your apps with Internet of Things (IoT). By the end of the book, you will have become proficient in Delphi by exploring its different aspects such as building cross-platforms and mobile applications, designing server-side programs, and integrating these programs with IoT. What you will learn Develop visually stunning applications using FireMonkey Deploy LiveBinding effectively with the right object-oriented programming (OOP) approach Create RESTful web services that run on Linux or Windows Build mobile apps that read data from a remote server efficiently Call platform native API on Android and iOS for an unpublished API Manage software customization by making better use of an extended RTTI Integrate your application with IOT Who this book is for Delphi Cookbook is for intermediate developers with a basic knowledge of Delphi who want to discover and understand all the development possibilities offered by it.
- Contents:
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Dedication
- Table of Contents
- Preface
- Chapter 1: Delphi Basics
- Introduction
- Changing your application's look and feel with VCL styles
- Getting ready
- How to do it...
- How it works...
- There's more...
- Changing the style of your VCL application at runtime
- Customizing TDBGrid
- Using owner-draw combos and listboxes
- Making an owner-draw control aware of the VCL styles
- Creating a stack of embedded forms
- Manipulating JSON
- Manipulating and transforming XML documents
- I/O in the 21st century - knowing the streams
- Creating a Windows Service
- Using the TService.LogMessage method
- Associating a file extension with your application on Windows
- Be coherent with the Windows look and feel using TTaskDialog
- Getting started
- The amazing TFDTable - indices, aggregations, views, and SQL
- ETL made easy - TFDBatchMode
- Data integration made easy - TFDLocalSQL
- There's more.
- See also
- Chapter 2: Becoming a Delphi Language Ninja
- Fun with anonymous methods - using higher-order functions
- Writing enumerable types
- See also
- Using enumerable types to create new language features
- RTTI to the rescue - configuring your class at runtime
- Duck typing using RTTI
- BOs validation using RTTI attributes
- Bonus recipe - Validation using RTTI attributes
- See also...
- Creating helpers for your classes
- Chapter 3: Knowing Your Friends - The Delphi RTL
- Checking strings with regular expressions
- Consuming RESTful services using native HTTP(S) client libraries
- Some HTTP considerations
- THTTPClient's methods which directly map HTTP verbs
- How to verify that HTTP TRACE is disabled
- Coping with the encoded internet world using System.NetEncodings
- Saving space using System.Zip
- Decoupling your code using a cross-platform publish/subscribe mechanism
- Getting ready...
- Chapter 4: Going Cross-Platform with FireMonkey
- Giving a new appearance to the standard FireMonkey controls using styles
- Creating a styled TListBox.
- Getting ready
- Impressing your clients with animations
- Using master/details with LiveBindings
- Showing complex vector shapes using paths
- Using FireMonkey in a VCL application
- Reinventing your GUI, also known as mastering Firemonkey controls, shapes, and effects
- Chapter 5: The Thousand Faces of Multithreading
- Synchronizing shared resources with TMonitor
- Talking with the main thread using a thread-safe queue
- Synchronizing multiple threads using TEvent
- Bonus recipe - AsyncTaskTests
- Communication made easy with Delphi Event Bus
- Displaying a measure on a 2D graph like an oscilloscope
- Using the Parallel Programming Library in the real world: Tasks
- Using the Parallel Programming Library in the real world: Futures
- Using the Parallel Programming Library in the real world: Parallel For/Join
- Chapter 6: Putting Delphi on the Server
- Developing web client JavaScript applications with WebBroker on the server
- Getting ready.
- How it works...
- Retrieving the people list
- Creating or updating a person
- Running the application
- Converting a console application into a Windows service
- Serializing a dataset to JSON and back
- Serializing objects to JSON and back using RTTI
- Sending a POST HTTP request for encoding parameters
- Implementing a RESTful interface using WebBroker
- Controlling the remote application using UDP
- Using app tethering to create a companion app
- Creating DataSnap Apache modules
- Creating WebBroker Apache modules
- Using native HTTP(S) client libraries
- Logging like a pro using LoggerPro
- Chapter 7: Linux Development
- Creating Linux TCP/IP servers
- How to correctly handle Linux signals
- How to build a modern Linux daemon
- systemd
- Building a TCP/IP Linux server and daemonizing it
- How to do it...
- Building a RESTFul server for Linux
- Building a complete RESTful server with database access and web client interface
- Creating WebBroker Apache modules for Linux
- Chapter 8: Riding the Mobile Revolution with FireMonkey
- Taking a photo, applying effects, and sharing it
- Using TListView to show and search local data
- Using SQLite databases to handle a to-do list
- Do not block the main thread!
- Using a styled TListView to handle a long list of data
- Customizing the TListView
- How it works
- Taking a photo and location and sending it to a server continuously
- The client side
- The server side
- Talking with the backend
- Making a phone call from your app
- Tracking the application's life cycle
- Building your own SMS sending service with the REST API
- REST server
- Mobile sending application
- Chapter 9: Using specific platform features
- Introduction.
- Using Android SDK Java classes.
- Notes:
- Includes index.
- Description based on print version record.
- ISBN:
- 9781788623186
- 1788623185
- OCLC:
- 1048785778
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.