Professional Documents
Culture Documents
Full Chapter Expert Delphi Robust and Fast Cross Platform Application Development 2Nd Edition Marco Cantu PDF
Full Chapter Expert Delphi Robust and Fast Cross Platform Application Development 2Nd Edition Marco Cantu PDF
cross-platform application
development, 2nd Edition Marco Cantù
Visit to download the full and correct content document:
https://textbookfull.com/product/expert-delphi-robust-and-fast-cross-platform-applicati
on-development-2nd-edition-marco-cantu/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...
https://textbookfull.com/product/c-7-and-net-core-modern-cross-
platform-development-2nd-edition-mark-j-price/
https://textbookfull.com/product/ultimate-flutter-for-cross-
platform-app-development-1st-edition-temidayo-adefioye/
https://textbookfull.com/product/biota-grow-2c-gather-2c-cook-
loucas/
Mobile app development with Ionic cross platform apps
with Ionic Angular and Cordova Griffith
https://textbookfull.com/product/mobile-app-development-with-
ionic-cross-platform-apps-with-ionic-angular-and-cordova-
griffith/
https://textbookfull.com/product/c-12-and-net-8-modern-cross-
platform-development-fundamentals-eighth-edition-mark-j-price/
https://textbookfull.com/product/libgdx-cross-platform-game-
development-cookbook-1st-edition-marquez-david-saltares-sanchez-
alberto-cejas/
https://textbookfull.com/product/mobile-development-with-net-
build-cross-platform-mobile-applications-with-xamarin-
forms-5-and-asp-net-core-5-2nd-edition-can-bilgin/
https://textbookfull.com/product/godot-4-game-development-
projects-build-five-cross-platform-2d-and-3d-games-using-one-of-
the-most-powerful-open-source-game-engines-2nd-edition/
本书版权归Packt Publishing所有
Expert Delphi
Marco Cantù
Paweł Głowacki
Expert Delphi
Copyright © 2024 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted
in any form or by any means, without the prior written permission of the publisher, except in the case
of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information
presented. However, the information contained in this book is sold without warranty, either express
or implied. Neither the authors, nor Packt Publishing or its dealers and distributors, will be held liable
for any damages caused or alleged to have been caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and
products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot
guarantee the accuracy of this information.
ISBN 978-1-80512-110-7
www.packtpub.com
When I joined Embarcadero, Paweł greeted me saying “It is great that you are now on board,
and we are both working for the same company and making Delphi better!”
Working on a new edition of his work has been great. Therefore, this book is dedicated to the late
Paweł Głowacki, a friend and one of the most passionate Delphi evangelists, and to the fond memories
of the time spent together.
– Marco Cantù
Foreword
In mid-December 2017, the sad news of Paweł Głowacki’s passing broke in the Delphi developer
community. I had the pleasure of working closely alongside Paweł for over 6 years until mid-2017,
covering 10 major Delphi product launches with him.
Behind each product launch, there were new demos to create, events to attend, and new webinars
to organize and attend to help share details about the new features available to Delphi developers.
Between all these activities, Paweł’s enthusiasm for programming shined brightly, a light that shone
so brightly that it was dearly missed when it left us all too soon. The outpouring of love from around
the world showed how well he, and his content, was loved and the magnitude of his global stardom
within the Delphi community.
I remember the time when I started working at Embarcadero and Paweł was in the UK office ahead
of an event. I met him in the lead-up to the launch of XE2; I noticed that he had a really thick book
about shader languages that he was reading intensely… He joked about how it was really interesting,
but, how it could also double up as a pillow! (He’d had an early flight in). But this summed up his
approach. He always wanted to bring great content, founded in a deep technical understanding of
developers, and delivered it with a smile and in a fun way.
This is something that Expert Delphi brings to you. Many of the chapters lean heavily on Paweł’s
years of making content understandable yet fun to learn. Chapter 2 starts off with one of his favorite
Developer Direct webinar sessions that we ran for multiple series called Mind Your Language.
This second edition has been lovingly revised by Marco Cantù, to bring its content up to date with the
latest developments in Delphi. With Paweł’s voice still shining through, you will learn how easy it is
with Delphi to develop across the stack. Expert Delphi covers everything from front-end application
development for mobile and desktop to 3D development, to embedding database access and building
and using backend multi-tier architectures touching on both SOAP and REST with RAD Server.
As David I commented in the original edition’s foreword, “In Expert Delphi, Paweł encapsulates
the knowledge gained through years as a world-class Delphi engineer, an entertaining presenter, a
community leader, and a passionate advocate. With his words, step-by-step instructions, screenshots,
source code snippets, examples, and links to additional sources of information, you will learn how to
continuously enhance your skills and apps.”
And, as Paweł and I used to say at the end of our developer sessions… Thanks for joining us today
and Happy Coding everyone!
Stephen Ball
Presales Director, Embarcadero
@DelphiABall
Contributors
Paweł Głowacki was Embarcadero’s European Technical Lead for Developer Tools. Previously, Paweł
spent over 7 years working as a senior consultant and trainer for Delphi within Borland Education
Services and CodeGear. Apart from working with Embarcadero customers across the region, he
represented Embarcadero internationally as a conference and seminar speaker. Paweł passed away in
mid-December 2017, but he is alive in the hearts of the Delphi developers community, worldwide.
3
Packing Up Your Toolbox 67
Technical requirements 67 Reading JSON 80
Working with files and streams 67 Using the JSON wizard in Delphi 12 84
4
Using the Parallel Programming Library 91
Technical requirements 91 Exploring the Parallel Programming
Using threads 92 Library 98
Access synchronization 96 Parallel loops 99
Using tasks 100
Calling Synchronize 96
The beauty of futures 102
Atomic operations 96
Using a critical section 97 Summary 103
Using TMonitor 97
6
FireMonkey in 3D 145
Technical requirements 145 The Moving Earth app 155
Cross-platform 3D rendering 145 Building an interactive 3D scene 160
Using 3D models 166
Direct use of Context3D 146
A starfield simulation 168
Using a cube component 149
A custom wireframe component 150 Mixing 3D and 2D 171
Ready-to-use 3D objects 154 Summary 174
7
Building User Interfaces with Style 175
Working with built-in styles 176 Customizing styles 186
Adding more controls 179 Using frames 189
Adding the dials 180
Working with inherited views 194
Using custom styles 181 Previewing forms on devices 198
Embedding styles as resources 184 Summary 201
8
Working with Mobile Operating Systems 203
James Bond’s toy 204 Camera, action! 224
What am I running on? 204 Notify me! 226
The life of an app 208 Navigating the web 227
Sensing the world 211 Delphi language bridges 229
Using the location 212 Vibrating on Android 230
Using the orientation and motion sensors 216 Vibrations on iOS 231
9
Desktop Apps and Mobile Bridges 235
Technical requirements 236 Grid panel layout 248
Single source for mobile and desktop 236 Building desktop apps for Windows,
Using the MultiView control 236 macOS, and Linux 250
Using data grids 240 Creating apps for macOS 252
Leveraging layout controls 242 What about targeting Linux? 254
11
Integrating with Web Services 299
Technical requirements 299 The Delphi Cloud API 312
Understanding Web Services 300 Moving the ToDo List app to Azure 312
Building a native HTTP client 301 Using the AWS SDK for Delphi 318
Consuming XML SOAP Web Services304 Summary 322
Integrating with REST services 307
Integrating with the cloud 311
Table of Contents xiii
12
Building Mobile Backends 323
Technical requirements 323 Creating a new ToDo item 333
Delphi and multi-tier architectures 323 Reading the data and other operations 334
A client for the REST API 335
Working at a low level with
WebBroker 325 Do-it-yourself with DataSnap 339
Generating a standalone project 326 Building the DataSnap server 340
The Standalone WebBroker server 327 Implementing the DataSnap server
Adding Apache support 330 functionality 341
Adding a client application 331 Building a DataSnap client 342
Building the web module 332
Summary 347
13
Easy REST API Publishing with RAD Server 349
Technical requirements 349 The ToDo list in RAD Server 358
RAD Server setup 350 Creating a client app for RAD Server 362
Building RAD Server resources 354 Summary 366
14
App Deployment 367
Technical requirements 367 Monetizing with ads and in-app
Deploying to app stores 367 purchases 378
Apps artwork 369 Automate the development process 379
Apps orientation 371 App versioning 379
Publishing on the Apple iOS App Store 371 Practical version control 380
Publishing your Android apps to the Google Sleeping well with unit testing 381
Play Store 374
Summary 382
xiv Table of Contents
15
The Road Ahead 383
Review of what we have learned 383 The AI revolution 386
Trends in mobile development 384 Ideas for new and innovative apps for
A single screen is not your limit 385 you to build 386
Serverless backends and NoSQL databases 385 Summary 387
Index 389
This is where the advantage of a tool like Delphi becomes significant: You can write a single application,
and the same source code written with a single programming language and using a single set of user
interface controls will work on both iOS and Android. Not only does it work but it also works great,
leveraging the platform features and adapting to the different UI requirements.
Not only that, Delphi also offers you the ability to build the backend for your mobile apps, offering
REST-based access to your own services from your mobile app.
With Delphi, you can become a mobile developer superhero and develop unmatched productivity
powers to build complete mobile apps using just one tool, one framework, and one programming
language to create mobile apps for both iOS and Android and desktop applications for Mac and
Windows. At the same time, you can also build scalable REST API backends that will power your
mobile apps on all platforms.
Chapter 4, Using the Parallel Programming Library, focuses on multi-threading, parallel programming,
and threads synchronization.
Chapter 5, Playing with FireMonkey, introduces the FireMoney UI library, covering its foundations
while guiding you in the development of an actual app.
Chapter 6, FireMonkey in 3D, goes over the development of 3D apps in FireMonkey, showing multiple
different techniques.
Chapter 7, Building User Interfaces with Style, delves into the styles architecture, which is the core
architectural element of FireMonkey.
Chapter 8, Working with Mobile Operating System, focuses the attention on the device sensors, cameras,
and integrated web browsers.
Chapter 9, Desktop Apps and Mobile Bridges, touches on desktop development with UI controls
more interesting for desktop than mobile, and how desktop and mobile apps can work together via
a technology called tethering.
Chapter 10, Embedding Databases, introduces database development, the FireDAC data access library,
and live bindings.
Chapter 11, Integrating with Web Services, how to call external web services via HTTP, REST clients,
SOAP clients, or Cloud access libraries.
Chapter 12, Building Mobile Back-ends, starts looking into the development of server libraries you can
use as the backend of your mobile apps, covering WebBroker and DataSnap.
Chapter 13, Easy REST API Publishing with RAD Server, is fully focused on the RAd Server technology
available in the high-end versions of Delphi.
Chapter 14, App Deployment, covers the deployment of apps to the mobile stores, Apple’s App Store
and Google’s Play Store.
Chapter 15, The Road Ahead, is a short conclusion suggesting things you can do after you’ve finished
reading the book.
Software/hardware covered in
Operating system requirements
the book
The IDE runs on Windows or on a Windows VM hosted
in a different operating system. You need a license of
Embarcadero Delphi IDE Delphi, although most of the content and demos will
work using the Community Edition, which is available
for free (with some limitations)
Requires only an Android phone or tablet, possibly with
Android development
a recent version of the operating system
Requires a Mac and a (paid) Apple developer account
iOS development
to deploy to your device and an actual iPhone or iPad.
DataSnap and RAD Server Frameworks Available only in the high-end, paid versions of Delphi
Require paid developer accounts on Apple or Google
App Store Deployment
online stores
If you are using the digital version of this book, we advise you to type the code yourself or access
the code from the book’s GitHub repository (a link is available in the next section). Doing so will
help you avoid any potential errors related to the copying and pasting of code.
Conventions used
There are a number of text conventions used throughout this book.
Code in text: Indicates code words in text, database table names, folder names, filenames, file
extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “This will
add a form inherited from TForm3D.”
Preface xix
const
DEFAULT_OPACITY = 1;
POS_X = 150;
POS_Y = 150;
SUN_RADIUS = 50;
RAY_COUNT = 12;
RAY_LENGTH = 100;
When we wish to draw your attention to a particular part of a code block, the relevant lines or items
are set in bold:
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words
in menus or dialog boxes appear in bold. Here is an example: “Now select the grid, right-click on it,
or see the commands at the bottom of the Object Inspector and open its Items Editor.”
Get in touch
Feedback from our readers is always welcome.
General feedback: If you have questions about any aspect of this book, email us at customercare@
packtpub.com and mention the book title in the subject of your message.
Errata: Although we have taken every care to ensure the accuracy of our content, mistakes do happen.
If you have found a mistake in this book, we would be grateful if you would report this to us. Please
visit www.packtpub.com/support/errata and fill in the form.
Piracy: If you come across any illegal copies of our works in any form on the internet, we would
be grateful if you would provide us with the location address or website name. Please contact us at
copyright@packt.com with a link to the material.
If you are interested in becoming an author: If there is a topic that you have expertise in and you
are interested in either writing or contributing to a book, please visit authors.packtpub.com.
https://packt.link/free-ebook/9781805121107
You’ve just installed Delphi and have its main window in front of you, how do you start building
the next successful mobile app? We will get to it but before we get deeper into the main topic of this
book, it’s important to focus on some of the foundations and building blocks of Delphi development.
In particular, we are going to take you on a tour of the IDE, explore Delphi’s Object Pascal programming
language, and look into some core elements of the RunTime Library (RTL) focusing on ways to
manage files using different formats and on multi-threading.
We’ll do this by building a small and focused example. Something that will help you get started on
the main goal of the book to help you become an expert Delphi mobile developer.
This part has the following chapters:
• Delphi installation
• Riding the IDE
• Deploying to mobile devices
Delphi installation
Delphi is a Windows program, so you need to have a computer with a proper version of Windows
installed and enough free space on your hard drive. You may want to install Delphi on a physical
computer or a Windows virtual machine image using one of the available virtualization solutions,
such as VMWare. In this case, you can also use a Mac computer with a Windows virtual machine.
Installing it on a virtual machine has some advantages in cross-platform development. To create
iOS apps, you will need to have access to a Mac computer anyway. This could be another computer
available on the local network or the same physical machine configured with a virtual machine to
run the IDE. Whether you choose to install Delphi on a physical or virtual Windows machine, the
installation process is the same.
4 Fasten Your Seat Belts
Delphi versions
Delphi comes in different versions, so before downloading the installer, we need to decide which
version to choose. There are four Delphi versions: Community Edition (CE), Professional, Enterprise,
and Architect:
• CE is a free version of Delphi with very few technical limitations compared to the Professional
edition, but a license valid only for hobbyists, startups, and other scenarios in which the
developer or company revenues do not exceed 5,000 US dollars a year. Refer to the product’s
End User License Agreement (EULA, available online) for more details on the CE license
limitation and to make sure you are using it legally. The version of the CE edition generally
lags several months behind the paid product versions, but it offers a great way to get started
with Delphi, and it’s free.
• The next version is Professional. It contains all the features required for mobile development
as it can target Windows, macOS, Android, and iOS. The Professional edition is a viable choice
if you plan to build Delphi applications with no need for advanced database access, multitier
support, and some of the other advanced features available in the Enterprise edition.
• The third version is Enterprise. This is the full version of Delphi and contains everything that
is in Professional, plus support for building Linux server applications, access to all databases,
DataSnap and RAD Server multitier solutions, and some more additional features. This is the
version of Delphi that we are going to use in this book, although most of the examples and
features we’ll cover are also available in the Professional edition.
• The highest Delphi version is Architect. This is a product bundle that contains Delphi “Enterprise”
and separately installed tools from Embarcadero sister companies, such as Aqua Data Studio
from Idera and Ext JS from Sencha. We are not going to cover any of those additional tools
in this book.
Delphi is available as a standalone product, but it can also be used as part of RAD Studio. RAD Studio
contains Delphi and C++Builder. Delphi and C++Builder are two different IDE personalities of
RAD Studio; both can be installed from the same RAD Studio installer into one deeply integrated
environment. Both products, Delphi and C++Builder, share the same component libraries but differ
in the programming language being used. Delphi uses Object Pascal, while C++Builder uses standard
C++. As this book’s title implies, here, we are focusing on Delphi.
Delphi installation 5
In this book, we are going to use Delphi 12.0 Enterprise edition. Delphi is produced by Embarcadero,
and you can find more information about different Delphi versions and features on the Embarcadero
Delphi home page: http://www.embarcadero.com/products/delphi.
You can get Delphi directly through the Embarcadero website, including a 30-day trial and the CE
version of Delphi (at the time of writing, this is version 11.3). After purchasing Delphi, you will receive
an automatically generated email with the download link to the Delphi installer and the serial number
needed during the installation.
The list that’s displayed depends on your license, which might include both Delphi and C++ languages
(as in the preceding screenshot) or only Delphi. I recommend going for the full installation, selecting
all platforms and all additional features, except for languages other than English. At the end of the
installation, you will see the message that the installation is complete, and you can start working.
If you run into problems during the installation, you can review Delphi Installation Notes on
Embarcadero DocWiki at https://docwiki.embarcadero.com/RADStudio/en/
Installation_Notes.
Another random document with
no related content on Scribd:
Virtue, I thought thee a substance, Oh, vi. 176.
Virtue is not their habit, etc., iii. 21.
Virtue may chuse the high or low degree, etc., v. 76; vi. 440.
visions, as poetic eyes avow, And, etc., i. 112; v. 9; vi. 82; vii. 121.
vision splendid, And by the, etc., iv. 345; xii. 236, 242.
visions, swift, sweet, and quaint, And there lay, x. 266.
vital signs that it will live, iv. 364; vi. 421.
Vive la Charte! xii. 456.
Vix ea nostra voco, xii. 73.
Voice-music, v. 323.
voice of nature cries, Still from the tomb the, etc., vi. 327.
void made in the Drama, to see a, viii. 476.
volcano burnt out, a, ix. 60.
volumes that enrich the shops, the, etc., xii. 177.
volume paramount, No single, ix. 152 n.
Vous aimez la botanique, vi. 319.
vows made in haste, etc., xii. 201.
vows made in pain, etc., xii. 126.
vox et præterea nihil, xii. 313.
vox faucibus hæsit, vii. 202; ix. 375.
W.
waft a thought from Indus to the Pole, That, iv. 189.
walked gowned, v. 335; vii. 42.
walking under, And still, etc., ix. 10, 63.
wandering mazes I found no end, in their, etc., vii. 223.
wandering through dry places, etc., xi. 213.
wandering voice, v. 103.
want of decency is want of sense, viii. 242.
want of store and store of want, v. 323.
wanton poets, v. 250.
War is a game which were their subjects wise, etc., xi. 249.
war was a thing that was quite going out of fashion, i. 50.
Wars he well remembered of King Nine, v. 38; vi. 323.
wars he well remembers, The, iii. 116.
wars of old Assaracus, the, etc., vii. 254.
warbled his love-lorn ditties all night long, viii. 240.
warm hearts of flesh, etc., i. 13, 135.
See real.
warn and scare be wanting, to, etc., vi. 156.
Was this the face that launch’d a thousand ships, etc., v. 205.
wasteful and superfluous excess, xii. 60.
waste her sweetness on a blackguard air, xi. 374.
water blushed into wine, The, viii. 53.
water parted from the sea, viii. 321, 451.
watery Aquarius, of, iv. 305 n.
way lies right: hark, the clock strikes at Enfield, The, etc., v. 294.
we behold the fulness of the spirit of wit and humour bodily, i. 278.
we convent nought else but woes, v. 258.
We had good talk, sir, vii. 33.
We have been soldiers and we cannot weep, etc., v. 257.
We have offended, oh! my countrymen! etc., iii. 242.
We’ll tak a cup of kindness yet, etc., v. 131.
We may kill those of whom we are jealous, etc., ii. 391.
we might spill our blood, that, etc., iii. 62.
We miss our servants, Ithocles and Orgilus, etc., v. 270.
We perceive a continual succession of ideas, etc., xi. 109.
We poets in our youth begin in gladness, etc., v. 116.
We will dance: music; we will dance, etc., v. 272.
We would be private, only Faunus stay, etc., v. 226.
weary, stale and unprofitable, vi. 52.
web of our lives, The, etc., xii. 229.
weeds and worn-out faces, the list of, etc., viii. 393.
Weep’st thou already? List awhile to me, v. 211.
well assured, I am, etc., v. 328.
Well done, thou good and faithful servant, etc., xi. 321.
Well done, water, ix. 25.
Well, enjoy one another; I give her thee frankly, Apelles, etc., v.
202.
Well, let us to Endymion, etc., v. 199.
well of native English undefiled, vi. 245.
welling out of the heart, v. 28.
went up into the mountain to pray, And, etc., xii. 261.
Whan that Arcite to Thebes comen was, etc., v. 29.
What a thing! Bless the king, viii. 469.
What are thy arts (good patriot, teach them me), etc., v. 264.
What avails from iron chains, etc., xii. 124.
What can be more extraordinary, than that a person of mean birth,
etc., vi. 110; viii. 61.
What can ennoble sots, or knaves, or cowards, etc., vii. 363; xi.
436.
What can we reason, but from what we know? iv. 113; vii. 51, 249.
What death is’t you desire for Almachildes? etc., v. 220.
what delicate wooden spoons shall I carve? etc., viii. 109; x. 29.
What do I see? Blush, grey-eyed morn and spread Thy purple
shroud upon the mountain tops, etc., v. 291.
What, do none rise? No, no, for kings indeed are Deities, etc., v.
208.
What found most employment, etc., i. 157 n.
What from this barren being do we reap, xi. 425.
What I have written, I have written, iv. 340; vi. 57.
What idle progeny succeed, etc., vii. 74.
What is great Mephostophilis, so passionate, etc., v. 205.
What is the human understanding? etc., xi. 133.
What is this world? etc., ii. 300.
What lacks it then, ix. 25.
What! man, ne’er pull your hat upon your brows, vi. 39.
What, Monsieur D’Olive, the only admirer, etc., v. 231.
What more felicity can fall to creature, vii. 181; xii. 2, 200.
What Muse for Granville will refuse to sing, vi. 367.
What said my man, when my betossed soul, viii. 210.
What’s serious he turns to farce, xi. 479.
What shall it profit a man, etc., xii. 300.
What song the Syrens sang, etc., v. 335.
What speed could be the herald of this news, etc., xi. 284.
What, then, went ye forth for to see, iv. 202; ix. 556.
What things have we not seen done at the Mermaid, vi. 192.
What though the radiance, which was once so bright, i. 119; vi. 23;
ix. 195; xii. 236.
What trash are their works, taken altogether, viii. 416.
What was my pride is now my shame, etc., viii. 192, 320.
what was new and what was true, it contained a great deal both of,
vi. 146.
Whate’er Lorraine light touch’d with soft’ning hue, etc., vi. 13; ix.
425.
Whatever attracts public attention to the Arts, etc., i. 148.
whatever is, is right, vi. 314.
wheels, put a spoke in the, xii. 291.
When a Tartarean darkness overspreads, etc., iii. 281.
When Adam delved and Eve span, etc., v. 164.
When chapman billies leave the street, etc., v. 132.
When Greek meets Greek, etc., vii. 34.
when he next does ride abroad, And, etc., xi. 305.
when he was young, studying his art, etc., vi. 130 n.
When I read the researches of those learned antiquaries, etc., v.
124.
When I was in my father’s house, etc., vii. 222.
When one is considering a picture or a drawing, etc., vi. 19.
When sharp is the frost, etc., ii. 195.
when she spake, Sweet words like dropping honey, And, etc., viii.
364; ix. 207.
When the date of Nock was out, etc., xi. 374.
When the sky falls, iii. 297.
When we become men, we put away, etc., vii. 256.
When wind and rain beat dark November down, viii. 471.
Whence alone my hope cometh, ii. 326.
Where did you rest last night, viii. 263, 310.
Where is the madman, etc., iii. 240, 285.
Where Murray, long enough his country’s pride, etc., v. 77.
Where one for sense and one for rhyme, iv. 278.
Where pure Niemi’s fairy banks arise, etc., v. 342.
Where pure Niemi’s fairy mountains rise, etc., v. 89.
Where slaves no more their native land behold, iii. 20.
Where the treasure is, etc., viii. 132; xi. 509.
Whereas, in the succession of thoughts, etc., xi. 287.
Whether it is the human figure, etc., vi. 136.
Which after in enjoyment quenching, iv. 145.
Which as me thought was right a pleasing sight, etc., v. 27.
Which Copland scarce had spoke, but quickly every hill, etc., xi.
284.
Which I was born to introduce, Refined it first, and shew’d its use,
v. 279.
Which when Honoria view’d, etc., xii. 323.
While by the power Of harmony, etc., vii. 290.
While groves of Eden vanish’d now so long, etc., ix. 349.
While I beheld things with astonishment, etc., i. 54.
While with an eye made quiet, xii. 238.
while yet the year is unconfirmed, v. 96; xii. 270.
whiles some one did chaunt this lovely lay, the, etc., v. 36.
whist players, that set of, vii. 131.
whiteness of her hand, the, viii. 97.
Who did essay to laugh, etc., viii. 27.
Who enters here forgets himself, etc., vi. 89.
Who enters there must leave all hope behind, etc., vii. 194.
Who far from steeples and their sacred sound, iii. 276.
Who had been beguiled, etc., ii. 347.
who have eyes, but they see not, etc., v. 79.
who have none to help them, iv. 2.
who is our neighbour? iv. 204; v. 184.
Who prized black eyes, and a lucky hit At bowls, above all the
trophies of wit, v. 189; vii. 207 n.
who rode upon a rouncie, etc., v. 24.
who still slept while he baus’d leaves, etc., v. 225.
who were by nature slaves, xi. 302.
who would not grieve if such a man there be, iv. 252.
whoever comes to shroud me, do not harm, etc., viii. 52.
whole history exactly followed, and many of the principal speeches,
etc., i. 218.
whole loosened soul, ix. 151.
whole need not a physician, The, i. 58; xii. 174.
wholly in his subject, v. 340 n.
whom the king had deigned to salute, viii. 443.
whom the world was not worthy, of, vii. 136.
whose boast it was to give out reformation to the world, ix. 246.
whose coming seems a light, etc., iv. 358.
whose genius had angelic wings, and fed on manna, xi. 514.
Whose is the superscription? vii. 29.
Whose jewels in his crisped hair, etc., viii. 71.
Whose noise whets valour sharp, like beer, etc., viii. 63.
whose parish was wide, etc., v. 24.
whose studie was but litel of the Bible, v. 24.
Whosoever shall stumble against this stone, etc., iii. 260.
Why, dance ye, mortals, etc., xii. 57.
Why did I write? What sin to me unknown, etc., v. 78.
Why dost thou shiver and shake? Gaffar Gray, etc., ii. 138.
Why do you let that fair girl? etc., x. 273.
Why, good father, why are you so late, etc., v. 292.
Why, Hodge, was there none at home thy dinner for to set? v. 287.
Why how now, saucy jade, viii. 255.
Why is’t not strange to see a rugged clerke, etc., v. 190.
Why make that little fellow a captain, i. 97.
Why proffer’st thou light me for to sell? etc., i. 227; vii. 255.
Why rack a grub—a butterfly upon a wheel? iv. 305 n.
Why rail they then if but one wreath of mine, etc., v. 77; xii. 31.
Why shulde I not as well eke tell you all the purtreiture, etc., v. 30.
Why troublest thou us before our time? x. 376.
wicked cease from troubling, In which the, iv. 104.
widow in his line of life, he has a, viii. 98.
widow’s curse that hangs upon it, Some, viii. 290.
wielded at will the fierce democracy, etc., vii. 264.
Wild strains, iv. 305.
wild wit, invention ever new, vi. 308; viii. 74.
wilderness, of one crying in the, etc., xii. 261.
wilful man must have his way, A, iv. 264.
will be of sure sale, etc., i. 142.
will, could not be disarmed, as if his, etc., vi. 40.
will never from my heart, ii. 297.
will of a virtuoso, The, etc., vi. 119 n.
wind and water, he hit the stage between, iv. 227; vii. 271; xi. 409.
wind into a subject like a serpent, as Burke does, Does he, vii. 275;
viii. 103.
windy fan of painted plumes, xi. 479.
wine of attic taste, with, xii. 146.
wine of life is drank up, xii. 152.
winged words, xii. 293.
winged wound, ii. 311.
winglet of the fairy humming-bird, Or, etc., iv. 353.
wink and shut their apprehensions up, iv. 251; vi. 76; xi. 480; xii.
315.
wisdom in a multitude of counsellors, iii. 2.
wisdom is justified of her children, vii. 163.
wisdom of parliament, the tried, iii. 164.
wise above what is written, x. 325; xii. 343.
wise passiveness, in a, i. 46 n.; xii. 47.
wiser in his generation, etc., iii. 42.
wisest amongst us is a fool in some things, the, etc., vii. 238 n.
wisest and most accomplished man is like the statues of the gods,
the, etc., ii. 408.
wisest, meanest of mankind, The, vii. 99; xi. 538.
wisest thing a man can do with an aching heart, the, viii. 82.
wish is father, The, etc., xii. 39.
Wishing to be like one more rich in hope, etc., xii. 199.
Wit at the helm, etc., xii. 178.
See Youth.
witch the world with noble horsemanship, x. 28.
witchery of the soft blue sky, the, vi. 92; vii. 373; viii. 411.
with all his heart, and soul, etc., vii. 305.
with cheerful and confident thought, iii. 126.
with conditions, x. 372, 373.
with him a wit is the first title to respect, viii. 77.
with limbs of giant mould, v. 8.
with silver streams, v. 323.
with what a waving air she goes along the corridor, etc., ii. 331; vi.
96.
With what measure they mete, it has been meted to them again, v.
53.
Within his bosom reigns another lord, etc., x. 396; xi. 327.
within these arms thou art safe, etc., viii. 265.
without benefit of clergy, viii. 53.
without form and void, i. 112; v. 341 n.; xi. 81, 128, 176.
without limitations or restrictions, x. 363.
without o’erflowing, full, i. 222; xi. 473.
without suffering loss and diminution, iv. 371.
wit’s a feather and a chief’s a rod, A, etc., xi. 342 n.
Wittenberg, Would I had never seen, etc., vii. 224.
Woe unto you when all men shall speak well of you, iv. 331.
wolds and sholds, xi. 375.
Woman, behold thy son, v. 184.
Woman is like the fair flower in its lustre, i. 65; v. 107; viii. 194.
woman that deliberates is lost, the, iii. 193.
woman who follows her husband to a prison, The, etc., viii. 280.
Women and wine are the sustainers, etc., iii. 226.
Wonder, And near him sat ecstatic, etc., xi. 409.
wonderful works of nature, Oh the, xi. 556.
wondering senates, Though, etc., vii. 168; xii. 388.
Wooden spoons shall I carve, Oh, what delicate, etc., viii. 109; x.
29.
wooden walls of old England, xii. 404.
woods as green, Here be, etc., v. 254; vi. 183.
woods, to the waves, to the winds, To the, etc., xi. 358.
word is a good word, being whereby a man, the, etc., i. 391.
word which the slave utters, It is the, etc., viii. 309.
words of Mercury are harsh, The, etc., vii. 16.
words of truth and soberness, the, etc., iv. 264.
Wordsworth! That dunce, vii. 104.
work, he challenged essoin, From every, etc., vi. 111.
works, ye shall know them, By their, etc., ix. 207.
workers in brass or in stone, etc., x. 124.
world and its dread laugh, the, xii. 304.
world, both pure and good, a, xii. 129.
world enough, Had we but, etc., xii. 48.
world forgetting, by the world forgot, The, vii. 114.
world is too much with us, early and late, The, i. 6.
world rings with the vain stir, the, xii. 312.
world’s encumbrance they did themselves assoil, From all this, i.
82.
world’s volume, i’ the, Our Britain seems as of it, ix. 84.
worldly goods them endow, with its, etc., viii. 393.
worn them as a rich jewel, etc., ix. 106.
worshipped a statue, hunted the wind, etc., vi. 97, 236; xii. 435.
worshippers of cats and onions, xi. 197.
worst inn’s worst room, In the, etc., iv. 350.
worst of every evil is the fear, The, xii. 128.
worst, the second fall of man, the, vi. 152 n.; xi. 382.
Worth makes the man, etc., xii. 251.
worthless as in shew, vi. 248.
worthless importunity in rags, iv. 8.
worthy of all acceptation, vii. 229; viii. 107.
Would he had blotted a thousand, v. 85.
Would to God that I had remained, etc., vi. 93.
wound up for the day, vii. 210.
wounded snake dragged their slow length, like a, etc., x. 298.
wretches hang that Ministers may dine, If, iv. 326.
wretched have no country, The, viii. 307.
wreck of matter and the crush of worlds, The, xi. 512.
write a fable of little fishes, If he were to, etc., viii. 102.
write by stealth, Or, etc., xii. 44.
writes himself armigero, xii. 221.
writer of third-rate books, a, i. 403.
wrought himself to stone, vii. 89.
Y.
Yarrow unvisited, v. 146; vi. 256.
Yea in this now, while malice frets her hour, etc., iii. 113.
yellow tufted banks and gliding sail, With, ix. 36.
yellow forest-leaves, When on the, etc., xii. 436.
Yes—’twas a cause as noble and as great, etc., iii. 318.
Yes, yes; but they got a supersedeas, etc., v. 228.
Yestreen, when to the trembling string, etc., v. 140.
Yet, for he was a scholar once admired, etc., v. 206.
Yet not more sweet, etc., i. 110; v. 40.
Yet on that wall hangs he too, etc., viii. 54.
Yet should the Graces all thy figures place, etc., vii. 93.
Yon cottager, who weaves at her own door, etc., v. 94.
You are an honest man, v. 279.
You left us no choice between the highest point of glory, etc., iii. 11.
You sing your song with so much art, vii. 64.
You will find nothing in the world so amiable as Nature and me, v.
119.
you would make them talk like great whales, i. 421.
You’ll forgive me, etc., v. 237.
young Nobleman with a glove, A, etc., vi. 15.
Your hand I’ll kiss, etc., v. 243.
Your name, Sir? Politick. My name is Politick, viii. 43.
your very nice people, iv. 44 n.
Youth at its prow, etc., iv. 221.
youth has some parts, some ideas, the, ii. 131.
Youth that opens like perpetual spring, v. 253.
youthful poets dream of when they love, ix. 237.
Z.
Zanetto, lascia le donne, et studia la matematica, vi. 326.
R.