Prototype and script aculo us you never knew JavaScript could do this 1st Edition Christophe Porteneuve download
Prototype and script aculo us you never knew JavaScript could do this 1st Edition Christophe Porteneuve download
https://ebookfinal.com/download/prototype-and-script-aculo-us-
you-never-knew-javascript-could-do-this-1st-edition-christophe-
porteneuve/
https://ebookfinal.com/download/i-never-knew-that-about-london-7th-
edition-christopher-winn/
https://ebookfinal.com/download/you-were-never-born-john-wheeler/
https://ebookfinal.com/download/how-you-do-what-you-do-create-service-
excellence-that-wins-clients-for-life-1st-edition-bob-livingston/
Do You Understand Me 1st Edition Sofie Koborg Brsen
https://ebookfinal.com/download/do-you-understand-me-1st-edition-
sofie-koborg-brsen/
This Year You Write Your Novel 1St Edition Edition Walter
Mosley
https://ebookfinal.com/download/this-year-you-write-your-novel-1st-
edition-edition-walter-mosley/
https://ebookfinal.com/download/the-book-of-hebrew-script-history-
palaeography-script-styles-calligraphy-design-ada-yardeni/
https://ebookfinal.com/download/prototype-and-scriptaculous-in-
action-1st-edition-dave-crane/
Tired of waiting around for a page to reload, again and again? Well,
if you’re like me, you’re looking for a smart and elegant way to inject
pieces of Ajax into your application. Well, you’ll find in this book all
you need to know about Prototype and script.aculo.us. This book will
show you the best practices without forgetting the fun!
Amir Jaballah
Technical Leader, Fastconnect
At Relevance, we use Prototype and Scriptaculous for all of our web
projects. When we train other developers, we always get the same two
questions: (1) Where can I get more information on the libraries? and
(2) Where can I learn to program JavaScript in a modern, functional
style?
Prototype and Scriptaculous answers both of these questions.
Christophe demonstrates the power and the beauty of these libraries,
and of the idiomatic JavaScript style they employ. And he doesn’t
just skim the surface—his intro chapter shows more advanced Java-
Script usage than some entire books on the subject. Even after years
of using Prototype and Scripty, I learned new things in every chapter.
Thanks Christophe!
Stuart Halloway
CEO, Relevance, Inc.
www.thinkrelevance.com
Prototype and script.aculo.us
You Never Knew JavaScript Could Do This!
Christophe Porteneuve
Every precaution was taken in the preparation of this book. However, the publisher
assumes no responsibility for errors or omissions, or for damages that may result from
the use of information (including program listings) contained herein.
Our Pragmatic courses, workshops, and other products can help you and your team
create better software and have more fun. For more information, as well as the latest
Pragmatic titles, please visit us at
http://www.pragprog.com
ISBN-10: 1-934356-01-8
ISBN-13: 978-1-934356-01-2
To Élodie, my love, ever supportive.
You’re my true home.
Contents
Preface 13
1 Introduction 15
1.1 It’s About Time . . . . . . . . . . . . . . . . . . . . . . . . 15
1.2 What’s in This Book, and How Is It Organized? . . . . . 17
1.3 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . 18
I Prototype 20
2 Discovering Prototype 21
2.1 What Is Prototype, and What Is It Not? . . . . . . . . . . 21
2.2 Using Prototype in Our Project . . . . . . . . . . . . . . . 22
2.3 What Does Our JavaScript Look Like When Using Prototype? 22
2.4 Prototype Jargon and Concepts . . . . . . . . . . . . . . 37
2.5 What Are Prototypes Anyway? . . . . . . . . . . . . . . . 39
2.6 Running Prototype Code Samples in This Book . . . . . 41
4.5 Strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
4.6 Arrays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
4.7 Full-Spectrum JSON Support . . . . . . . . . . . . . . . 82
12 Wrapping Up 245
12.1 Building a Fancy Task List . . . . . . . . . . . . . . . . . 245
12.2 Laying the Groundwork . . . . . . . . . . . . . . . . . . . 246
12.3 It Takes Only 40 Lines: The JavaScript Code . . . . . . . 248
II script.aculo.us 252
16 Autocompletion 323
16.1 The Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
16.2 Local Autocompletion . . . . . . . . . . . . . . . . . . . . 325
16.3 Getting Ajaxy . . . . . . . . . . . . . . . . . . . . . . . . . 330
16.4 Using Rich-Markup Choices . . . . . . . . . . . . . . . . 334
16.5 Autocompleting Multiple Values in One Field . . . . . . 335
16.6 Reacting to Completion with Callbacks . . . . . . . . . . 339
19 Sliders 373
19.1 Creating a Simple Slider . . . . . . . . . . . . . . . . . . . 374
19.2 Customizing the Basics . . . . . . . . . . . . . . . . . . . 376
19.3 Restricting Range or Allowed Values . . . . . . . . . . . . 378
19.4 Tweaking an Existing Slider and Adding Controls . . . . 381
19.5 Defining Multiple Values . . . . . . . . . . . . . . . . . . 381
Index 418
Preface
Prototype began its life in early 2005 at a time when the name “Java-
Script” still evoked images of pop-up ads, blinking text, and copied-
and-pasted <script> tags in most developers’ minds. Even though web
applications such as Gmail and Google Suggest were showing the world
that JavaScript (and this new thing called “Ajax”) could actually be used
to improve the user experience, implementing these new techniques in
your own apps proved to be painful and frustrating. Each web browser
had its own quirks to work around, and most existing code wasn’t
designed to take advantage of JavaScript’s object-oriented nature or
powerful closure capabilities.
Inspired by the expressiveness of dynamic languages such as Ruby,
we set out to build a browser programming environment that we could
actually look forward to using. We started with a small set of tools that
let us work with classes and functions. Then we extracted common
Ajax and DOM manipulation operations from our existing applications.
In March 2005, we released Prototype 1.0 as part of the Ruby on Rails
framework. Prototype has grown a lot since then, but it remains focused
on providing the best possible environment for JavaScript developers.
As for script.aculo.us, or “Scripty” as it’s affectionately known by the
Core team, it started out as a short section of code in Prototype that
implemented the now-ubiquitous “yellow fade technique.” With a desire
to make web applications more user-friendly—and provide eye candy
that’s really useful to boot—it quickly grew into a complete real-time
DOM-based effects engine, drag-and-drop framework, and controls
library. Version 1.0 was released in June 2005.
You should understand that script.aculo.us is distinct from many other
UI libraries in that it does not try to shield the developer from the
DOM but rather extends and improves the DOM so that developers
and designers can capitalize on their existing knowledge.
P REFACE 14
Combined with Prototype, it’s engineered for building your own widgets,
controls, and basically any artsy awesomeness in less time than it takes
to configure heavier, widget-based frameworks.
To paraphrase the motto of Ruby, the language whose design has heav-
ily influenced our libraries: Prototype and script.aculo.us are “a web
programmer’s best friends.” According to the feedback we’ve received,
we’re not the only ones who feel that way.
Two-and-a-half years after the initial release, Prototype and script.acu-
lo.us are in use on many of the web’s most popular websites and power
all sorts of innovative web applications.
This rapid popular uptake has been possible only through the efforts
of the Prototype Core team, consisting of Seth Dillingham, Andrew
Dupont, Mislav Marohnić, Justin Palmer, Christophe Porteneuve, Tobie
Langel, Scott Raymond, and Dan Webb; the thousands of hours of work
by hundreds of contributors from the Prototype and script.aculo.us
community; and, of course, Christophe, for providing this very book.
Big thanks to all of them and to you.
Introduction
Prototype is a wonderful JavaScript library aimed at easing dynamic
web application development. Its close friend, script.aculo.us, provides
a lot of user interface–oriented features with a high wow factor (still),
such as drag and drop, autocompletion, mouse-driven element sorting,
awesome visual effects, and in-place editing. It’s all at your fingertips,
with only a couple lines of script.
The close relation between the two lies in that they both originated in
the Ruby on Rails universe, as Rails “spin-offs.” They are provided with
Rails but can be obtained separately on their official web sites and are
actually backend-agnostic: you can use them over PHP, .NET, J2EE,
Python, Delphi, or anything else that helps you produce dynamic web
pages. And indeed, thousands of developers do just that every day. Also,
script.aculo.us relies on Prototype, and both libraries are written in a
consistent style.
These libraries will, quite simply, rock your world. You will discover, as I
and countless others have, that client-side web page development does
not need to be gruesome, kludgy, or even dull. It can be expressive,
productive, efficient, clean, portable, and intellectually pleasing. It can
call to our technical sense of aesthetics, and most important, it can be
a huge amount of fun.
1. http://ajaxian.com/archives/ajaxiancom-2006-survey-results
I T ’ S A BOUT T IME 16
are by far the two most popular JavaScript frameworks, with whop-
ping 43% and 33% adoption rates, way more than the third contender,
Dojo. With the advent of Prototype’s new official site and comprehensive
online reference documentation in January 2007, it will likely have an
even higher adoption rate by the time this book hits the shelves.
Still, a year ago, both frameworks already were extremely popular. And
what did shelves have to say about it? Nothing. In November 2006,
Scott Raymond and Sergio Pereira produced a 30-page Prototype quick
reference in O’Reilly’s Short Cuts series, but that’s it. The script.aculo.-
us wiki is a good starting point but uses a fairly inconsistent style and is
way out-of-date. As for Prototype, most addicts started out with Sergio’s
unofficial page and then had to dive into the source code to try to figure
out all the neat tricks.
And some source code it is. Both frameworks squeeze all the power
they can get out of JavaScript and are written in a fairly advanced
style. The unfortunate result is that those diving into the code without
serious JavaScript knowledge could very easily become lost, dazzled,
confused, or all of these at once. Although accurate, timely, and polite
answers could be found on the Google Group,2 all users agreed that
some production-quality, official documentation was in order. It is now
available, at least for Prototype, at its official website.3
“This is all well and good,” you might say, “but then what the heck do
I need this book for?” Well, there are several reasons why reading this
book is a good idea:
• This book goes far beyond the documentation available online. It
includes a lot more examples, goes further into details, and pro-
vides a lot more besides the actual reference material: a full-on
tutorial; real-world scenarios and their solutions; and plenty of
extra tips, tricks, best practices, and all-around advice.
• You may well want to leverage passive offline time to learn. This is
about reading on the bus, in the subway, or in the passenger seat
in a carpool highway lane.
• Even active offline time needs a book, such as when you’re work-
ing on your laptop in a train or plane.
2. http://groups.google.com/group/rubyonrails-spinoffs
3. http://prototypejs.org
W HAT ’ S IN T HIS B OOK , AND H OW I S I T O RGANIZED ? 17
• Like many people, you may just like having the physical copy of
the book close at hand. It just is nicer to the eye than on-screen
text, you know?
I discovered Prototype and script.aculo.us in late 2005 and dived into
them for real around June 2006 (since my early perusal had made me
fall in love with them) when I was writing my first book, Bien dévelop-
per pour le Web 2.0, which featured rather detailed coverage of them
through dedicated chapters. I loved the code I saw, I loved the code
I could write, and I started contributing heavily to the Google Group
and then the official documentation site. So if you find examples in
this book that also appear online, this is no accident. I may well have
written the online page. And at any rate, when you have a very good
example available, you just use it.
1.3 Acknowledgments
Writing a book is no walk in the park. It takes time, effort, dedication,
steadfastness, and a tremendous amount of help and support.
I cannot thank Pragmatic Programmers enough. These guys take you
through a book-writing journey that leaves you loathe to write for any-
body else. As publishing goes, they’re the bleeding edge and a real mag-
net for technical writers with a soft spot for efficiency and cool tool
chains. My heartfelt thanks especially to Dave Thomas, Andy Hunt,
and Daniel H. Steinberg. You’re putting the word editor into a whole
new perspective and a wonderful one at that.
I would also like to express my undying gratitude to my copy editor,
Kim Wimpsett, who did a wonderful job with enormous insight and
attention to detail; to my indexer, Sara Lynn Eastler, who produced the
outstanding, Pragmatic-Bookshelf-quality index at the end of this book;
and to my typesetter, Steve Peter, who provided all the final touches that
make it all look so prim.
A CKNOWLEDGMENTS 19
Before all this started, I asked Justin Palmer if I could step in his shoes
and write this book for Pragmatic Programmers. Not only was he very
gracious about it, but he got me on board with the Prototype documen-
tation effort and later with Prototype Core. It has been an amazing ride
so far. Thanks a bunch, Justin.
This book would be an order of magnitude less pleasant to read if it
were not for the keen eyes and minds of its reviewers, both “live” and
at the final draft stage. I am deeply in the debt of Stéphane Akkaoui,
Arnaud Berthomier, Craig Castelaz, Seth Dillingham (Prototype Core),
Tom Gregory (a prominent voice on the official mailing list), Sébastien
Gruhier (of Prototype Window Class fame), Amir Jaballah, Tobie Langel
(Prototype Core), Justin Palmer (again), and Sunny Ripert. Many read-
ers also got onto the bandwagon at the beta stage and went so far as to
report a number of typos, errata, and the like. Among those, I’m espe-
cially grateful to Steve Erbach, Brandon Kelly, and “DarkRat” (whose
real name I’m sorry not to know), who’ve been particularly helpful.
Sam Stephenson (creator of Prototype) and Thomas Fuchs (creator of
script.aculo.us) first deserve the highest accolade for having churned
out those two libraries. The groundbreaking nature of their work can-
not be emphasized enough, and the immense satisfaction they have
brought to countless web developers commands respect. When it comes
to this particular book—the first ever focusing in depth on their babies!
—they not only revised the final draft but also agreed to write the pref-
ace, for which I cannot help but feel honored. Working with them is a
privilege and a very fun ride, and I take this opportunity to thank them
thrice over: for the libraries, for the review, and for the preface.
Élodie Jaubert, my fiancée, took admirably well to this second book-
writing endeavor, barely four months after the previous one ended. She
showed wonderful patience and support through the eight months it
took to write and edit this one, bearing with quite a few late evenings
and afternoons I spent writing at my desk, pushing me ahead, and giv-
ing me strength and love at all turns. I could not dream of more. This
book is for her.
Part I
Prototype
Discovering Diverse Content Through
Random Scribd Documents
a suitable flux. Crystallites are not uncommon in the melted
peripheries, as may be seen in a hard-burnt brick in ordinary light.
Mica.—In minute flakes, shining, or glistening, and commonly
black, silvery or bronze-coloured.
A. Detected at once by its thin shining scales, which frequently
have not suffered much in the kiln except near the outside of the
brick.
B. 1—The darker micas are usually citron coloured or light
brown, and unless cut parallel to the cleavage of the mineral, exhibit
a number of closely-set parallel lines, the fragments being much
“frayed out” and “ragged” at the edges. 2—Using one nicol only, the
mineral changes from dark to light on the revolution of the stage,
and is said (in common with other minerals exhibiting a similar
property) to be dichroic. With both nicols in position but little further
difference is noted, except that in changing tint the whole is darker.
Vivid colours are not observed except in yellows and browns.
Muscovite mica is often quite white and transparent.
Iron.—Common except in white bricks made from the purest
china-clays.
A. Brown or reddish-brown specks; sometimes as blue black
films in fire-bricks; dull and frequently powdery in common bricks.
Surrounding, film-like, grains of mineral matter of which the brick is
composed. A grain of quartz, for instance, is frequently seen
enveloped by a film of red iron. Other metallic iron is more lustrous
and whiter than magnetite when seen in reflected light, but such
unaltered particles of the mineral could only occur in a brick that had
not been subjected to great heat.
B. Opaque either in 1 or 2.
Iron Pyrite only occurs as such in bricks that have not been
thoroughly burnt, or in common “baked” bricks. Higher temperatures
lead to the separation of the iron from the sulphur and the general
incorporation of both in the agglutination of the brick during partial
fusion.
A. Brassy yellow particles.
B. Opaque both in 1 and 2.
Calcite.—Not found in burnt bricks, nor indeed in any except
those that have been sun-dried, or have been subjected to very little
heat. Small pellets of lime are of common occurrence in poorly-burnt
bricks. In reflected light such pellets are generally of a dirty white
tint; opaque in transmitted light.
Dolomite.—Practically the same observations apply as to calcite,
crystals of dolomite not being found except in sun-dried bricks and
the like. Under the action of much heat the mineral, like calcite, is
reduced to lime.
Selenite.—This is not rare in the commoner class of bricks,
though the application of much heat reduces it to the state of
powder. In reflected light it is found to be present as extremely
minute specks or “tears” of whitish powdery plaster. Opaque, of
course, in transmitted light.
The description of the micro-appearance of many other minerals
which occur but rarely in bricks does not fall within the scope of the
present elementary treatise; for practical purposes they may be
ignored.
CHAPTER XIII.
ABSORPTION.
STRENGTH OF BRICKS.
Strength of Bricks.—I.
Pressure in tons
Description. to
Crack. Crush.
Turning to the second table, compiled for the most part from brickmakers’
circulars, and from the original results obtained for the late Building
Exhibition, at the Agricultural Hall, all the experiments, we believe, having
been carried out by Mr. David Kirkaldy, it will be noted that great variation in
strength is apparent, following the different kinds of bricks. The highest
result, 1064.2 tons per square foot, was obtained on a blue Staffordshire
brick, though that is very closely run by bricks made from slate débris (1056.2
tons) from South Wales. The lowest result, 139.5 tons per square foot, was
from a Worcester brick.
Strength of Bricks.—II.
Mean stress of
six samples in
Dimensions,
Locality. Description. tons per square ft
Inches.
Cracked Crushed
18
Table III. is by Professor Unwin, and records the strength of several
well-known bricks. Professor Unwin’s mode of experimenting we have already
alluded to.
Strength of Bricks.—III.
Cracked, Crushed
Dimensions. at tons at tons
Description. Colour. Remarks.
Inches. per sq. per sq.
ft. ft.
London stock 4.6 × 4.1 × 2.4 128 177 Yellow Half brick
„ „ 4.6 × 4.0 × 2.45 133 181 „ „
„ „ 9.2 × 4.1 × 2.8 — 129 „
„ „ 8.9 × 4.2 × 2.3 — 113 „
„ „ 8.9 × 4.25 × 2.5 — 103 „
Aylesford, 8.9 × 4.4 × 2.7 48 183 Pink
common
„ „ 8.9 × 4.4 × 2.7 111 228 „
„ 9.1 × 4.3 × 2.7 71 141 Red Deep frog
pressed
Rugby, 9.5 × 4.2 × 2.9 158 190 „ {Between}
common
„ „ 9.0 × 4.2 × 3.0 — 120 „ {pine
bds.}
Lodge Colliery, 9.0 × 4.2 × 3.4 127 159 „
Notts
„ 9.0 × 4.2 × 3.25 55 122 „
„
Digby Colliery, 9.3 × 4.1 × 3.25 248 [353] „ Not
Notts crushed
„ 4.6 × 4.2 × 3.2 414 414 „ Half brick
„
Ruabon, 8.8 × 4.3 × 2.7 361 [361] „ Not
pressed crushed
Grantham, wire 9.2 × 4.4 × 3.2 — 83 „
cut
Leicester, „ 4.4 × 4.1 × 2.6 251 337 Pale red Half brick
„
„ „ 4.3 × 4.1 × 2.6 109 308 „ „
„
„ „ 9.06 × 4.2 × 2.8 115 229 „
„
Cranleigh, 4.7 × 4.6 × 2.5 149 181 „ Half brick
pressed frog.
„ „ 4.6 × 4.6 × 2.5 165 237 „ „ „„
Candy, pressed 8.8 × 4.3 × 2.8 80 381 —
Gault, wire cut 8.7 × 4.1 × 3.0 111 173 White
„ „ 4.4 × 4.2 × 2.5 119 145 „ Half brick
„ „ 8.7 × 4.1 × 2.9 — 169 „
Staffordshire 4.5 × 4.3 × 3.0 216 464 Blue „
blue,
common
„ „ „ 4.3 × 4.2 × 3.0 152 386 „ „
„ „ „ 8.9 × 4.3 × 3.1 240 [353] „ Not
crushed
Staffordshire 9.0 × 4.3 × 3.1 — 275 „
blue,
pressed
Glazed brick 8.8 × 4.4 × 3.3 69 166 — Frog.
„ „ 8.9 × 4.4 × 2.9 166 174 —
Square Cubic
Inches. Inches.
Shales 1.17 17.61 7,307 1,764
Fire-clay 1.62 17.32 6,876 1,678
Mixture 1.44 18.72 5,788 1,400
River Clay 1.36 19.02 4,605 1,176
22
From a series of tests recently made by Mr. Fickes, the
following factors were educed:—
1. A brick which stands the “rattling” test well, has ample
crushing strength and rarely chips under less than 5,000 lbs. per
square inch, or crushes under less than 10,000 lbs. The crushing
strength tends to vary with the resistance to abrasion, however, but
more slowly and irregularly.
2. The transverse strength also tends to vary with the resistance
to abrasion, but more slowly and irregularly.
3. The toughest bricks usually absorb the least water.
Specific Gravity.—The practical value of knowing the specific
gravity of a brick has, perhaps, been a little over-rated by writers on
the subject. At the same time we do not deny that there is some use
in ascertaining this property. Foremost, we have to mention its value
in conjunction with absorption in arriving at a rough and ready
means of gauging the strength of a brick, without having actual
recourse to the crushing machine. It appears to us, however, that
the specific gravity of bricks is rarely quoted in a proper manner, and
until there is one uniform method, the results will always be at a
discount. We allude to the fact that some experimenters take the
specific gravity of a porous brick, without stating whether the
amount of water absorbed, during the process, was taken into
account in arriving at the specific gravity or not. Theoretically, of
course, the substance to be dealt with is non-porous, and
experimenters, worthy the name, either render the brick waterproof,
or, ascertaining the amount of water the brick has absorbed, take
that into consideration in calculating results.
The writer is in the habit of quoting the specific gravity in two
ways, viz.: (a) the true specific gravity, and (b) the specific gravity of
the particles. In an elementary treatise like the present, however, it
is not desirable to enlarge on this subject.
THE END.
F O OT N OT E S
1
This, and all other technical terms used, will be
explained in an alphabetical glossary at the end of the
book.
2
“Canal and River Engineering,” p. 315.
3
See, Geikie’s “Text Book of Geology,” 1882, p. 72.
4
Information on this subject will be found in Mr. J. H.
Collins’ work, “The Hensbarrow Granite District.” Truro,
1878.
5
“Text Book of Geology,” 1882, p. 85.
6
“Aids in Practical Geology,” 1893, page 36.
7
See E. S. Dana, “Minerals and How to Study Them,”
1895, p. 154.
8
Consult “Applications of Geology,” etc., by Prof. Ansted,
1865, p. 116, et seq.
9
“Industrial Resources of the Tyne, Wear and Tees,”
1864, p. 204.
10
R. H. Scott, “Elementary Meteorology,” 1883, p. 137.
11
Report of British Association for 1846, Part II., p. 17.
12
Geological Magazine, N.S., Dec. III., Vol. V, 1888, pp. 26
et seq.
13
Such as “The Study of Rocks,” by F. Rutley: “Aids in
Practical Geology,” by Prof. Grenville Cole; “Tables for
the Determination of the Rock-forming Minerals,” by
Prof. Lœwinson Lessing; “Petrology for Students,” by A.
Harker; and especially “Microscopic Physiography of the
Rockmaking Minerals,” by Rosenbusch (transl. Iddings).
14
Consult the works on petrology previously mentioned.
15
The mode of preparation of thin rock sections for
examination by the microscope is described in much
detail in the works of Mr. Rutley and Professor Cole
previously alluded to; also in “Outlines of Field Geology,”
by Sir Archibald Geikie, 1882, p. 202 et seq.
16
16th Ann. Rep. U. S. Geol. Surv. (1894–95), pt. IV., p.
532.
17
16th Ann. Rep. U. S. Geol. Surv. (1894–95), pt. IV., p.
539.
18
“Testing of Materials of Construction,” 1888, p. 438.
19
British Clayworker, April, 1896, Supplement, p. iv.
20
Op. cit. p. iv.
21
16th Ann. Rep. U.S. Geol. Surv. Pt. IV., 1895, p. 532.
22
Engineering News (U.S.), Dec. 13th, 1894.
INDEX, &c.
Bases defined, 76
Basic bricks, 90
dolomite for, 55
magnesite for, 56
Biotite mica, 43
under blowpipe, 73
Black bricks, 101
Blowpipe, 58
Blue bricks, 101
Bluish-black brick-earths, 27
Boulder clay, 50
Bourges, Oxford clay of, 24
Bovey Heathfield clays, 20
Bracknell bricks, 135
Brick earths, artificial mixing, 42
artificial mixtures, 94, 95
bluish-black, 27
boulder clay, 50
brown, 27
chalk pebbles in, 50
changes in character on being dug into, 2, 5, 10
chemical composition of, 23, 52, 83, 84, 85
chemistry of, 58, 75
chert in, 41, 42
coprolites found in, 51
Cornwall, 35
Crayford, 1
Devon, 35
Erith, 1
estuarine, 21
fluviatile—Chapter I., 1–16
fossil shells in, 50
Ilford, 1
Kimeridge clay, 26
lacustrine—Chapter II., 17–21
Lincolnshire, 21
London clay, 33
marine, 22
mineral constitution, 28
minerals found in (see Kaolin, Felspar, Quartz, Flint, Mica,
Iron, Calcite, Aragonite, Selenite, Dolomite, Salt, etc.).
Northamptonshire, 21
North-Eastern France, 20
Oxford clay, 33
Reading mottled clay, 19
of river terraces, 12
salt in, 25
sea-shore, 25
section of fluviatile brick-earths, 10
several kinds of fluviatile, discussed, 14, 15
Switzerland, 89
Thames Valley, 1, 2, 3, 4, 5
value of chemical analyses of, 28, 29
Brickmaking: earths suitable for (see Brick-earths)
Bricks, abrasion tests, 146
absorption of, 132
basic, 90
Bracknell, 135
colour of, 100
Dinas, 81
discolouration of, 114
durability of, 103
effect of conflagrations on, 117
efflorescence on, 110
London stock, 97
micro-structure of, 29, 118, 128
rubber, 29
specific gravity, 146, 149
Staffordshire blue, 99
Stourbridge, 82
strength of, 136
vegetable growth on, 113
weathering of, 105, 113
British Museum, fossils in, from brick-earths, 3, 26
Bronzite, 69
Brown brick-earths, 27
Burning bricks, 94
changes produced by, 98
temperature, 89
Calc spar, 49
Calcite, 39, 49
behaviour in kiln, 39
micro-structure of, 131
under blow-pipe, 74
Californian magnesite, 56
Carbon dioxide in quartz, 41
Carbonate of lime (see Calcite, Aragonite)
Chalk in brick-earths, 1
mixed with brick-earths, 53
pebbles in brick-earths, 50
Chateauroux, Oxford clay of, 24
Chemical affinity, 76
analyses of brick-earths, 28
analysis, 77
composition of air, 106
composition of brick-earths, Dinas, 52
composition, china clays, 78
composition of fire-clays, 80
composition of Kieselguhr, 92
composition of magnesian limestones, 90
composition, pottery clays, 82
composition of slates, 87
disintegration of rocks, 20
re-agents, 60, 63, 71
Chemistry of brick-earths, 58, 75
Chert, 41
Cheshire, salt in clays in, 25
China-clays, behaviour in the kiln, 36
chemical composition, 78
Cornwall, 35, 36, 37
Devon, 35
China-clay (see Kaolin and Felspar)
thickness of, 38
China-stone, decomposed, 37
Colour in the kiln, 98, 99
Colouring matter of bricks, 45
of bricks, 53
Colour of bricks (see Blue, Black, etc.).
Coprolites: impure varieties of phosphate of lime
found in brick-earths, 51
Cornish granite, 35
Cornwall, china-clays, 35, 36, 37
Cracks formed in bricks, 52
Crayford, brick-earth at, 1
Dartmoor granite, 55
Denudation, agents of, described, 6, 7
of sea-cliffs, 22
Devon, china-clays, 35
Diatomaceous earth, 42, 91
Dinas bricks, 52, 81
Discolouration of bricks, 114, 135
Dolomite in brick-earths, 55
micro-structure of, 131
under blow-pipe, 74
Drying bricks, 94
Durability of bricks, 103
Felspar, 34
chemical composition of, 34
micro-structure of, 129
under blow-pipe, 73
Ferruginous matter (see Iron)
Fire-bricks, Dinas, 52
earths suitable for making, 21
effect of lime in, 53
Kieselguhr for, 42, 91
strength of, 136
Fire-clays, chemical composition of, 80, 81
Newcastle-on-Tyne, 80
tests, 148
Welsh localities, 81
Fishes, fossil, 25
Flint, 39, 41
behaviour of in the kiln, 42, 43
implement: an implement, or tool, made of flint—in the sense
indicated in this work an implement made by pre-historic
man.
implements, found in brick-earths, 3, 5
micro-structure of, 129
origin of, 41
Fluid inclusions in quartz, 41
Fluorine in clays, 59
Fluviatile brick-earths: brick-earths that have been deposited in
rivers
Fossil shells, carbonate of lime in, 50
shells found in brick-earths, 4
sponges, in flint, 42
Fusion of brick-earths in the kiln, 29, 31
Gault clay, 51
Glaze, micro-structure of, 119, 120
Glazing, salt, 57
Granite, Cornish, 35
Dartmoor, 35
Granites, weathering of, 36
Greece, magnesite in, 56
Green bricks, 101
Grizzly bear’s remains found in brick-earth, 2
Gypsum in brick-earths, 54
under blow-pipe, 74
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookfinal.com