Developing Responsive Web Applications with AJAX and jQuery 1st Edition Sandeep Kumar Patel instant download
Developing Responsive Web Applications with AJAX and jQuery 1st Edition Sandeep Kumar Patel instant download
https://ebookfinal.com/download/developing-responsive-web-
applications-with-ajax-and-jquery-1st-edition-sandeep-kumar-
patel/
https://ebookfinal.com/download/flask-web-development-developing-web-
applications-with-python-1st-edition-miguel-grinberg/
https://ebookfinal.com/download/liquid-crystal-dimers-1st-edition-
sandeep-kumar/
https://ebookfinal.com/download/developing-web-applications-with-
visual-basic-net-and-asp-net-1st-edition-john-alexander/
https://ebookfinal.com/download/ajax-and-php-building-modern-web-
applications-2nd-edition-bogdan-brinzarea-iamandi/
AJAX Rich Internet Applications and Web Development for
Programmers 1st Edition Paul J. Deitel
https://ebookfinal.com/download/ajax-rich-internet-applications-and-
web-development-for-programmers-1st-edition-paul-j-deitel/
https://ebookfinal.com/download/the-responsive-web-1st-edition-
matthew-carver/
https://ebookfinal.com/download/programming-asp-net-mvc-4-developing-
real-world-web-applications-with-asp-net-mvc-1st-edition-jess-
chadwick/
BIRMINGHAM - MUMBAI
www.allitebooks.com
Developing Responsive Web Applications with AJAX
and jQuery
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 author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be 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-78328-637-9
www.packtpub.com
www.allitebooks.com
Credits
Reviewers Proofreaders
Fernando Doglio Simran Bhogal
Md. Zahid Hasan Paul Hindle
Mohammad Amzad Hossain
Indexers
Jake Kronika
Hemangini Bari
Copy Editors
Roshni Banerjee
Sarang Chari
Janbal Dharmaraj
Gladson Monteiro
Deepa Nambiar
Karuna Narayanan
Adithi Shetty
www.allitebooks.com
About the Author
www.allitebooks.com
About the Reviewers
Fernando Doglio has been working as a web developer for the past 10 years.
During that time, he fell in love with the Web and has had the opportunity of
working with most of the leading technologies such as PHP, Ruby on Rails,
MySQL, Node.js, AngularJS, AJAX, REST APIs, and others.
In his spare time, he likes to tinker and learn new things, which is why his
GitHub account keeps getting new repos every month. He's also a big open
source supporter and tries to win the support of new people with the help
of his site: http://www.lookingforpullrequests.com/. He can be contacted
on Twitter at @deleteman123.
When not programming, he can be seen spending time with his family.
Md. Zahid Hasan is a professional web developer. He got his BSc and MSc in
Information and Communication Engineering from University of Rajshahi (RU),
Rajshahi. Now, he is working as a Lecturer in the department of Computer Science
and Engineering at Green University of Bangladesh. He previously worked as a
Software Developer at SEleven IT Limited for 2 years in Bangladesh.
He has a wide range of technical skills, Internet knowledge, and experience across
the spectrum of online development in the service of building and improving online
properties for multiple clients. He enjoys creating site architecture and infrastructure,
backend development using open source tools such as Linux, Apache, MySQL,
and PHP (LAMP), and frontend development with CSS and HTML/XHTML.
www.allitebooks.com
Mohammad Amzad Hossain has 7 years of experience building large-scale
complex websites and web applications. He works as a Branch Manager in Sourcetop
Inc. where he leads an offshore team in Dhaka, Bangladesh. His day-to-day life
requires him to plan, analyze, guide, and provide solutions for complex requirements.
In his free time, he digs into recent trends in web development and follows hundreds
of RSS that help him to keep up in the fast-track world of development. He has a BSc
degree in Computer Science Engineering.
He began his career early in life using online tools for static content and rapidly
progressed to building dynamic applications incorporating databases and server-side
scripting languages. He has been a Senior User Interface Software Engineer at ADP
Dealer Services in Seattle, WA, USA from 2011. Prior to this, he occupied numerous
senior-level positions in the UI space in Chicago, IL. He has also balanced considerable
freelance work under a sole proprietorship named Gridline Design & Development,
accessible at http://gridlined.com/, online since 1999.
Over the past several years, particularly as the HTML, CSS, and JavaScript portions
of websites have experienced rapid evolution, he has continually sought out and
digested new technological knowledge through reading, personal and client projects,
and other means. Some of his favorite current tools include Node.js and AngularJS,
Less/Sass, and Git VCS.
Prior to this book, he was a technical reviewer for the following Packt
Publishing titles:
www.allitebooks.com
www.PacktPub.com
Did you know that Packt offers eBook versions of every book published, with PDF and
ePub files available? You can upgrade to the eBook version at www.PacktPub.com and
as a print book customer, you are entitled to a discount on the eBook copy. Get in touch
with us at service@packtpub.com for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up
for a range of free newsletters and receive exclusive discounts and offers on Packt books
and eBooks.
TM
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital
book library. Here, you can access, read and search across Packt's entire library of books.
Why subscribe?
• Fully searchable across every book published by Packt
• Copy and paste, print and bookmark content
• On demand and accessible via web browser
www.allitebooks.com
www.allitebooks.com
Table of Contents
Preface 1
Chapter 1: Introduction to a Responsive Web Application 7
Benefits of a responsive design 8
Server- versus client-side detection 9
The technology stack 9
HTML5 10
CSS3 and media queries 10
JavaScript 11
Measuring responsiveness 11
Devices and screens 12
Media types 12
Media queries 14
Role of media queries 15
Responsive frameworks 15
Bootstrap 16
The Foundation framework 16
The Cascade framework 16
The Pure CSS framework 17
The Gumby framework 17
Bootstrap 3 for a responsive design 17
What are we building? 18
Summary 19
www.allitebooks.com
Table of Contents
[ ii ]
Table of Contents
[ iv ]
Table of Contents
[v]
Preface
Welcome to Developing Responsive Web Applications with AJAX and jQuery. If you
want to learn and understand responsive layout development or social application
integration using AJAX and jQuery, then this book is for you. It covers a systematic
approach for building a responsive web application.
All the key features of a responsive application are explained with the detailed
code. It also explains how to debug and test a responsive web application
during development.
Chapter 2, Creating a Responsive Layout for a Web Application, explains how to develop
a layout that will support different screen sizes to render using Bootstrap 3.
Chapter 6, Google+ Integration, shows how to integrate the Google+ login and +1
feature into the web application.
Preface
Chapter 7, Linking Dynamic Content from External Websites, explains how to integrate
the YouTube API to embed a recommended video into a web application.
Chapter 9, Integrating the Google Currency Converter with Your Web Application,
explains how to integrate the Google Currency API to help a user see the amount
in a different currency.
Chapter 10, Debugging and Testing, introduces the different available online and offline
tools to test a responsive application during development.
Conventions
In this book, you will find a number of styles of text that distinguish between
different kinds of information. Here are some examples of these styles, and an
explanation of their meaning.
[2]
Preface
Code words in text, database table names, folder names, filenames, file extensions,
pathnames, dummy URLs, user input, and Twitter handles are shown as follows:
"The data-toggle attribute has the value for the effect property such as collapse."
New terms and important words are shown in bold. Words that you see on
the screen, in menus or dialog boxes for example, appear in the text like this:
"The Arguments option is for passing additional arguments."
[3]
Preface
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about
this book—what you liked or may have disliked. Reader feedback is important for
us to develop titles that you really get the most out of.
If there is a topic that you have expertise in and you are interested in either writing
or contributing to a book, see our author guide on www.packtpub.com/authors.
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to
help you to get the most from your purchase.
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes
do happen. If you find a mistake in one of our books—maybe a mistake in the text or
the code—we would be grateful if you would report this to us. By doing so, you can
save other readers from frustration and help us improve subsequent versions of this
book. If you find any errata, please report them by visiting http://www.packtpub.
com/submit-errata, selecting your book, clicking on the errata submission form link,
and entering the details of your errata. Once your errata are verified, your submission
will be accepted and the errata will be uploaded on our website, or added to any list of
existing errata, under the Errata section of that title. Any existing errata can be viewed
by selecting your title from http://www.packtpub.com/support.
[4]
Preface
Piracy
Piracy of copyright material on the Internet is an ongoing problem across all media.
At Packt, we take the protection of our copyright and licenses very seriously. If you
come across any illegal copies of our works, in any form, on the Internet, please
provide us with the location address or website name immediately so that we
can pursue a remedy.
We appreciate your help in protecting our authors, and our ability to bring you
valuable content.
Questions
You can contact us at questions@packtpub.com if you are having a problem with
any aspect of the book, and we will do our best to address it.
[5]
www.allitebooks.com
Discovering Diverse Content Through
Random Scribd Documents
is empty, I will lock the door, and take care they do not come back
again."
Gottlieb, who was not aware that he was a somnambulist, stared
wildly. Karl, however, bade him obey, and he submitted blindly.
Consuelo had an insurmountable objection to entering Mayer's room.
But Karl said, in a low tone—"Why fear that man? He has too large a
bribe to betray you. His advice is good. I will return to the bastion.
Too much haste would destroy us!"
"Too much sang-froid and coolness might also do so," thought
Consuelo. But she yielded to Karl's advice. She carried a weapon
about her. As she crossed the kitchen of the Swartzes she had taken
possession of a carving-knife, the hilt of which gave her not a little
confidence. She had given Karl her money and papers, keeping on
her person nothing but her crucifix, which she looked on almost as
an amulet.
For greater security, Mayer shut her up in his room and left with
Gottlieb. After ten minutes, which to Consuelo appeared an age,
Nauteuil came for her, and she observed with terror, that he closed
the door and put the key in his pocket.
"Signora," said he, in Italian, "you have yet a half hour to wait. The
jackanapes are drunk, and will not quit the table until the clock
strikes one. Then the keeper, who has charge of the room, will put
them out of doors."
"What have you done with Gottlieb, sir?"
"Your friend, Gottlieb, is in safety behind a bundle of fagots, where
he can sleep soundly. He will not leave it until he is able to follow
you."
"Karl will be informed of all?"
"Unless I wish to have him hung," said the adjutant, with a diabolical
expression, as Consuelo thought. "I do not wish to leave him behind
us. Are you satisfied, signora?"
"I cannot prove my gratitude now, sir," said Consuelo, with a
coldness, in which he sought in vain to conceal disdain; "but I hope
ere long to discharge all my obligations to you honorably."
"Pardieu! you can discharge them at once," (Consuelo shrunk back
with horror.) "By exhibiting something of friendship to me," added
Mayer, with a tone of brutal and coarse cajolery. "You see, were I
not passionately fond of music, and were you not a pretty woman, I
would not violate my duty by thus enabling you to escape. Do you
think I have been led to this by avarice?—Bah! I am rich enough to
do without all this, and Prince Henry is not powerful enough to save
me from the rope or solitary confinement, if I should be discovered.
All this requires some consolation. Well, do not be proud; you know I
love you; my heart is susceptible, but you need not on that account
abuse my tenderness. You are not bigoted or religious; not you. You
are an actress, and I venture to say, you have succeeded by having
granted your favors to the managers. Pardieu! if, as they say, you
sang before Marie Theresa, you know Prince Kaunitz and his boudoir.
Now you have a less splendid room, but your liberty is in my hands,
and that is a more precious boon than an empress's favor."
"Is this a threat, sir?" said Consuelo, pale with indignation and
disgust.
"No; but it is a prayer, signora."
"I hope you don't make it a condition?"
"Not so. No, no! by no means," said Mayer with impudent irony,
approaching Consuelo with open arms as he spoke.
Consuelo was terrified, and fled to the extremity of the room. Mayer
followed her. She saw that if she sacrificed honor to humanity she
was lost; and suddenly, inspired by the wild ferocity of Spanish
women, as Mayer embraced her, she gave him about three inches of
the knife she had concealed. Mayer was rather fat and the wound
was not dangerous; but when he saw the blood, for he was as
cowardly as he was sensual, he thought he was dead, and came
near fainting, falling on his face on the bed. He cried out, "I am
murdered! I am dead!" Consuelo thought she had killed him, and
was also near fainting. After a few moments of silent terror, she
ventured to approach him and took the key of the room, which he
had let fall. No sooner had she possession of it than she felt her
courage revive. She went into the galleries and found all the doors
open before her. She went down a staircase, which led she knew not
whither. She could scarcely support herself, as she heard the alarm
clock, and not long after the roll of the drums. She also heard the
gun which had echoed through the night when Gottlieb's
somnambulism had caused an alarm. She sank on her knees at the
last steps, and clasping her hands, invoked God to aid Gottlieb and
the generous Karl. Separated from them, after having permitted
them to expose their lives for her, she felt herself powerless and
hopeless. Heavy and hasty steps sounded on her ears, the light of
torches dazzled her eyes, and she could not say whether this was
reality or the effect of delirium. She hid herself in a corner and lost
all consciousness.
[12]Consuelo here gave some details we have already mentioned
about the Swartz family. All that was mere repetition to the reader
has been suppressed.
CHAPTER XX
CHAPTER XXI
CHAPTER XXII
The weather became worse and worse. The wind began to blow
more violently, and our two fugitives walked for about half an hour,
sometimes across the briars, and then across the tall grass. At last
the rain became violent. Consuelo, as yet, had not said a word to
her companion, but seeing him uneasy about her, and looking for a
shelter, she said, "Do not be afraid on my account, Monsieur. I am
strong, and only suffer from seeing you exposed to such fatigue and
care for a person who is nothing to you, and for whom you do not
care."
The stranger made a gesture of joy at the sight of a ruined house, in
one corner of which he contrived to shelter his companion from the
torrents of rain. The roof had been taken away and the space
sheltered by the masonry was so small, that unless he stood close to
Consuelo, the stranger was forced to receive all the rain. He,
however, respected her condition, and went so far away as to banish
all fear. Consuelo, however, would not consent to accept his self-
denial. She called him, and seeing that he would not come, left her
shelter, and said, in a tone she sought to make joyous, "Every one
has his turn, Chevalier. I now will soak for a time. If you will not
share with me, take a shelter yourself."
The Chevalier wished to lead Consuelo back to the place about
which this amicable contest occurred. She resisted, however, and
said, "No, I will not yield. I see that I offended you to-day, by
expressing a wish to leave you at the frontier. I will atone for my
offence at the expense of a severe cold even."
The Chevalier yielded, and sheltered himself. Consuelo, seeing that
she owed him reparation, came to his side, though she was humbled
at the idea of having to make advances to him. She had rather seem
volatile than ungrateful, and, as an expiation of her fault, resolved to
be submissive. The stranger understood this so well, that he stood
as far from her as the small space they occupied would permit, and
it was only two or three feet square. Leaning against the wall, he
pretended to look away, lest he should annoy and trouble her by his
anxiety. Consuelo was amazed that a man sentenced to silence, and
who inflicted this punishment to a degree on himself, should divine
and understand her so well. Every moment augmented her esteem
for him, and this strange feeling made her heart beat so, that it was
with great difficulty that she could breathe the air this man, who so
strangely sympathised with her, inhaled.
After a quarter of an hour the storm became so lulled that the two
travellers could resume their journey. The paths were thoroughly
wet, and had become almost impassable for a woman. The Chevalier
for some moments suffered Consuelo to slip, and almost fall.
Suddenly, as if weary of seeing her fatigue herself, he took her in his
arms, and supported her as easily as if she had been a child. She
reproached him for doing so, it is true, but her reproaches never
amounted to resistance. Consuelo felt fascinated and overpowered.
She was transported by the cavalier through the wind and the storm,
and he was not unlike the spirit of night, crossing ravines and
thickets with as rapid and certain a step as if he had been
immaterial. Then they came to the ford of a small stream, where the
stranger took Consuelo in his arms, raising her up as the water
became deep.
Unfortunately the torrents of rain had been so rapid, that the course
of the rivulet was swollen, and it became a torrent, rolling in foam,
and roaring turbulently. It was already up to the knight's belt, and in
his efforts to sustain Consuelo, she feared that his feet, which were
in the slimy mire of the bed of the streamlet, would slip. She became
alarmed for his sake, and said, "For heaven's sake let me go; let me
go—I can swim!"
Just then a violent blast of wind threw down one of the trees on the
bank, towards which our travellers went, and this brought down an
avalanche of stones and mud, which for a moment made a natural
dike against the torrent. The tree had luckily fallen across the river,
and the stranger was beginning to breathe, when the water, making
a passage for itself, rushed into one headlong, mad current, against
which it was impossible for him to contend any longer. He paused,
and Consuelo sought to get out of his arms. "Leave me," said she; "I
do not wish to be the cause of your death. I am strong, and bold
also. Let me struggle for myself!"
The Chevalier, however, pressed her the closer to his heart. One
might have fancied that he intended to die with her. She was afraid
of his black mask—of this man, silent as the water-spirits of the old
German ballads, who wished to drag her below with him. For more
than a quarter of an hour the stranger contended with the fury of
the wind and storm with a coolness and obstinacy which were really
frightful, sustaining Consuelo above the water, and not advancing
more than a single step in four or five minutes. He contemplated his
situation calmly. It was as difficult for him to advance as to
withdraw, for if he did the water might sweep him away. At last he
reached the bank, and walked on, without permitting Consuelo to
put her foot on the ground. He did not even pause to take breath,
until he heard Karl, who was waiting anxiously for him, whistle. He
then gave his precious burden into the arms of the deserter, and
almost overpowered, sank on the ground. He was able only to sigh,
not breathe, and it seemed as though his breast would burst. "Oh!
my God, Karl!" said Consuelo, bending over him, "he will die! Listen
to the death-rattle! Take off that mask, which suffocates him!"
Karl was about to obey, but the stranger by a painful effort, lifted up
his icy hands, and seized that of the deserter. "True!" said Karl, "my
oath, signora. I swore to him that even were he to die in your
presence, I would not touch his mask. Hurry to the carriage, signora,
and bring me the flask of brandy which is on the seat; a few drops
will relieve him. Consuelo sought to go, but the Chevalier restrained
her. If he were about to die, he wished to expire at her feet.
"That is right," said Karl, who, notwithstanding his rude manners,
understood all love's mysteries, for he had loved himself. "You can
attend to him better than I can. I will go for the flask. Listen,
signora," he continued, in a low tone; "I believe if you loved him,
and were kind enough to say so, that he will not die; otherwise I
cannot promise."
Karl went away smiling. He did not share Consuelo's terror. He saw
that the suffocating sensation of the Chevalier was becoming
allayed. Consuelo was terror-stricken, and fancying she witnessed
the death agony of this generous man, folded him in her arms, and
covered his broad brow—the only part of his face the mask did not
cover—with kisses.
"I conjure you," said she, "remove that mask. I will not look at you.
Do so, and you will be able to breathe."
The stranger took Consuelo's two hands and placed them on his
panting bosom, as much to feel their sweet warmth as to allay her
anxiety to aid by unmasking him. At that moment all the young
woman's soul was in that chaste embrace. She remembered what
Karl had said, in a half growling and half softened mood.
"Do not die," said she; "do not die. Do you not see that I love you?"
Scarcely had she uttered these words than they seemed to have
fallen from her in a dream. They had escaped her lips in spite of
herself. The Chevalier had heard them. He made an effort to rise. He
fell on his knees, and embraced those of Consuelo, who, in her
agitation shed tears.
Karl returned with the flask. The Chevalier refused the favorite
specific of the deserter, and leaning on him reached the coach,
where Consuelo sat by him. She was much troubled at the cold,
which could not but be communicated to him by his damp clothes.
"Do not be afraid, signora," said Karl, "the Chevalier has not had
time to grow cold. I will wrap him up in his cloak, which I took care
to put in the carriage when I saw the rain coming. I was sure he
would be damp. When one has become wet, and puts on dry
apparel over all, heat is preserved for a long time. It is as if you
were in a warm bath, and it is not at all unhealthy."
"You, Karl, do the same thing; and take my mantle, for you have
also got wet."
"I? Ah! my skin is thicker than yours. Put your mantle on the
Chevalier; pack him up well; and if I kill the poor horse, I will hurry
on to the next relay."
For an hour Consuelo kept her arms around the stranger; and her
head resting on his bosom, filled him with life far sooner than all the
receipts and prescriptions of Karl. She sometimes felt his brow, and
warmed it with her breath, in order that the perspiration which hung
on it might not be chilled. When the carriage paused, he clasped her
to his breast with a power that showed he was in all the plenitude of
life and health. He then let down the steps hastily, and disappeared.
Consuelo found herself beneath a kind of shed, face to face with an
old servant, half peasant in his appearance, who bore a dark lantern,
and led her by a pathway, bordered by a hedge, to an ordinary-
looking house, a kind of summer retreat, the door of which he shut,
after having ushered her in. Seeing a second door open, she went
into a little room, which was very clean, and simply divided into two
parts. One was a well-warmed chamber, with a good bed all
prepared; and in the other was a light and comfortable supper. She
noticed with sorrow that there was but one cover, and when Karl
came to offer to serve her, she did not dare to tell him the only thing
she wished was the company of her friend and protector.
"Eat and sleep yourself, Karl," said she, "I need nothing. You must
be more fatigued than I am."
"I am no more fatigued than if I had done nothing but say my
prayers by the hearthside with my poor wife, to whom may the Lord
grant peace! How happy was I when I saw myself outside of
Prussia; though to tell the truth, I do not know if I am in Saxony,
Bohemia, Poland, or in China, as we used to say at Roswald, Count
Hoditz's place."
"How is it possible, Karl, that you could sit on the box of the
carriage, and not know a single place you passed through?"
"Because I never travelled this route before, signora; and I cannot
read what is written on the bridges and signboards. Besides, we did
not stop in any city or village, and always found our relays in the
forest, or in the courtyard of some private house. There is also
another reason, signora—I promised the Chevalier not to tell you."
"You should have mentioned that reason first, Karl, and I would not
object. But tell me, does the Chevalier seem sick?"
"Not all, signora. He goes and comes about the house, which does
not seem to do any great business, for I see no other face than that
of the silent old gardener."
"Go and offer to help him, Karl. I can dispense with you."
"Why, he has already refused my services, and bade me attend to
you."
"Well, mind your own affairs, then, my friend, and dream of liberty."
Consuelo went to bed about dawn, and when she had dressed, she
saw by her watch that it was two o'clock. The day seemed clear and
brilliant. She attempted to open the blinds, but in both rooms they
were shut by a secret spring, like those of the post-chaise in which
she had travelled. She sought to go out, but the doors were
fastened on the outside. She went to the window, and saw a portion
of a moderate orchard. Nothing announced the vicinity of a city or a
travelled road. The silence of the house was complete. On the
outside nothing was heard but the hum of insects, the cooing of
pigeons on the roof, and from time to time the plaintive creaking of
the wheelbarrow, where her eye could not reach. She listened
mechanically to these agreeable sounds, for her ear had long been
deprived of the sounds of rustic life. Consuelo was yet a prisoner,
and the anxiety with which she was concealed gave her a great deal
of unhappiness. She resigned herself for the time to a captivity the
aspect of which was so gentle; and she was not so afraid of the love
of the Chevalier as of Mayer.
Though Karl had told her to ring for him as soon as she was up, she
was unwilling to disturb him, thinking he needed a longer sleep than
she did. She was also afraid to awaken her other companion, whose
fatigue must have been excessive. She then went into the room next
to her chamber, and instead of the meal which she left on the
previous evening, there was a collection of books and writing
materials.
The books did not tempt her. She was far too much agitated to use
them. But amid all her perplexity, she was delighted at being able to
retrace the events of the previous night. Gradually the idea
suggested itself, as she was yet kept in solitary confinement, to
continue her journal, and she wrote the following preamble on a
loose sheet:—
"Dear Beppo—For you alone I resume the story of my strange
adventures. Accustomed to speak to you with the expansion of heart
inspired by the conformity of ages and ideas, I can confide to you
emotions my other friends would not understand, and would
perhaps judge more severely. This commencement will tell you that I
do not feel myself free from error. I have erred in my own opinion,
but as yet I cannot appreciate the consequences.
"Joseph, before I tell you bow I escaped from Spandau, (which
indeed appears trifling compared with what now occupies me), I
must tell you... How can I? I do not know myself. Have I dreamed? I
know that my heart burns and my brain quivers as if it would rush
from me and take possession of another frame. I will tell you the
story simply; for the whole truth, my friend, is contained in the
simple phrase—I love!
"I love a stranger! a man, the sound of whose voice I have never
heard! You will say this is folly. You are right; for love is but
systematic folly. Listen, Joseph, and do not doubt that my happiness
surpasses all the illusions of my first love, and that my ecstacy is too
intoxicating to permit me to be ashamed at having so madly
assented and foolishly placed my love, that I know not if I will be
loved in return. Ah! I am loved! I feel it so well! Be certain that I am
not mistaken; that now I love truly—I may say, madly! Why not?
Does not love come from God? It does not depend on us to kindle it
in our hearts, as we light a torch at the altar. All my efforts to love
Albert, (whose name I now tremble to write,) were not sufficient to
enkindle that ardent and pure flame. Since I lost him I loved his
memory better than I ever did his person. Who knows how I could
love him, were he restored to me again?"
Scarcely had Consuelo written these last words than she effaced
them, not so much that they might not be read, as to shake off a
feeling of horror at having ever suffered them to enter her mind. She
was greatly excited, and the truth of the inspiration of love betrayed
itself in spite of her wishes, in all her inmost thoughts. In vain she
wished to continue to write, that she might more fully explain to
herself the mystery of her heart. She found nothing that could more
distinctly render its delicate shades than the words, "Who knows
how I could love him, were he restored to me?"
Consuelo could be false. She had fancied that she loved the memory
of a dead man with real love; but she now felt life overflowing in her
heart, and a real passion take the place of an imaginary one.
She sought to read again all that she had written, and thus to
recover from her disorder of mind. But it was in vain. Despairing of
being able to enjoy calm enough to control herself, and aware that
the effort would give her a fever, she crushed the sheet she had
written in her hands, and threw it on the table until she might be
able to burn it. Trembling like a criminal, with her face in a blaze,
she paid attention to nothing, except that she loved, and that
henceforth she could not doubt it. Some one knocked at the door of
her room, and she went to admit Karl. His face was heated, his eyes
haggard, and his jaws hanging. She thought him over-fatigued; but
from his answers, soon saw that he had drank, in honor of his safe
arrival, too much of his host's wine. This was Karl's only defect. One
dram made him as confident as possible; another made him terrible.
He talked of the Chevalier, who seemed the only subject on his
mind. He was so good, so kind. He made Karl sit down, instead of
waiting at the table. He had insisted on his sharing his meal, and
had poured out the best wine for him, ringing his glass with him,
and holding up his head, as if he were a true Sclave.
"What a pity he is an Italian! He deserves to be a real Bohemian; for
he carries wine as well as I do," said Karl.
"That is not saying much," said Consuelo, who was not highly
charmed at the Chevalier measuring cups with a soldier. She soon,
however, reproached herself for having thought Karl inferior to her
and her friends, after the services he had done her. Besides, it was
certainly to make him talk of her that the stranger had associated
with her servant. Karl's conversation soon showed her that she was
not mistaken.
"Oh! signora," added he simply, "this good young man is mad with
love for you, and would commit even crime and incur disgrace to
serve you."
"I will excuse him," said Consuelo, whom these expressions greatly
displeased. Karl did not understand. She then said, "Can you explain
why I am shut up here?"
"Ah! signora, did I know, I would have my tongue cut out rather
than tell. I promised the Chevalier to answer none of your
questions."
"Thank you. Then you love the Chevalier better than you do me?"
"Not so. I said not so, but since he satisfied me that he is in your
interests, I must serve you in spite of yourself."
"How so?"
"I do not know; but I am sure it is so. He has ordered me, signora,
to shut you up, to watch you, to keep you a prisoner until we come
to——"
"Then we do not stay here?"
"We go at night. We will not travel by day, to save you from fatigue,
and for other reasons I know nothing of."
"And you are to be my jailer?"
"I swore so on the bible, signora."
"Well, this Chevalier is a strange person. I am helpless then; but for
a jailer I like you better than I did Herr Swartz."
"I will treat you better," said Karl kindly. "Now I will get your dinner."
"I want none, Karl."
"That is not possible. You must dine—and well, too. Such are my
orders. You know what Swartz said about orders."
"Take him as your model, and you will not make me eat. He was
only anxious I should pay."
"That was his business; but with me things are different. That
concern is the chevalier's. He is not mean, for he scatters gold by
handsful. He must be rich, or his fortune will not last."
Consuelo asked for a light, and went into the next room to burn
what she had written, but during her absence it had disappeared.
CHAPTER XXIII
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