更新时间:2021-08-05 17:55:15
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Delphi Basics
Introduction
Changing your application's look and feel with VCL styles and no code
Changing the style of your VCL application at runtime
Customizing TDBGrid
Using the owner's draw combos and listboxes
Creating a stack of embedded forms
Manipulating JSON
Manipulating and transforming XML documents
I/O in the twenty-first century – knowing streams
Putting your VCL application in the tray
Creating a Windows service
Associating a file extension with your application on Windows
Chapter 2. Become a Delphi Language Ninja
Fun with anonymous methods – using higher-order functions
Writing enumerable types
RTTI to the rescue – configuring your class at runtime
Duck typing using RTTI
Creating helpers for your classes
Checking strings with regular expressions
Chapter 3. Going Cross Platform with FireMonkey
Giving a new appearance to the standard FireMonkey controls using styles
Creating a styled TListBox
Impressing your clients with animations
Using master/details with LiveBindings
Showing complex vector shapes using paths
Using FireMonkey in a VCL application
Chapter 4. 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
Displaying a measure on a 2D graph like an oscilloscope
Chapter 5. Putting Delphi on the Server
Web client JavaScript application with WebBroker on the server
Converting a console service application to a Windows service
Serializing a dataset to JSON and back
Serializing objects to JSON and back using RTTI
Sending a POST HTTP request encoding parameters
Implementing a RESTful interface using WebBroker
Controlling remote applications using UDP
Using App Tethering to create a companion app
Creating DataSnap Apache modules
Chapter 6. Riding the Mobile Revolution with FireMonkey
Taking a photo applying effects and sharing it
Using listview to show and search local data
Do not block the main thread!
Using SQLite databases to handle a to-do list
Using a styled TListView to handle a long list of data
Taking a photo and location and sending it to a server continuously
Talking to the backend
Making a phone call from your app!
Tracking the application's life cycle
Chapter 7. Using Specific Platform Features
Using Android SDK Java classes
Using iOS Objective-C SDK classes
Displaying PDF files in your app
Sending Android intents
Letting your phone talk – using the Android TextToSpeech engine
Index