Book description
50 hands-on recipes to master the power of Delphi for cross-platform and mobile development on Windows, Mac OS X, Android, and iOS
In Detail
With this book, you will gain valuable and practical knowledge of the latest functionalities of Delphi. Starting with the foundations, you will work on your VCL application, customize the TDBGrid, and configure your runtime class using RTTI. Going forward, you will build on this foundation and deploy FireMonkey to go cross-platform or even call FireMonkey from a VCL project, and you will fully understand how you can include Delphi on your server. Finally, you will use App Tethering, call Android and iOS SDK classes, and even use the Android TextToSpeech engine to add sounds to your phone! With this learning resource at your side, you will acquire all that a RAD Studio developer needs to know about Delphi in one complete, informative guide.
What You Will Learn
- Create visually stunning applications using FireMonkey
- Effectively use LiveBindings with the right OOP approach
- Create server-side programs to serve RESTful web services and provide data to your mobile apps
- Develop mobile apps using well-defined GUI design patterns for a great user experience
- Build efficient mobile apps that read data from a remote server
- Call the platform-native API on Android and iOS even for an unpublished API
- Use extended RTTI to better manage the software customization for your customer
- Leverage the most popular design patterns for a better design without wasting too much time debugging
Table of contents
-
Delphi Cookbook
- Table of Contents
- Delphi Cookbook
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
-
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
- 2. Become a Delphi Language Ninja
- 3. Going Cross Platform with FireMonkey
- 4. The Thousand Faces of Multithreading
-
5. Putting Delphi on the Server
- Introduction
- 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
-
6. Riding the Mobile Revolution with FireMonkey
- Introduction
- 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
- 7. Using Specific Platform Features
- Index
Product information
- Title: Delphi Cookbook
- Author(s):
- Release date: September 2014
- Publisher(s): Packt Publishing
- ISBN: 9781783559589
You might also like
book
Delphi Cookbook - Second Edition
Over 60 hands-on recipes to help you master the power of Delphi for cross-platform and mobile …
book
Delphi Cookbook - Third Edition
Quickly learn and employ practical recipes for developing real-world, cross-platform applications using Delphi. Key Features Get …
book
Delphi High Performance
Build fast, scalable, and high performing applications with Delphi Key Features Build efficient and concurrent applications …
book
Mastering Delphi Programming: A Complete Reference Guide
Use structural, behavioral, and concurrent patterns in Delphi to skillfully develop applications Key Features Delve into …