Delphi CookBook第3版目录

Delphi CookBook第3版目录

Table of Contents

Title Page
Copyright and Credits
Delphi Cookbook Third Edition Packt Upsell
Why subscribe?
PacktPub.com Contributors
About the authors About the reviewer
Packt is searching for authors like you
Dedication Preface
Who this book is for
What this book covers
To get the most out of this book Download the example code files Download the color images
Conventions used Sections
Getting ready
How to do it; How it works; There's more; See also
Get in touch
Reviews

目录
 
标题页
版权和版权
Delphi Cookbook第三版Packt Upsell 
为什么要订阅?
PacktPub.com贡献者
关于作者关于审稿人
Packt正在寻找像您一样的作家献言
前言
本书的读者对象
本书涵盖
的内容最大限度地利用本书下载示例代码文件下载彩色图像
使用的约定章节
准备工作
怎么做; 怎么运行的; 还有更多; 另请参见
取得联系。
评论

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
Delphi基础知识
简介
准备使用VCL样式更改应用程序的外观
操作方法...工作原理...
还有更多... 
准备在运行时更改VCL应用程序的样式
如何做...如何工作... 
还有更多...自定义TDBGrid 
准备
 
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...
准备使用所有者绘制owner-draw组合框和列表框combos and listboxes
使所有者绘制owner-draw控件了解VCL样式
创建一堆嵌入式表单 
操作JSON 
操纵和转换XML文档
21世纪的I/O:流
创建一个Windows Service
使用TService.LogMessage方法
将文件扩展名与Windows上的应用程序关联
与Windows外观保持一致和使用TTaskDialog入门

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
令人惊叹的TFDTable索引indices,聚合aggregations,视图views和SQL
ETL使得FireDAC数据库的批模式TFDBatchMode变得容易
TFDLocalSQL使得数据集成变得容易

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...
2.成为Delphi语言忍者
乐于使用高阶函数higher-order functions的匿名方法anonymous methods 
编写可枚举类型enumerable types
使用可枚举类型enumerable types创建新的语言功能
RTTI在运行时帮助rescue配置您的类
使用RTTI进行鸭子输入Duck typing(动态快速输入)...  
使用RTTI属性(RTTI attributes)进行BOs验证
意外收获Bonus recipe:使用RTTI属性进行(数据)验证 
为您的类classes创建helpers帮助类

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... 
3.认识您的朋友Delphi RTL
使用正则表达式regular expressions检测字符串
使用原生HTTP(s)客户端库的重要的RESTful服务
HTTP的一些注意事项及工作原理
THTTPClient的直接映射(map)HTTP动词(HTTP verbs)的方法
如何验证是否禁用了HTTP TRACE(HTTP跟踪) 
使用System.NetEncodings来应对编码的互联网世界 
使用System.Zip来节省空间的工作原理... 
解耦你的代码:使用跨平台的(cross-platform)发布/订阅(publish/subscribe)机制(mechanism)

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...
4.跨平台的FireMonkey使用简介
用样式styles使标准FireMonkey控件焕然一新
创建样式化styled的TListBox的方法
用动画打动你的客户
用LiveBindings来操作主/细表(master/details)
使用路径paths来显示复杂的(complex)矢量(vector)形状(shapes)
在VCL应用程序中使用FireMonkey
重塑(Reinventing)您的GUI:掌握Firemonkey控件(controls)、形状(shapes)和效果(effects)

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

