Delphi cookbook recipes to help master Delphi for IoT integrations, cross-platform, mobile and server-side development

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 op...

Descripción completa

Detalles Bibliográficos
Otros Autores: Spinetti, Daniele, author (author), Teti, Daniele, author
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham, England : Packt 2018.
Edición:Third edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630732606719
Tabla de Contenidos:
  • 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
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Customizing TDBGrid
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using owner-draw combos and listboxes
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Making an owner-draw control aware of the VCL styles
  • Getting ready
  • How it works...
  • There's more...
  • Creating a stack of embedded forms
  • Getting ready
  • How it works...
  • There's more...
  • Manipulating JSON
  • Getting ready
  • How to do it...
  • There's more...
  • Manipulating and transforming XML documents
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • I/O in the 21st century - knowing the streams
  • Getting ready
  • How it works...
  • There's more...
  • Creating a Windows Service
  • Getting ready
  • How it works...
  • There's more...
  • Using the TService.LogMessage method
  • Associating a file extension with your application on Windows
  • Getting ready
  • How to do it...
  • There's more...
  • Be coherent with the Windows look and feel using TTaskDialog
  • Getting started
  • How it works...
  • There's more...
  • The amazing TFDTable - indices, aggregations, views, and SQL
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • ETL made easy - TFDBatchMode
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Data integration made easy - TFDLocalSQL
  • Getting ready
  • How to do it...
  • How it works...
  • There's more.
  • See also
  • Chapter 2: Becoming a Delphi Language Ninja
  • Introduction
  • Fun with anonymous methods - using higher-order functions
  • Getting ready
  • How to do it...
  • There's more...
  • Writing enumerable types
  • Getting ready
  • How to do it...
  • There's more...
  • See also
  • Using enumerable types to create new language features
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • RTTI to the rescue - configuring your class at runtime
  • Getting ready
  • How to do it...
  • There's more...
  • See also
  • Duck typing using RTTI
  • Getting ready
  • How to do it...
  • There's more...
  • BOs validation using RTTI attributes
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Bonus recipe - Validation using RTTI attributes
  • See also...
  • Creating helpers for your classes
  • Getting ready
  • How to do it...
  • There's more...
  • Chapter 3: Knowing Your Friends - The Delphi RTL
  • Introduction
  • Checking strings with regular expressions
  • Getting ready
  • How to do it...
  • There's more...
  • Consuming RESTful services using native HTTP(S) client libraries
  • Getting ready
  • Some HTTP considerations
  • How it works...
  • There's more...
  • 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
  • Getting ready
  • How it works...
  • There's more...
  • Saving space using System.Zip
  • How it works...
  • There's more...
  • Decoupling your code using a cross-platform publish/subscribe mechanism
  • Getting ready...
  • How it works...
  • There's more...
  • Chapter 4: Going Cross-Platform with FireMonkey
  • Introduction
  • Giving a new appearance to the standard FireMonkey controls using styles
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Creating a styled TListBox.
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Impressing your clients with animations
  • How to do it...
  • How it works...
  • See also
  • Using master/details with LiveBindings
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Showing complex vector shapes using paths
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using FireMonkey in a VCL application
  • How to do it...
  • How it works...
  • There's more...
  • Reinventing your GUI, also known as mastering Firemonkey controls, shapes, and effects
  • Getting ready
  • How it works...
  • There's more...
  • Chapter 5: The Thousand Faces of Multithreading
  • Introduction
  • Synchronizing shared resources with TMonitor
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Talking with the main thread using a thread-safe queue
  • Getting ready
  • How to do it...
  • There's more...
  • Synchronizing multiple threads using TEvent
  • Getting ready
  • How to do it...
  • There's more...
  • Bonus recipe - AsyncTaskTests
  • Communication made easy with Delphi Event Bus
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Displaying a measure on a 2D graph like an oscilloscope
  • Getting ready
  • How to do it...
  • There's more...
  • Using the Parallel Programming Library in the real world: Tasks
  • Getting ready
  • How it works...
  • There's more...
  • Using the Parallel Programming Library in the real world: Futures
  • Getting ready
  • How it works...
  • There's more...
  • Using the Parallel Programming Library in the real world: Parallel For/Join
  • Getting ready
  • How it works...
  • There's more...
  • Chapter 6: Putting Delphi on the Server
  • Introduction
  • 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
  • There's more...
  • Converting a console application into a Windows service
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Serializing a dataset to JSON and back
  • Getting ready
  • How it works...
  • There's more...
  • Serializing objects to JSON and back using RTTI
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Sending a POST HTTP request for encoding parameters
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Implementing a RESTful interface using WebBroker
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Controlling the remote application using UDP
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using app tethering to create a companion app
  • Getting ready
  • How it works...
  • There's more...
  • Creating DataSnap Apache modules
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Creating WebBroker Apache modules
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using native HTTP(S) client libraries
  • Getting ready
  • How it works...
  • There's more...
  • Logging like a pro using LoggerPro
  • Getting ready
  • How it works...
  • There's more...
  • See also
  • Chapter 7: Linux Development
  • Introduction
  • Creating Linux TCP/IP servers
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • How to correctly handle Linux signals
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • How to build a modern Linux daemon
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • systemd
  • See also
  • Building a TCP/IP Linux server and daemonizing it
  • Getting ready.
  • How to do it...
  • How it works...
  • There's more...
  • Building a RESTFul server for Linux
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Building a complete RESTful server with database access and web client interface
  • Getting ready
  • How to do it...
  • How it works...
  • See also
  • Creating WebBroker Apache modules for Linux
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • See also
  • Chapter 8: Riding the Mobile Revolution with FireMonkey
  • Introduction
  • Taking a photo, applying effects, and sharing it
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using TListView to show and search local data
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using SQLite databases to handle a to-do list
  • Getting ready
  • How to do it...
  • There's more...
  • Do not block the main thread!
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Using a styled TListView to handle a long list of data
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Customizing the TListView
  • Getting ready
  • How it works
  • There's more...
  • Taking a photo and location and sending it to a server continuously
  • Getting ready
  • How to do it...
  • The client side
  • The server side
  • There's more...
  • Talking with the backend
  • Getting ready
  • How to do it...
  • There's more...
  • Making a phone call from your app
  • Getting ready
  • How to do it...
  • How it works...
  • There's more...
  • Tracking the application's life cycle
  • Getting ready
  • How to do it...
  • There's more...
  • Building your own SMS sending service with the REST API
  • Getting ready
  • REST server
  • Mobile sending application
  • How it works...
  • There's more...
  • Chapter 9: Using specific platform features
  • Introduction.
  • Using Android SDK Java classes.