Creating Mobile Apps with jQuery Mobile 1st Edition Shane Gliser instant download
Creating Mobile Apps with jQuery Mobile 1st Edition Shane Gliser instant download
https://ebookname.com/product/creating-mobile-apps-with-jquery-
mobile-1st-edition-shane-gliser-2/
https://ebookname.com/product/creating-mobile-apps-with-jquery-
mobile-1st-edition-shane-gliser/
https://ebookname.com/product/creating-mobile-apps-with-jquery-
mobile-second-edition-andy-matthews/
https://ebookname.com/product/learning-react-native-building-
native-mobile-apps-with-javascript-1-early-release-edition-
bonnie-eisenman/
https://ebookname.com/product/companion-for-3rd-mbbs-community-
medicine-13th-edition-yatiraj-singi/
Moscow and the Emergence of Communist Power in China
1925 30 The Nanchang Uprising and the Birth of the Red
Army 1st Edition Bruce Elleman
https://ebookname.com/product/moscow-and-the-emergence-of-
communist-power-in-china-1925-30-the-nanchang-uprising-and-the-
birth-of-the-red-army-1st-edition-bruce-elleman/
https://ebookname.com/product/under-one-roof-again-all-grown-up-
and-re-learning-to-live-together-happily-1st-edition-susan-
newman/
https://ebookname.com/product/cathedrals-of-science-the-
personalities-and-rivalries-that-made-modern-chemistry-1st-
edition-patrick-coffey/
https://ebookname.com/product/traditional-chinese-medicine-
theory-and-principles-1st-edition-dongpei-hu/
https://ebookname.com/product/william-rex-a-model-of-a-17th-
century-warship-2005th-edition-ab-hoving/
Control Systems Principles and Design Third Edition M.
Gopal
https://ebookname.com/product/control-systems-principles-and-
design-third-edition-m-gopal/
Creating Mobile Apps with
jQuery Mobile
Shane Gliser
BIRMINGHAM - MUMBAI
Creating Mobile Apps with jQuery Mobile
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-78216-006-9
www.packtpub.com
Shane began working with jQuery Mobile while it was still in the Alpha 2 phase and
deployed American Century Investments' mobile site while the framework was still
in Beta 2. Since then, he has rebranded and re-launched his own personal business,
Roughly Brilliant Digital Studios (http://roughlybrilliant.com), as a place
where he could start blogging tips about using jQuery Mobile.
Major thanks go to Todd Parker, Scott Jehl, and the rest of the crew
at Filament Group and the many other volunteers who have given
their time and talent to creating jQuery Mobile.
Jim Tharp, thank you for being my mobile partner-in-crime and for
your continuous, epic sense of humor.
Mario Agüero is a Software Engineer from Costa Rica with a long experience in
both software development and academics.
He has developed several backend engines for clients and directed the adoption of
best practices for growing business. From the last couple of years, he has also been
working in frontend development, developing great interfaces and components for
his clients' websites.
He has the advantage of being strongly agnostic about platforms, making him one
of the few persons recognized as an excellent instructor and architect in both .NET
and Java.
On the academic side, he has always been ahead in actively promoting technologies
such as XML, JavaScript, and JSON before they became mainstream. He has helped
with and developed several training programs for professional updates and
career changes.
He has also reviewed the Spanish editions of several books, such as PHP for
Dummies.
He has been working as Senior Software Developer at Krembo Interactive and D1SH.
COM CORP., Canada, for 2 years.
He has a wide array of technical skills, knowledge of the Web, and experience
across a spectrum of online-development activities in building and improving
online properties, which he has done for multiple clients. He enjoys creating
site architecture and infrastructure; backend development using open source
technologies such as PHP, MySQL, Apache, Linux, and others (for example, LAMP);
and frontend development using CSS and HTML/XHTML.
I want to thank my loving wife, Maria Akther, for her great support.
Andy Matthews has been working as a web and application developer for over 16
years, with experience in a wide range of industries and a skillset which includes UI/
UX, graphic design, and programming. He has co-authored the book jQuery Mobile
Web Development Essentials, and writes for online publications such as NetTuts and
.NET Magazine. He is a frequent speaker at conferences around the USA, and he has
developed software for the open source community including several of the most
popular jQuery Mobile projects on the web. He blogs at andyMatthews.net, he tweets
at @commadelimited. He lives in Nashville, Tennessee with his wife and four children.
Tony Pye has over 10 years of experience in producing web-based solutions, and
strives to stay ahead when it comes to rapidly-evolving web technologies in order to
be able to offer innovative solutions.
Liaising with members from the creative and user-experience teams, meeting clients,
presenting ideas, and helping define goals are just a part of Tony's normal day at INK.
Some of the solutions he has helped produce have delivered exciting results for
companies including Ballymore, Morrisons, Renault, Tarmac, Aviva, LA fitness, and
the University of Leeds.
Tony has also worked on a number of other books as the technical reviewer, which
include Pro HTML5 Programming and The Definitive Guide to HTML5 WebSocket
(not yet published).
I'd like to thank my beautiful wife for her support and patience
during the long nights I've worked. Her fantastic coffee-making
skills were certainly put to great use. Thanks darling!!
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
[ iii ]
Table of Contents
[ iv ]
Preface
By the end you will have all the skills necessary to take jQuery Mobile and a host of
other technologies and techniques to create truly unique offerings. This will be fun.
It will be challenging, and by the end, you will be quoting Bob the Builder, "Can we
build it? Yes we can!"
Chapter 3, Analytics, Long Forms, and Front-end Validation, takes the casual
implementation of Chapter 2 and adds in Google Analytics, the jQuery Validate
framework, and a technique for dealing with long forms.
Chapter 4, QR Codes, Geolocation, Google Maps API, and HTML5 Video, will have you
implement a site for a movie theater chain.
Preface
Chapter 5, Client-side Templating, JSON APIs, and HTML5 Web Storage, creates a
social news nexus, tapping into the API powers of Twitter, Flickr, and the Google
Feeds API.
Chapter 6, HTML5 Audio, takes HTML5 audio and progressive enhancement to turn a
very basic web audio player page into a musical artist's showcase.
Chapter 8, Integrating jQuery Mobile into Existing Sites, explores the methods of
building jQuery Mobile sites for clients who want their pages mobilized but don't
have a content management system (CMS). We also dig deep into mobile detection
methods including client-side, server-side, and a combination of the two.
Chapter 9, Content Management Systems and jQM, teaches us how to integrate jQM
into WordPress and Drupal.
Chapter 10, Putting it all together – Flood.FM, builds on the knowledge of the
previous chapters and creates, adds a little more, and considers compilation
using PhoneGap Build.
• A text editor
All you need is a basic text editor for your code; Notepad++ is great on
Windows. I really like Sublime Text 2. Eclipse will work though it's a bit
heavy-handed. Dreamweaver is pretty good but pricey. It really doesn't
matter much; you can pick whatever text editor makes you happy.
• A web server
You could use a hosted solution such as HostGator, Godaddy, 1&1, and
many more, or keep all your testing local using something like XAMPP,
WAMP, MAMP, or LAMP on your development box.
• JavaScript libraries
Here and there in the chapters we'll introduce a few JS libraries. In each case,
I'll tell you what they are and where to find them.
• A developer's sense of humor
We all think of it, we all say it. You'll find a rant or two in here. Take them for
what they're worth and never too seriously.
[2]
Preface
• A safe bet
The core jQuery library is used on over 57 percent of all websites in
existence and the growth rate shows no signs of slowing. (http://trends.
builtwith.com/javascript/jQuery). It is, by far, the most trusted name
in open source JavaScript libraries. Now that they have tossed their hat into
the mobile ring, you can bet that jQuery Mobile is a pretty safe choice for
reaching the most people with the smallest effort.
[3]
Preface
It is also worth noting that you will probably move on from most of your
projects after a time. Using jQM will increase the likelihood that whoever
comes after you will already have the skill set to pick up where you left off.
• Broadest device support
jQuery Mobile has the broadest range of device support. This has always
been part of their mission through their exceptional adherence to progressive
enhancement (PE). When an escalator breaks, it does not become completely
useless. It becomes simply stairs. In the same way, jQuery Mobile does some
really awesome things for those who have smartphones. But what about the
rest? They will see a standard web page without all the bells and whistles. At
the end of the day, a well-crafted jQM page can work for everyone.
• Mobile-first but not mobile-only
jQM was designed from the ground up with mobile in mind but with some
judicious use of responsive web design (RWD), a single jQM project can
service mobile, tablet, and even desktop.
• Declarative, not programmatic
Most of what you want to do in jQM can be done without writing a single
line of code. This makes it an ideal tool for even the newest of newbs to
jump in and get their feet wet in the mobile space. Designers with no real
programming experience can easily turn their visions into skinned, working
prototypes. For those of us who can program, it means that there is much less
coding we need to do and that is always a good thing. jQM perfectly fits the
jQuery core motto of "write less, do more."
• jQM versus other frameworks
There are many choices for your consideration if you want to use a
mobile framework. Check out http://www.markus-falk.com/mobile-
frameworks-comparison-chart/ for a breakdown tool comparing all the
options. The bottom line is this: if you want to support everybody and do it
easily, jQuery Mobile is the right choice of framework.
• jQM versus responsive web design
Much is being said these days about RWD. I'm all for it. A single unified site
is every developer's dream. However, this usually requires that the website
be built from the ground up with RWD in mind. This also presumes that
every page of the site is worth serving to a mobile audience. If you ever have
such a growth opportunity, enjoy it.
[4]
Preface
The sad truth is, most of the rest of us don't get the luxury of starting a whole
new site from scratch, nor the time and tripled budget to do the job right.
And, if we're being quite honest… many sites have a lot of useless pages
that have no business being in the ultra-focused, task-oriented, get-in-get-
out-world that is the mobile web. You know it. I know it. A custom crafted
solution that perfectly fits the users' needs and context is usually a better way
to go.
• jQM versus rolling your own
You certainly could choose to roll out your own mobile sites from scratch but
that would be tantamount to felling a forest with an axe so you could make
the boards to build your own house. You are no less of a craftsman for using
premade components to make your masterpiece. Mobile frameworks exist
for a reason, the amount of development time and cross-device testing that
goes into them will save you more time and headaches than you can fathom.
It is worth noting that two out of the three top industry leaders highlighted
in Kasina's report, Mobile Leadership for Asset Managers and Insurers (http://
www.kasina.com/Page.asp?ID=1415), were crafted using jQuery Mobile.
Franklin Templeton, American Century Investments, and Vanguard were
highlighted. The first two were implemented using jQM.
Full disclosure: I was part of the team that created the referenced version of the
mobile site for American Century Investment so I'm rather proud of this report.
While this situation can be almost as annoying as early editions of Internet Explorer,
jQuery Mobile can help, thanks to its masterful use of progressive enhancement. If
you have coded your pages in accordance with the framework's design then you will
have nothing to fear by the loss of JavaScript. The site will still work. It may not be
as pretty, but it will function for everyone from the smartest of smartphones to the
dumbest of "dumbphones".
It is our responsibility (as distasteful as it may be) to test our offerings with
JavaScript turned off to ensure that people can always access our product. It is
not hard to flip the settings on our phones and just take a look at what happens.
Frequently, it's trivial to fix whatever is wrong.
[5]
Preface
All that being said, we are going to mercilessly break that rule in this book because we
are going beyond the basics of the framework. When possible, we will try to keep this
principle in mind and provide fallback alternatives but some of what we are going to
try just can't be done without JavaScript. Welcome to the twenty-first century!
Accessibility
Smartphones are excellent tools for those with accessibility needs. The jQuery
Mobile team has made every effort to support the W3C's WAI-ARIA standards
for accessibility. At the very least, you should test your finished product with your
phone's voice assist technologies. You will be shocked at just how well your site can
perform. Your customers who need the help with be thrilled.
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.
Code words in text are shown as follows: "To use the manifest file, your web server or
.htaccess will have to be configured to return the type of text/cache-manifest."
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: "From there
you can download the latest copy of WURFL API package and unzip it."
[6]
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/support, 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 to our website, or added to any list
of existing errata, under the Errata section of that title.
[7]
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.
[8]
Another Random Document on
Scribd Without Any Related Topics
fermeté littéraire, et donné naissance à cette sorte de langueur qui
devait produire ensuite toute l'école des mélancoliques et des élégiaques.
L'invasion de la littérature allemande, menée par Werther, ne fit
qu'accroître encore le mal, et surexcita encore la sensibilité intellectuelle
des lectrices françaises. M. Nodier subit, comme tout le monde, et plus
vivement que tout le monde, cette influence romanesque qui agissait sur
les nerfs plus encore que sur les cœurs; et, comme l'a très bien dit un
critique, il fut une sorte de Saint-Preux Wertherisé, encyclopédiste
sensible, à la manière de Rousseau; naturaliste passionné, à la manière
de Goethe. Tout le secret du talent de M. Nodier est dans cette excessive
sensibilité intellectuelle, dans cette vivacité d'impressions qui le
soumirent aux influences les plus diverses de l'atmosphère littéraire.
Mais ce qui distingue surtout l'auteur d'Adèle de tous ceux qui suivirent
sa voie, c'est le style. Il faut bien le reconnaître, M. Nodier fut, avant
tout, un écrivain, dans le sens propre du mot, un homme de style ou
styliste, comme dit M. Sainte-Beuve. Avec un don de langue merveilleux,
il joignit le savoir philologique le plus profond, et se montra de bonne
heure le digne élève du chevalier Croft, qui étudiait le style à l'aide d'une
loupe, ayant découvert, au dire même de M. Nodier, «l'atome, la monade
grammaticale.» Tous les critiques se sont accordés à louer la facilité
merveilleuse, la souplesse infinie, l'harmonie gracieuse de ce style
admirable, «qui se dévide comme un ruban,... qui ne finit que lorsque
l'écrivain lui-même en coupe la trame, et qui, sans cela, se dérouterait à
l'infini et incessamment.»--M. Sainte-Beuve appelle ingénieusement
Charles Nodier l'Arioste de la phrase.
C'est aussi par ce côté qu'il conservera une place honorable dans notre
littérature; le jugement de la postérité saura tenir compte à Charles
Nodier d'avoir été un homme de style à l'époque où le style se faisait si
rare chez nous que les plus riches productions littéraires en étaient
souvent dépourvues; comme poète et comme inventeur, il a sans doute
été dépassé et surpassé; comme écrivain il demeure au premier rang; et
la plus grande critique qui puisse lui être adressée, c'est d'avoir eu un
style supérieur à son talent, ou, pour mieux dire, un génie inférieur à sa
plume.
Fragment d'un Voyage en Afrique2
Un jeune homme, que son esprit aventureux poussait à toutes les choses
hardies, ne pouvant trouver en France ce qu'il y cherchait, c'est-à-dire
une position indépendante, résolut de profiter du traité de paix qui venait
d'être signé entre le général Bugeaud et Abd-el-Kader pour visiter
l'intérieur de l'Afrique et poser, au centre même de la puissance arabe,
les bases d'un vaste comptoir. Il espérait réaliser ainsi non-seulement
d'immenses bénéfices, mais encore être utile à son pays, en l'aidant à
étendre son influence civilisatrice parmi les peuplades de l'antique
Mauritanie. L'événement ne justifia point ses prévisions. Après plusieurs
mois de séjour dans les diverses tribus de l'émir, il regagna la terre
natale, n'emportant avec lui qu'un album sur lequel il avait consigné ses
impressions. C'est de cet album qu'est extrait le récit qu'on va lire, récit
rapide, mais exact, de ce qu'il a vu d'important dans les douairs, dans les
villes et dans les camps, qui se lèvent tous comme un seul homme à
l'ordre d'Abd-el-Kader, et marchent à la destruction au nom de la divinité.
Nos lecteurs verront avec intérêt se dérouler sous leurs yeux le tableau
des ressources, des habitudes et des mœurs de ces Arabes si peu connus
de nous encore, quoique, depuis quatorze ans, nous leur fassions une
guerre continuelle.
Je n'eus pas de peine à obtenir de mon guide, bavard comme tous les
guides, quelques détails sur ces êtres dont la vie nomade et excentrique
a toujours excité l'intérêt du touriste. Il ne cessa de parler que lorsque je
lui montrai la ville de Tazza, qui étalait au soleil les murs crénelés de sa
forteresse.
La route qui conduit de Tazza à la mine de Lassagah est belle, unie, bien
tracée, mais la pluie la rend impraticable à raison de la nature du terrain,
qui est argileux. Il n'y a dans le district qu'une petite quantité d'eau
sulfureuse.
Pendant mon séjour à Tazza, qui n'a pas duré moins de quatre mois,
j'eus l'occasion de me lier d'amitié avec le gouverneur de la place.
Kredour-Berouela. C'est un Algérien d'une quarantaine d'années, de
haute stature et d'une physionomie franche et ouverte. Il a demeuré sept
ans à Alger, où il a puisé dans le commerce des Français beaucoup de
connaissances utiles qui lui ont attiré l'affection de l'émir. Sans lui, le fort
de Tazza n'aurait subi aucune des améliorations qui le distinguent des
autres places fortes. Il était chargé d'affaires d'Abd-el-Kader auprès du
gouverneur, mais s'étant compromis en 1837, il fut obligé de fuir, sous un
déguisement de femme, pour échapper aux Français qui le poursuivaient,
et qui, une heure après son départ, envahissaient sa maison afin de
s'assurer de sa personne. Il se rendit auprès de l'émir, qui l'accueillit
favorablement en reconnaissance des éminents services qu'il en avait
reçus. Il alla d'abord à Milianah, où il appela plus tard sa famille,
Berouela administre avec talent les tribus placées sous ses ordres et qui
campent autour de la forteresse. Les Arabes de la campagne se rendent
tous les jeudis en ville et y établissent un marché où abondent les
produits du pays. Le gouverneur a de l'esprit naturel et une certaine
instruction qu'il est rare de trouver chez un Arabe. Aucune question ne
l'embarrasse, et il mène à bonne fin presque tout ce qu'il entreprend. Il
est d'un accès facile, d'une grande familiarité, quoique juste et sévère;
son cœur est bon, mais il sait se faire obéir et ne pardonne jamais une
faute. Quand il a prononcé, le jugement s'exécute, eût-il été porté contre
son propre père. Les droits de son maître sont les seuls légitimes à ses
yeux; aussi est-il l'ennemi acharné des Français. Au commencement des
dernières hostilités, il leur fit beaucoup de mal dans la Mitidja, en
compagnie du kalifat de Milianah, dont il suit la bannière. Il paie toujours
de sa personne et affronte la mort avec une témérité surprenante,
Quoique gouverneur absolu de Tazza et des tribus circonvoisines, il est
sous les ordres du kalifat de Milianah. Abd-el-Kader estime beaucoup son
habileté, son sang-froid et son courage; il ne fait rien sans le consulter. Il
lui a fait don d'une jolie maison de campagne, située non loin de Tazza.
Je n'ai qu'à me louer des bons procédés de Berouela. Les Européens et
les ouvriers français qui ont visité le gouverneur rendent également
justice à la douceur et à l'aménité de son caractère.
A part ces craintes, que rien ne vint justifier, nous fîmes un délicieux
voyage au milieu des merveilles de la nature. Les tableaux les plus
sublimes se déroulaient à nos yeux; les montagnes que nous parcourions
étaient d'un pittoresque admirable et d'une solitude effrayante; tout y
était grandiose, morne et silencieux. La hauteur de ces montagnes est
incommensurable, leurs formes sont très-variées; les rayons du soleil
n'arrivent pas à certains endroits. Tantôt, perché au sommet d'une de
ces masses granitiques, on jette un regard effrayé sur le précipice qui
s'ouvre sous vos pieds; tantôt, du fond de la vallée, on lève avec
admiration les yeux sur les frères jumeaux de l'Atlas. Quelques-unes de
ces montagnes sont taillées à pic et inaccessibles; on n'y retrouve
aucune trace d'habitations; c'est un amas de rochers dont le silence n'est
interrompu que par le bruit des eaux qui tombent avec fracas des cimes
dans les gorges et que répètent à l'envi les échos.
Nous quittâmes bientôt la route tracée pour suivre d'étroits sentiers dont
les difficultés rendaient notre marche pénible. La nuit approchait; nous
nous occupâmes de chercher un douair où nous pussions nous reposer
des fatigues de la journée; nos yeux interrogèrent longtemps les
profondeurs de la nuit, ce fût en vain. Nous avançâmes toujours, au
risque de nous égarer, franchissant les montagnes avec une rapidité peu
ordinaire, et comptant découvrir enfin ce que nous recherchions avec
tant d'ardeur. Au moment où nous désespérions de trouver un abri, nous
aperçûmes au loin une clarté douteuse; nous dirigeâmes nos pas de ce
côté. Bientôt la lumière se montra plus vive et brilla à quelques pas de
nous; elle provenait d'un douair composé d'une douzaine de tentes où
nous arrivâmes harassés par une longue marche au milieu des ténèbres.
L'intérieur de notre tente était plongé dans une obscurité complète; nous
allumâmes quelques tisons d'où jaillit une vive lumière, mais la fumée,
n'ayant aucun conduit par où s'échapper, se répandit dans la chambre, et
faillit nous asphyxier. Nous étions logés entre deux vaches, et en
compagnie d'un poulain que nous n'avions pas encore remarqué en
entrant; il nous fallut user de précaution pour tenir à l'écart ces
incommodes voisins, et cette circonstance nous obligea, malgré la fumée,
à laisser brûler les tisons. Des œufs, du lait, des poules, du pain pétri
avec du beurre frais et cuit sur une brique, un mouton, telles furent les
provisions qu'on nous donna, et avec lesquelles nous nous mîmes en
mesure de satisfaire le plus vigoureux appétit; nous avions tant marché
dans la journée que nous finies le plus grand honneur à ce magnifique
repas.
Ce fut pendant cette nuit que j'aperçus les femmes de ces Arabes à demi
sauvages. On n'avait jamais, avant moi, accordé l'hospitalité à un
Européen; j'étais donc un objet nouveau pour elles, et la curiosité
naturelle à leur sexe les poussa à me visiter. Quelques-unes, dans le but
de satisfaire ce besoin et de faire de leur hôte un examen plus
approfondi, m'apportèrent des œufs frais et du lait; mais à peine eurent-
elles déposé leurs dons à mes pieds, qu'elles s'enfuirent, précipitamment,
comme si j'allais les dévorer. Si j'en juge par leur empressement à me
quitter, je fis sur leur esprit une impression défavorable; elles considèrent
sans doute les Européens de la même manière que ceux-ci considèrent
les lions de leurs forêts. La différence des mœurs des habitants de ces
douairs avec celles des autres Arabes provient de l'isolement dans lequel
vivent les premiers, tandis que ceux-ci ressentent déjà les effets de la
civilisation.
Allons, mes jeunes cavaliers, allons, mes toutes belles, voici l'hiver qui
commence! c'est votre saison de prédilection, la saison de vos joies les
plus vives, de vos enivrements les plus doux. On vante le printemps:
préjugé de poète! que vous veut-il avec ses roses fades et son azur
monotone? La belle distraction, en vérité, que de se coucher sur l'herbe
et de bâiller au sempiternel murmure du ruisseau! Parlez-moi de l'hiver!
Le printemps chante toujours le même air sur ses pipeaux champêtres;
cela devient maussade; mais l'hiver ramène les vives harmonies; de tous
cotés résonne, sur mille tons joyeux, le signal de la valse et de la danse.
Parlez, couvrez vos blanches épaules du long manteau de soie; le bal
vous sourit, le bal vous appelle, le bal vous possède; à la lueur des
lustres étincelants, montrez aux regards charmés, votre taille légère, vos
cheveux enlacés de fleurs, votre noire prunelle, votre pied agaçant; faites
des heureux et des jaloux, et revenez de ces nuits enflammées, de ces
nuits de délire, fatiguées, mais non lasses de vos triomphes. Et vous,
mes beaux amis, est-il, dites-moi, un temps plus heureux, plus adorable
que l'hiver? N'est-ce pas dans l'hiver qu'on se retrouve, qu'on se revoit,
qu'on se précipite avec ivresse dans le tourbillon du monde, et que les
mots les plus tendres, et les plus doux se disent à l'oreille?
Qu'on est bien, dites-vous, au cœur de l'hiver, dans un vaste fauteuil qui
vous caresse amoureusement de ses deux bras, la tête nonchalamment
appuyée sur le velours et les pieds sur les chenets. Oui, certes, votre sort
est digne d'envie; mais croyez-vous que ces brèves marins qui se battent
contre les ours de la mer Glaciale aient à se louer de l'hiver autant que
vous? Croyez-vous que ces pauvres petits enfants pâles, grelottants,
mourant de faim, accotés tristement sur le seuil d'une maison qui ne
s'ouvre pas, croyez-vous qu'ils trouvent dans l'hiver le véritable paradis
terrestre?
ÉTUDES COMIQUES.
PERSONNAGES:
Scène I.
Scène II.
M. TOUCHARD, M. RONDIN.
M. RONDIN.--Oh!
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
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.
ebookname.com