5.千面万面的多线程
用TMonitor来同步操纵共享的资源(Synchronizing shared resources)
使用线程安全队列(thread-safe queue)来和主线程交互(main thread)
使用TEvent来同步操作(Synchronize)多线程(multiple threads)
意外收获:Delphi Event Bus事件总线、AsyncTask使得异步任务通信变得容易
案例(示波器):在2D图形上显示度量
并行编程库Parallel Programming Library(简称PPL)
在实际编程中使用并行编程库:任务(Tasks)
在实际编程中使用并行编程库:未来(Futures)
在实际编程中的并行编程库:并行For/并行Join (Parallel For/Parallel Join)

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
6.用Delphi做后端服务器开发
用服务器上的WebBroker来开发基于JavaScript技术的Web客户端应用程序 
案例:运行应用程序来检索(Retrieve)人员列表、创建(Create)或更新(update)人员
将控制台应用程序(console application)转换为Windows服务(Windows service)
将数据集(dataset)序列化(Serialize)为JSON然后返回
使用RTTI将对象(objects)序列化(Serialize)为JSON然后返回
发送带编码化参数的HTTP的POST请求
用WebBroker实现(Implement)RESTful接口(interface) 
使用UDP控制远程应用程序(remote application)
使用应用程序绑定(app tethering)来创建应用程序伴侣(companion app)

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 to do it... How it works... There's more... See also 
创建DataSnap Apache模块
使用原生HTTP(s)客户端库准备工作 
使用LoggerPro,像专业人士一样进行日志记录(Logging)

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... There's more...
See also
Creating WebBroker Apache modules for Linux Getting ready
7. Linux开发
简介
创建Linux TCP/IP服务器
如何正确处理Linux信号(signals)
如何构建现代化的Linux守护程序(daemon)
systemd 
构建TCP/IP Linux服务器并对其进行守护(daemon)  
为Linux构建RESTFul服务器
用数据库访问(database access)和Web客户端访问接口(web client interface)构建完整的RESTful服务器
为Linux创建WebBroker Apache模块

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...
8.用FireMonkey驾驭移动革命
拍摄照片、应用效果,并分享它
用TListView来显示和搜索本地数据
使用SQLite数据库处理待办事项列表(handle a to-do list)
不要阻塞主线程!(block the main thread)
使用样式化的TListView处理较长的数据列表
自定义(Customize)TListView
拍摄照片、定位、并将其连续地发送到服务器 
客户端和服务器端 
与后端交互(Talking with the backend)

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...
在您的应用程序中拨打电话 
跟踪(Track)应用程序的生命周期(life cycle)
使用REST API构建自己的SMS短消息发送服务
REST服务器
移动发送应用程序(Mobile sending app)的工作原理 

9.    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...
Downloading the PDF file from the server Sending Android Intents
Getting ready How it works...
More complex intent ; sending a full flagged email Starting an activity for a result; the SpeechToText  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...
9.使用特定平台的功能
使用Android SDK Java类
使用iOS Objective-C SDK类
在您的应用程序中显示PDF文件
在Android上显示PDF文件
在iOS上显示PDF文件 
从服务器下载PDF文件并用Android Intent进行发送 
更复杂的Intent:
    发送已标记的(flagged)完整电子邮件
    启动活动以获取结果
    SpeechToText引擎
使用Android TextToSpeech引擎,让您的电话说话
用Java2OP来使用Android应用程序中的Java类
让应用程序在后台工作(background)的正确操作方式
Android服务

10.    Delphi and IoT
Introduction
Prerequisites
Arduino Raspberry Pi
Arduino versus Raspberry Pi How to blink an LED using Arduino
Getting ready How to do it... How it works... There's more...
See also
How to drive multiple relays with Arduino and Delphi Getting ready
How to do it... How it works... There's more...
See also
Reading data from Arduino Getting ready
How to do it...
How it works...
How to blink an LED using Raspberry Pi Getting ready
How to do it... How it works...
See also
How to drive multiple relays with Raspberry Pi and Delphi Getting ready
How to do it...
How it works...
Reading data from Raspberry PI Getting ready
How to do it...
How it works... Other Books You May Enjoy
Leave a review - let other readers know what you think
10. Delphi和IoT物联网(Internet Of Things) 
简介
前提条件
Arduino Raspberry Pi 
Arduino versus Raspberry Pi
如何使用Arduino来使LED闪烁 
如何使用Arduino驱动多个继电器(drive multiple relays)
从Arduino中读取数据
如何使用Raspberry Pi让LED闪烁
如何使用Raspberry Pi和Delphi驱动多个继电器
从Raspberry PI中读取数据
 

发布了61 篇原创文章 · 获赞 6 · 访问量 5553

猜你喜欢

转载自blog.csdn.net/pulledup/article/details/104452918
今日推荐