MongoDB Applied Design Patterns Practical Use Cases with the Leading NoSQL Database 1st Edition Rick Copeland pdf download
MongoDB Applied Design Patterns Practical Use Cases with the Leading NoSQL Database 1st Edition Rick Copeland pdf download
https://ebookmeta.com/product/mongodb-applied-design-patterns-
practical-use-cases-with-the-leading-nosql-database-1st-edition-
rick-copeland/
https://ebookmeta.com/product/blockchain-applied-practical-
technology-and-use-cases-of-enterprise-blockchain-for-the-real-
world-1st-edition-stephen-ashurst/
https://ebookmeta.com/product/design-patterns-with-java-1st-
edition-olaf-musch/
https://ebookmeta.com/product/digital-supply-chain-and-logistics-
with-iot-practical-guide-methods-tools-and-use-cases-for-
industry-andreas-holtschulte/
https://ebookmeta.com/product/manga-cultures-and-the-female-
gaze-1st-edition-kathryn-hemmann/
Lecture Notes for CS 6750 Human Computer Interaction
HCI David A. Joyner (Lecturer)
https://ebookmeta.com/product/lecture-notes-for-cs-6750-human-
computer-interaction-hci-david-a-joyner-lecturer/
https://ebookmeta.com/product/consume-me-so-wrong-it-s-
right-4-1st-edition-casey-hagen-hagen/
https://ebookmeta.com/product/managing-to-make-a-difference-how-
to-engage-retain-and-develop-talent-for-maximum-performance-1st-
edition-larry-sternberg/
https://ebookmeta.com/product/memorable-psychopharmacology-1st-
edition-jonathan-p-heldt-m-d/
Pro CSS3 Animation 1st Edition Dudley Storey
https://ebookmeta.com/product/pro-css3-animation-1st-edition-
dudley-storey-2/
www.it-ebooks.info
www.it-ebooks.info
MongoDB Applied
Design Patterns
Rick Copeland
www.it-ebooks.info
MongoDB Applied Design Patterns
by Rick Copeland
Copyright © 2013 Richard D. Copeland, Jr. All rights reserved.
Printed in the United States of America.
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are
also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/
institutional sales department: 800-998-9938 or corporate@oreilly.com.
Editors: Mike Loukides and Meghan Blanchette Indexer: Jill Edwards
Production Editor: Kristen Borg Cover Designer: Karen Montgomery
Copyeditor: Kiel Van Horn Interior Designer: David Futato
Proofreader: Jasmine Kwityn Illustrator: Kara Ebrahim
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly
Media, Inc. MongoDB Applied Design Patterns, the image of a thirteen-lined ground squirrel, and related
trade dress are trademarks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trade‐
mark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and author assume no
responsibility for errors or omissions, or for damages resulting from the use of the information contained
herein.
ISBN: 978-1-449-34004-9
[LSI]
www.it-ebooks.info
Table of Contents
Preface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
2. Polymorphic Schemas. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Polymorphic Schemas to Support Object-Oriented Programming 17
Polymorphic Schemas Enable Schema Evolution 20
Storage (In-)Efficiency of BSON 21
Polymorphic Schemas Support Semi-Structured Domain Data 22
Conclusion 23
iii
www.it-ebooks.info
Optimistic Update with Compensation 29
Conclusion 33
5. Ecommerce. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Product Catalog 75
Solution Overview 75
Operations 80
Sharding Concerns 83
Category Hierarchy 84
Solution Overview 84
Schema Design 85
Operations 86
Sharding Concerns 90
Inventory Management 91
Solution Overview 91
Schema 92
Operations 93
Sharding Concerns 100
iv | Table of Contents
www.it-ebooks.info
Metadata and Asset Management 101
Solution Overview 101
Schema Design 102
Operations 104
Sharding Concerns 110
Storing Comments 111
Solution Overview 111
Approach: One Document per Comment 111
Approach: Embedding All Comments 114
Approach: Hybrid Schema Design 117
Sharding Concerns 119
Table of Contents | v
www.it-ebooks.info
Character Schema 142
Item Schema 143
Location Schema 144
Operations 144
Load Character Data from MongoDB 145
Extract Armor and Weapon Data for Display 145
Extract Character Attributes, Inventory, and Room Information for Display 147
Pick Up an Item from a Room 147
Remove an Item from a Container 148
Move the Character to a Different Room 149
Buy an Item 150
Sharding 151
Afterword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
vi | Table of Contents
www.it-ebooks.info
Preface
Whether you’re building the newest and hottest social media website or developing an
internal-use-only enterprise business intelligence application, scaling your data model
has never been more important. Traditional relational databases, while familiar, present
significant challenges and complications when trying to scale up to such “big data”
needs. Into this world steps MongoDB, a leading NoSQL database, to address these
scaling challenges while also simplifying the process of development.
However, in all the hype surrounding big data, many sites have launched their business
on NoSQL databases without an understanding of the techniques necessary to effec‐
tively use the features of their chosen database. This book provides the much-needed
connection between the features of MongoDB and the business problems that it is suited
to solve. The book’s focus on the practical aspects of the MongoDB implementation
makes it an ideal purchase for developers charged with bringing MongoDB’s scalability
to bear on the particular problem you’ve been tasked to solve.
Audience
This book is intended for those who are interested in learning practical patterns for
solving problems and designing applications using MongoDB. Although most of the
features of MongoDB highlighted in this book have a basic description here, this is not
a beginning MongoDB book. For such an introduction, the reader would be well-served
to start with MongoDB: The Definitive Guide by Kristina Chodorow and Michael Dirolf
(O’Reilly) or, for a Python-specific introduction, MongoDB and Python by Niall O’Hig‐
gins (O’Reilly).
vii
www.it-ebooks.info
are contrasted with approaches to solving the same problems using relational databases,
so basic familiarity with SQL and relational modeling is also helpful.
viii | Preface
www.it-ebooks.info
Chapter 4: Operational Intelligence
This chapter describes how MongoDB can be used for operational intelligence, or
“real-time analytics” of business data. It describes a simple event logging system,
extending that system through the use of periodic and incremental hierarchical
aggregation. It then concludes with a description of a true real-time incremental
aggregation system, the Mongo Monitoring Service (MMS), and the techniques and
trade-offs made there to achieve high performance on huge amounts of data over
hundreds of customers with a (relatively) small amount of hardware.
Chapter 5: Ecommerce
This chapter begins by describing how MongoDB can be used as a product catalog
master, focusing on the polymorphic schema techniques and methods of storing
hierarchy in MongoDB. It then describes an inventory management system that
uses optimistic updating and compensation to achieve eventual consistency even
without two-phase commit.
Chapter 6: Content Management Systems
This chapter describes how MongoDB can be used as a backend for a content man‐
agement system. In particular, it focuses on the use of polymorphic schemas for
storing content nodes, the use of GridFS and Binary fields to store binary assets,
and various approaches to storing discussions.
Chapter 7: Online Advertising Networks
This chapter describes the design of an online advertising network. The focus here
is on embedded documents and complex atomic updates, as well as making sure
that the storage engine (MongoDB) never becomes the bottleneck in the ad-serving
decision. It will cover techniques for frequency capping ad impressions, keyword
targeting, and keyword bidding.
Chapter 8: Social Networking
This chapter describes how MongoDB can be used to store a relatively complex
social graph, modeled after the Google+ product, with users in various circles, al‐
lowing fine-grained control over what is shared with whom. The focus here is on
maintaining the graph, as well as categorizing content into various timelines and
news feeds.
Chapter 9: Online Gaming
This chapter describes how MongoDB can be used to store data necessary for an
online, multiplayer role-playing game. We show how character and world data can
be stored in MongoDB, allowing for concurrent access to the same data structures
from multiple players.
Preface | ix
www.it-ebooks.info
Conventions Used in This Book
The following typographical conventions are used in this book:
Italic
Indicates new terms, URLs, email addresses, filenames, and file extensions.
Constant width
Used for program listings, as well as within paragraphs to refer to program elements
such as variable or function names, databases, data types, environment variables,
statements, and keywords.
Constant width bold
Shows commands or other text that should be typed literally by the user.
Constant width italic
Shows text that should be replaced with user-supplied values or by values deter‐
mined by context.
x | Preface
www.it-ebooks.info
If you feel your use of code examples falls outside fair use or the permission given here,
feel free to contact us at permissions@oreilly.com.
How to Contact Us
Please address comments and questions concerning this book to the publisher:
O’Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
800-998-9938 (in the United States or Canada)
707-829-0515 (international or local)
707-829-0104 (fax)
We have a web page for this book, where we list errata, examples, and any additional
information. You can access this page at http://oreil.ly/mongodb-applied-design-
patterns.
To comment or ask technical questions about this book, send email to bookques
tions@oreilly.com.
For more information about our books, courses, conferences, and news, see our website
at http://www.oreilly.com.
Preface | xi
www.it-ebooks.info
Find us on Facebook: http://facebook.com/oreilly
Follow us on Twitter: http://twitter.com/oreillymedia
Watch us on YouTube: http://www.youtube.com/oreillymedia
Acknowledgments
Many thanks go to O’Reilly’s Meghan Blanchette, who endured the frustrations of trying
to get a technical guy writing a book to come up with a workable schedule and stick to
it. Sincere thanks also go to my technical reviewers, Jesse Davis and Mike Dirolf, who
helped catch the errors in this book so the reader wouldn’t have to suffer through them.
Much additional appreciation goes to 10gen, the makers of MongoDB, and the won‐
derful employees who not only provide a great technical product but have also become
genuinely close friends over the past few years. In particular, my thanks go out to Jared
Rosoff, whose ideas for use cases and design patterns helped inspire (and subsidize!)
this book, and to Meghan Gill, for actually putting me back in touch with O’Reilly and
getting the process off the ground, as well as providing a wealth of opportunities to
attend and speak at various MongoDB conferences.
Thanks go to my children, Matthew and Anna, who’ve been exceedingly tolerant of a
Daddy who loves to play with them in our den but can sometimes only send a hug over
Skype.
Finally, and as always, my heartfelt gratitude goes out to my wonderful and beloved wife,
Nancy, for her support and confidence in me throughout the years and for inspiring me
to many greater things than I could have hoped to achieve alone. I couldn’t possibly
have done this without you.
xii | Preface
www.it-ebooks.info
PART I
Design Patterns
www.it-ebooks.info
Exploring the Variety of Random
Documents with Different Content
As it is not possible always to avoid being either too ceremonious
or too familiar, our greatest care should be not to err on the side of
familiarity, which, the old proverb truthfully says, breeds contempt.
Not only right thinking men, but wrong thinking men that are
sensible, are prompt in the keeping of their engagements, whether
of business or of pleasure.
Be slow to make promises, but having made a promise do your
uttermost to keep your word. Every time another breaks his word
with you, resolve anew never to fail to keep yours. Bad examples
tend either to demoralize or to elevate. They elevate those in whom
the good naturally predominates.
There are many ignoble, foolish, unbred men in the world whose
policy is so shortsighted that they continually bow to place rather
than to worth. They forget that he that is up to-day may be down
to-morrow, and that no man is so insignificant that he is powerless
to do them good or harm. Such men have not even the politeness of
enlightened selfishness.
The man of sense never does anything simply for flourish, to show
off, for “splurge.” He never makes presents to any one that he
cannot abundantly afford to make. He never goes to any expense
that his means do not justify. He assumes that those with whom he
associates, that he entertains, that he extends civilities to are
sensible people, and he remembers that sensible people always look
upon every kind of ostentation as vulgar.
FOOTNOTE:
[A] Good name—reputation—is probably what is meant here.
Calumny may injure one’s good name, but it cannot injure one’s
character.
WHAT IS A GENTLEMAN?
Education begins the gentleman; but reading, good company, and reflection must
finish him.—Locke.
A man of polished and agreeable manners, as distinguished from the vulgar and
clownish.—Worcester.
It would be hard to find two persons that fully agree with regard to
what constitutes a gentleman. It is far easier to tell what a gentleman
is not than what a gentleman is.
For example, we all agree that the man is not a gentleman that is
ignorant of those usages that, by common consent, regulate refined
social intercourse; that does not, in his dress, conform, within certain
limits at least, to the prevailing modes; that is desirous to attract
attention by affecting eccentricities; that bears himself as though he
thought himself an object of special attention, i.e., is self-conscious;
that has no thought for the comfort, the feelings, or the rights of
others. In short, we all agree that no man deserves to be called a
gentleman that is not a man of education; i.e., that is not sufficiently
acquainted with books and with the usages of refined social
intercourse to acquit himself creditably in the society of cultivated
people. Not moral worth, nor learning, nor wealth, nor all three
combined, can, unaided, make a gentleman, for with all three a man
might be coarse, unbred, unschooled in those things that no man can
be ignorant of and be welcome in the society of the refined.
A modern English writer says that to formulate the definition of a
gentleman in negatives would be easy. “As, for instance,” he says, “we
may say that a true gentleman does not soil his conscience with
falsehoods, does not waste his time on sensual indulgence, does not
endeavor to make the worse appear the better reason, does not
ridicule sacred things, does not wilfully give cause of offence to any,
does not seek to overreach his neighbor, does not forget the respect
due to womanhood, or old age, the feeble or the poor. But, to speak
affirmatively,” he continues, “a gentleman is one whose aims are
generous, whose trust is constant, whose word is never broken,
whose honor is never stained, who is as gentle as brave, and as
honest as wise, who wrongs no one by word or deed, and dignifies
and embellishes life by nobility of thought, depth of feeling, and grace
of manner.”
Thackeray wrote of the gentleman thus: “What is it to be a
gentleman? Is it not to be honest, to be gentle, to be generous, to be
brave, to be wise, and, possessing all these qualities, to exercise them
in the most graceful outward manner? Ought not a gentleman to be a
loyal son, a true husband, an honest father? Ought not his life to be
decent, his bills to be paid, his tastes to be high and elegant, his aims
in life lofty and noble? In a word, ought not the biography of the First
Gentleman in Europe to be of such a nature, that it might be read in
young ladies’ schools with advantage, and studied with profit in the
seminaries of young gentlemen?”
Another English writer says that the primary essentials of what
constitutes the true gentleman are Goodness, Gentleness and
Unselfishness. “Upon these qualities,” he says, “are based all those
observances and customs that we class together under the head of
Good Manners. And these good manners, be it remembered, do not
consist merely in the art of bowing gracefully, of entering a room
properly, of talking eloquently, of being familiar with the minor habits
of good society. A man may have all this, know all this, and yet, if he
is selfish, or ill-natured, or untruthful, fail of being a gentleman. Good
manners are far from being the evidence of good training only; they
are also the evidence of a refined nature. They are the fruit of good
seed sown on good soil. As a just and elevated thought clearly and
gracefully expressed is evidence of a well-trained mind, so every act,
however unimportant, and every gesture, however insignificant, is
evidence of the kindly, considerate, modest, loyal nature of the true
gentleman, or—of the reverse.”
In a story by Spielhagen, the distinguished German novelist, I find
the following:
“What do you call a gentleman?” asked the Duke. “Will you give me
a definition of the word?”
“That is not so easy, my lord; indeed, I am not sure that it is
possible to define the word satisfactorily,” replied Lady De Vere. “By
resorting to metaphors, however, I may perhaps be able to outline
what we all feel, but are unable fully to describe. A gentleman is one
in whom the vigorous and the delicate are happily united. The soft,
the refined—all that comes from frequenting the society of women of
culture, lies in the ‘gentle;’ the strong, the firm, the stern—all that
comes from battling with men, lies in the ‘man;’ ‘gentle’ implies the
possession of all the social, ‘man’ of all the civil, virtues; ‘man’ is the
fiery wine, ‘gentle’ the tasteful goblet; ‘man’ is the sharp, correct
drawing, ‘gentle,’ the warm, soft coloring; ‘gentle’ might be the
Sybarite, who is disturbed by the falling of a rose-leaf, ‘man’ is the
Brutus, who as judge knows not even his own child. Pericles, the
brave, magnanimous, amiable, refined Athenian, might be offered as
an example of the true gentleman.”
In his essay in The Century, for October, 1883, on the
“Characteristics of London,” W. J. Stillman contrasts the English
gentleman with the best American type as follows:
“And it is in this very class that we find here and there that best
type of humanity, as the world knows it, the true English gentleman—
a being whose exterior decorum may be counterfeited by his
emulator, whose inmost gentleness and courtesy may be shadowed
forth in peer or peasant—who loves his kind, and feels the common
bond of divine birth, but whose most perfect union of noble demeanor
and large-heartedness can only be found where the best type of mind
has been permitted the largest and richest culture, and the
completest freedom of hereditary development in the most favorable
external circumstances. There are nobles and noblemen—men who
seem to be conscious only that surrounding men are lower than they,
and others whose illumination pervades every one near them and
brings all up into the same world of light and sweetness. The prestige
of nobility is founded on a true human instinct; occasionally one finds
an English nobleman who justifies its existence, and makes us snobs
in spite of our democracy.
“I could, I am certain, point to Americans who in every substantial
trait of the gentleman will stand comparison with any aristocrat born
—men in whom gentlehood has grown to hereditary ripeness; the
third and fourth generations of men who have cultivated on American
soil the virtues of honesty, morality, sincerity, courtesy, self-
abnegation, humanity, benevolence; men and women whose
babyhood was cradled in those influences that make what we call
‘good breeding,’ and to whom the various vulgarities of our parvenu
princes are as foreign as to the bluest-blooded heir of Normandy
fortune; and this is to me a more grateful and sympathetic type of
humanity than that of its English congener.”
In the writings of a Gallic philosopher, of a former generation, that I
lately chanced upon, I find the homme comme il faut—a man that is
pretty nearly the counterpart of our gentleman—described essentially
as follows:
At the first glance we discover in him nothing that arrests the
attention. He is simple, calm, ingenuous, manly rather than graceful,
sedate rather than animated. His manner is neither reserved nor
demonstrative, but attentive, respectful and guarded; neither
obsequious nor imperious, but calm and self-possessed. His politeness
appears in acts rather than in protestations. Though he does not
despise convention, he is not its slave; he does not allow himself to
be hampered by the unimportant, nor does he ever see a heinous
offence in a trifling breach of established usage.
His dress is an index of his character: simple, appropriate,
harmonious. The man of the world pronounces it tasteful, the man of
the people sees in it nothing that is unusual, and the man of sense
recognizes in it a certain independence of the newest mode.
Being of those that make haste discreetly, he studies the characters
of his acquaintances before giving them his confidence. In
conversation, he is neither impatient, restless, nor hurried, and
though he is careful in selecting his words, he attaches more
importance to the matter of his discourse than to the manner. Made
to give the tone, he is content to receive it: he is wont to take as
much pains to remain unnoticed as many another takes to make
himself seen.
If he appears in a circle where he is not known, the greater number
see in him only a quiet, plain man that, despite his simplicity,
however, has that about him to which they involuntarily yield their
respect. The superficial, the presuming, and the malicious, though
ignorant of the cause, are embarrassed by his steady, searching
glance; the loyal and the unfortunate, on the contrary, are drawn
toward him, feeling that in him they shall find a friend.
He is guarded in speaking ill of others, a thing he never does but
with right intentions—as, for example, to unmask a hypocrite, to
punish the guilty, or to protect the weak. In speaking of his enemies,
he never forgets to be just; he is not of those that are blind to the
virtues of even the most unworthy, nor is he of those that are so
ungenerous as to deny them.
He is temperate in sustaining his opinions, and opposes only to be
better informed, or to enliven the conversation; and often he will
suddenly acknowledge his defeat, and confess with generous sincerity
that the reasons of his opponent are better than his own. His victories
are not less noble. His aim is to enlighten, not to humiliate, much less
to offend. If he finds that he is opposed by presumption, obstinacy or
ignorance, it is his habit to yield. “You may be right,” he will say; “my
way of seeing things is often erroneous, and this, quite likely, is the
case now.”
He avoids what is likely to create discord, seeks to promote kindly
feeling among his fellows, and never pleads the faults of others in
extenuation of his own. He is slow to take offence, opposes incivility
with urbanity, and passion with moderation. Wrong-doing he accounts
a weakness, and he pleads weakness as its excuse; the wrong-doer
excites his pity rather than his hate.
He possesses, in a high degree, the happy faculty of adapting
himself to others, from whom he expects no more than they can give
and from whom he obtains the best they have. “There are few,” he
says, “in whom, if we study them, we do not find some estimable
qualities. If each has his weaknesses, so each has his virtues, which it
is for us to discover.” Herein he excels.
The same day may see him dogmatize with a pedant, reason with a
sage, shine in a social circle, console the unfortunate, contend for the
rights of humanity, and swear fidelity to the woman of his choice. He
talks trade to the shopkeeper, politics to the ambitious, perspective to
the painter, play-things to childhood, house affairs to the matron, and
probity to all. All he says bears the impress of a benign, humane
philosophy that is now grave and now gay, as the time or the place
may demand.
In nothing does his prudence more appear than in his pleasures, for
be their character what it may, they never see him overstep the limit
prescribed by decency and self-respect. That pleasure that injures no
one seems to him innocent, and that recreation that follows labor
seems to him reasonable.
Honesty with him has become a sort of instinct, which he exercises
without reflection. The possibility that he could take an ignoble
advantage, be wilfully unjust, or betray a trust, material or
confidential, has never crossed his thought.
In the management of his material concerns, he is a model. In
large expenditures he is guarded, in order that he may be the better
able to be liberal in small ones. He never is guilty of that parsimony in
little things that disgraces more than display in great ones ever exalts.
It is his special care to be discriminating in his bounties, moderate in
his expenditures and punctual in his payments. He often denies
himself the pleasures of luxury to indulge in those of benevolence. If
misfortune lessens his income, he is prompt to retrench; he knows
that the friends and acquaintances he will lose should not be
accounted veritable losses. He is modest in prosperity, resigned in
adversity, and dignified always.
If he speaks of religion, he chooses carefully the time and the
place. Whatever the prevailing belief in the community in which he
lives, he considers it as forming a part of the laws, and he respects
whatever contributes to stability and order. He attacks abuses only
and seeks to destroy only what he can replace. He takes nothing on
trust, but examines well before giving his assent; and that religion
finds most favor with him that attaches most importance to the doing
of good deeds. The man that in his eyes is the most truly religious is
he that does most for his fellows. He rejoices that beneficence is held
in like esteem by all creeds, however widely may differ their dogmas,
and that the various religions of the world repose on the belief in the
existence of a Supreme Being that punishes vice and rewards virtue.
He has the modesty to think and the honesty to confess that as so
many millions are in error, he also may err. Nor has he the
presumption, like so many of his fellows, to set himself up as an
infallible judge of others. But he pities those presuming motes that
live but an instant, come they know not whence, and go they know
not where, and yet would judge the whole by a part, and eternity by a
span, conclude that all is but the product of chance, assert that what
passes their reason is not reasonable, and deny the existence of Him
to whom millions of years are but a moment, and millions of miles but
a point.
THE END.
BOOKS BY ALFRED AYRES.
Some Ill-used Words. A Manual for the Use of those who Desire to
Write and Speak correctly. 18mo. Cloth, $1.00.
The book is leveled specially at some half dozen errors that are made by well-nigh
every one who uses the English language.
The Orthoëpist. A Pronouncing Manual, containing about Four
Thousand Five Hundred Words, including a considerable number
of the names of Foreign Authors, Artists, etc., that are often
mispronounced. Revised and enlarged edition. 18mo. Cloth,
$1.25.
“It is sufficient commendation of the work to say that for fourteen years this little
volume has had no successful rival in its particular field.”—San Francisco Call.
The Verbalist. A Manual devoted to Brief Discussions of the Right
and the Wrong Use of Words, and to some other Matters of
Interest to those who would Speak and Write with Propriety.
Revised and enlarged edition. 18mo. Cloth, $1.25.
“A great deal that is worth knowing, and of which not even all educated people
are aware, is to be learned from this well-digested little book.”—Philadelphia North
American.
The Mentor. A Little Book for the Guidance of such Men and Boys as
would Appear to Advantage in the Society of Persons of the
Better Sort. New and revised edition. 18mo. Cloth, $1.00.
“In every respect one of the most admirable books on manners and manner. It
possesses high literary merit.”—Chicago Evening Journal.
Acting and Actors; Elocution and Elocutionists. A Book about
Theater Folk and Theater Art. With Preface by Harrison Grey
Fiske; Introduction by Edgar S. Werner; Prologue by James A.
Waldron. 16mo. Cloth, $1.25.
“A book which has exceeding interest. The author talks in a very agreeable and
instructive way about the art of acting, and while his book has a peculiar charm for
those who sit in the orchestra chairs, it has a special value for the ladies and
gentlemen of the stage.”—New York Herald.
The English Grammar of William Cobbett. Carefully revised and
annotated by Alfred Ayres. With Index. 18mo. Cloth, $1.00.
“It is grammar without a master and without tears, unless they are tears of
laughter.”—New York Churchman.
HANDBOOKS OF SOCIAL USAGES.
S O C I A L E T I Q U E TT E
Cloth, gilt, $1.00.
OF NEW Y O R K . Rewritten and enlarged. 18mo.
Special pains have been taken to make this work represent accurately existing
customs in New York society.
W H cloth,
AT T O D O . A Companion to “Don’t.” By Mrs. O liverB Bell
gilt, uniform with Boudoir Edition of “Don’t,” 30 cents.
unce. Small 18mo,
A dainty little book, containing helpful and practical explanations of social usages
and rules.
G O Kingdom.
OD FORM” IN ENGLAND.
12mo. Cloth, $1.50.
By An American, resident in the United
N E W E D I T I O N O F E N G L I S H O D E S . Selected by Edmund W. Gosse. With
Frontispiece on India paper from a design by Hamo Thornycroft, A. R. A. Forty-
two Head and Tail Pieces from Original Drawings by Louis Rhead. 16mo. Cloth,
special design in gold, $1.50. Same, in parchment, $1.75.
W H cloth,
AT T O D O . A Companion to “Don’t.” By Mrs. O liverB Bell
gilt, uniform with Boudoir Edition of “Don’t,” 30 cents.
unce. Small 18mo,
A dainty little book, containing helpful and practical explanations of social usages
and rules.