售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Delphi Cookbook Second Edition
Table of Contents
Delphi Cookbook Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why Subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Delphi Basics
Introduction
Changing your application look and feel with VCL styles and no code
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…
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
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…
Creating helpers for your classes
Getting ready
How to do it…
There's more…
3. Knowing Your Friends – the Delphi RTL
Introduction
Check 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 the HTTP verbs
How to verify that HTTP TRACE is disabled
Cope with the encoded Internet world using System.NetEncodings
Getting ready
How it works…
There's more…
Save space using System.Zip
How it works…
There's more…
Decouple your code using a cross-platform publish/subscribe mechanism
Getting ready…
How it works…
There's more…
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…
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…
Displaying a measure on a 2D graph like an oscilloscope
Getting ready
How to do it…
There's more…
Using tasks to make your customer happier
Getting ready
How it works…
There's more…
Monitoring things using futures
Getting ready
How it works…
There's more…
Parallelize using the parallel for
Getting ready
How it works…
There's more…
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 to 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 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 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…
7. 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 long lists 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 lifecycle
Getting ready
How to do it…
There's more…
8. Using Specific Platform Features
Introduction
Using Android SDK Java classes
Getting ready
How to do it…
There's more…
Using iOS Objective C SDK classes
Getting ready
How it works…
There's more…
Displaying PDF files in your app
Getting ready
How it works…
Showing the PDF file on Android
Showing the PDF file on iOS
There's more…
Download the PDF file from the server
Sending Android Intents
Getting ready
How it works…
More complex intent – sending a full flagged e-mail
Starting an activity for result – the speech to text engine
There's more…
Letting your phone talk – using the Android TextToSpeech engine
Getting ready
How it works…
There's more…
Using Java classes in Android apps with Java2OP
Getting ready
How to do it…
There's more…
Doing it in the background, the right way – Android services
Getting ready
How it works…
There's more…
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