Building React Apps with Server Side Rendering Use React Redux and Next to Build Full Server Side Rendering Applications Thakkar Mohit pdf download
Building React Apps with Server Side Rendering Use React Redux and Next to Build Full Server Side Rendering Applications Thakkar Mohit pdf download
https://textbookfull.com/product/building-react-apps-with-server-
side-rendering-use-react-redux-and-next-to-build-full-server-
side-rendering-applications-thakkar-mohit-2/
https://textbookfull.com/product/exploring-blazor-creating-
hosted-server-side-and-client-side-applications-with-c-taurius-
litvinavicius/
https://textbookfull.com/product/programming-kotlin-applications-
building-mobile-and-server-side-applications-with-kotlin-1st-
edition-brett-mclaughlin/
https://textbookfull.com/product/react-quickly-painless-web-apps-
with-react-jsx-redux-and-graphql-1st-edition-azat-mardan/
Server Side Swift with Vapor Building Web APIs and Web
Apps in Swift 3rd Edition Raywenderlich.Com Tutorial
Team
https://textbookfull.com/product/server-side-swift-with-vapor-
building-web-apis-and-web-apps-in-swift-3rd-edition-
raywenderlich-com-tutorial-team/
https://textbookfull.com/product/server-side-swift-paul-hudson/
https://textbookfull.com/product/learning-react-a-hands-on-guide-
to-building-web-applications-using-react-and-redux-2nd-edition-
kirupa-chinnathambi/
https://textbookfull.com/product/practical-react-native-build-
two-full-projects-and-one-full-game-using-react-native-1st-
edition-frank-zammetti/
https://textbookfull.com/product/node-js-design-patterns-master-
best-practices-to-build-modular-and-scalable-server-side-web-
applications-2nd-edition-casciaro/
Mohit Thakkar
Trademarked names, logos, and images may appear in this book. Rather
than use a trademark symbol with every occurrence of a trademarked
name, logo, or image we use the names, logos, and images only in an
editorial fashion and to the benefit of the trademark owner, with no
intention of infringement of the trademark. The use in this publication
of trade names, trademarks, service marks, and similar terms, even if
they are not identified as such, is not to be taken as an expression of
opinion as to whether or not they are subject to proprietary rights.
While the advice and information in this book are believed to be true
and accurate at the date of publication, neither the authors nor the
editors nor the publisher can accept any legal responsibility for any
errors or omissions that may be made. The publisher makes no
warranty, express or implied, with respect to the material contained
herein.
1. JavaScript Prerequisites
Mohit Thakkar1
(1) Vadodara, Gujarat, India
Introduction to JavaScript
JavaScript is one of the most popular languages for web development,
and it is essential to learn this language in order to create applications
that run on web browsers. Apart from web applications, JavaScript can
also be used to create desktop, mobile, as well as server-side
applications using various frameworks like Meteor, React Native, and
Node.js. However, we will focus on web applications for the scope of
this chapter.
JavaScript was created by Brendan Eich in the year 1995 and was
standardized by ECMA (European Computer Manufacturers
Association) in 1997. As a result, JavaScript is also known as
ECMAScript (ES) . As the web browsers developed over time, so did
JavaScript with the release of ES3 in 1999, ES5 in 2009, and ES6 in
2015. After ES6, there have been minor updates to JavaScript every
year, but ES6 is by far the latest major release.
Let us now set up our development environment so that we can
begin with practical examples on JavaScript programming.
<html>
<head>
<title>intro-to-js</title>
<link rel="stylesheet" type="text/css"
href="css/style.css"></script>
</head>
<body>
<h1>Introduction to JavaScript</h1>
<hr/>
<div id="ResultContainer"></div>
<script type="text/javascript"
src="scripts/index.js"></script>
</body>
</html>
var ResultContainer =
document.getElementById("ResultContainer");
body{
margin-top:20px;
margin-left:20px;
}
h1{
font-size:50px;
}
#ResultContainer{
margin-top:30px;
padding:10px;
width:450px;
height:200px;
border:1px solid black;
font-size:30px;
}
Now let us run our project and see the output. Visual Studio Code
does not have a built-in method to run HTML files in browser. Hence,
we will have to do some configurations to run our project. Check the
documentation for the editor that you are using to find help on launch
configurations. If you are using Visual Studio Code, the following steps
should help you get started:
1. Press Ctrl+Shift+P to open the Command Palette.
{
"version": "2.0.0",
"command": "Chrome",
"windows": {
"command": "C:\\Program Files
(x86)\\Google\\Chrome\\Application\\chrome.exe"
},
"args": ["${file}"],
"group": {
"kind": "build",
"isDefault": true
}
}
...
if(true){
let letVariable = "Variable using let";
}
ResultContainer.innerHTML = letVariable;
If you try to execute the preceding piece of code, you might get an
error in the console stating that “letVariable is not defined”. This is
because you are trying to access letVariable outside its scope. Change
the code to the following and you should see the output similar to
Figure 1-4:
...
if(true){
var varVariable = "Variable using var";
}
ResultContainer.innerHTML = varVariable;
Rest Parameter
Rest parameter is a feature of JavaScript that was introduced in ES6. It
lets us handle multiple function input parameters as an array. It is
particularly helpful in scenarios where the number of input parameters
to a function is indefinite.
...
function sum(...inputs) {
var result = 0;
for(let i of inputs){
result += i;
}
return result;
}
ResultContainer.innerHTML = sum(5, 10, 5, 5);
This should give you an output of “25” on your HTML template. Now
let us understand what is happening here. When we declare a function
with rest parameter and invoke it, JavaScript automatically takes in all
the arguments we pass to the function and clubs it into an array. The
function can then iterate through the array and perform operations on
all the input elements supplied. Rest parameter can also be used with
regular parameters. However, rest parameter should always be the last
argument so that JavaScript can collect all the remaining elements and
club it into an array. Consider the following example:
...
function sum(input1, input2, ...remainingInputs) {
var result = input1 + input2;
for(let i of remainingInputs){
result += i;
}
return result;
}
ResultContainer.innerHTML = sum(5, 10, 5, 5);
The preceding piece of code will also give you an output of “25” on
your HTML template. The only difference here is that only the last two
input parameters will be considered as rest parameters, whereas the
first two are regular parameters. One of the major benefits of rest
parameter is that array operations such as filter, sort, pop, push,
reverse, and so on can easily be performed on input parameters.
...
let fruits = ['Apple', 'Watermelon', 'Grapes'];
let [fruit1, fruit2, fruit3] = fruits;
ResultContainer.innerHTML = fruit2;
The preceding piece of code will give you “Watermelon” as output.
This is because when we use destructuring syntax (variables in square
brackets separated by commas on left and an array or object on right),
JavaScript automatically extracts values from the array on the right-
hand side and starts assigning them to the variables on the left-hand
side. Note that the values are assigned from left to right. So, for
instance, if there are two variables on the left-hand side and four array
elements on the right-hand side, then the first two values from the
array will be assigned to the variables and the last two values will be
left out. On the contrary, if there are four variables on the left-hand side
and just two array elements on the right-hand side, the values will be
assigned to the first two variables and the last two variables will be
undefined.
We can also skip some array elements while assigning it to
variables. To do so, add an extra comma separator on the left-hand side.
Consider the following example:
...
let fruits = ['Apple', 'Watermelon', 'Grapes'];
let [fruit1, , fruit2] = fruits;
ResultContainer.innerHTML = fruit2;
This time, the output that will be displayed on your HTML template
will be “Grapes”. This is because when JavaScript tries to find the
second variable for assigning second array element, it finds a null entry
because of the comma separator and skips that particular array
element. Another interesting thing you can do with destructuring is
that you can assign first few array elements to separate variables and
assign remaining array elements to a single variable using the rest
parameter syntax. Have a look at the following example to get a better
understanding:
...
let fruits = ['Apple', 'Watermelon', 'Grapes',
'Guava'];
let [fruit1, ...OtherFruits] = fruits;
ResultContainer.innerHTML = OtherFruits;
The preceding piece of code will give you “Watermelon, Grapes,
Guava” as output because the rest parameter syntax will assign all the
remaining array elements to the “OtherFruits” variable.
Objects can be destructured in a similar way to arrays with the only
exception being the use of curly brackets instead of square brackets on
the left-hand side to specify variables. Consider the following example
of destructuring object:
...
let Fruits = {Fruit1: 'Apple', Fruit2:
'Watermelon'};
let {Fruit1, Fruit2} = Fruits;
ResultContainer.innerHTML = Fruit1;
The preceding piece of code will give you “Apple” as output. Let us
now try to use destructuring in functions. We will try to pass an array
as input parameter and destructure it in the function definition. Please
look at the following piece of code:
...
function sum(a, b, c){
return a+b+c;
}
Control Loops
JavaScript provides multiple ways to iterate through loops. Let us look
at each one of them with examples.
for
The for loop takes in three parameters: the first parameter is for the
initialization of the control variable, the second one is the condition
that provides entry to the loop if true, and the last one is increment or
decrement parameter that will modify the value of control variable in
each loop. These three parameters are followed by the body of the loop:
...
for(let i=0;i<8;i++){
if(i==1){
continue;
}
console.log("i: " + i);
if(i==4){
break;
}
}
We can use break and continue operators with all kinds of
JavaScript loops. The continue operator is used to skip the remaining
statements from the body of the loop and skip to the next iteration,
whereas the break operator is used to terminate all the remaining
iterations of the loop.
Notice the preceding piece of code and its output in Figure 1-6. The
loop is conditioned to run for eight iterations and print the number of
iteration in each execution. However, for the second iteration, the if
condition before the print statement in the body of the loop will
evaluate to true and the execution of continue operator will make the
loop jump to the next iteration. Hence, we do not see the value “1” in
the output. Similarly, for the fifth iteration, the if condition after the
print statement will evaluate to true and the execution of break
operator will terminate the remaining iterations of the loop. Thus, we
do not see remaining values after “4” printed in the output.
forEach
forEach loop is called on an array or a list and executes a function for
each array element. The function takes in three parameters: the current
value (fruit), the index of the current value (index), and the array object
that the current value belongs to. The second and third parameters are
optional, whereas the first parameter is mandatory. One of the major
benefits of using this control loop is that the function would not be
executed for empty array elements, which results in better response
time for the end application:
...
let fruits = ['Apple','Grapes','Watermelon'];
fruits.forEach((fruit, index) => {
console.log(index + ': ' + fruit);
})
while
while loop is an entry-controlled loop similar to for loop, which means
that the condition that validates the entry to the loop is checked during
the beginning of the iteration. However, unlike for loop, you don’t have
to initialize or modify the control variable along with the condition. The
initialization is done before the beginning of the loop and its value is
modified in the loop body:
...
let fruits = ['Apple', 'Grapes', 'Watermelon'];
let i = 0;
while (i < fruits.length) {
console.log(i + ': ' + fruits[i]);
i++;
}
do...while
do...while loop is a variation of the while loop which is exit-controlled,
which means that the condition that validates the entry to the loop is
checked after the completion of an iteration. If true, the loop will
execute the next iteration:
...
let fruits = ['Apple', 'Grapes', 'Watermelon'];
Another Random Document on
Scribd Without Any Related Topics
But enough of this gossip: the reader of the Cortegiano, and its
author's charming letters, will find there many more attractive and
not less veracious touches of the Montefeltrian court, where learning
and accomplishment were often called upon to give dignity and
grace to social pastimes. Thus, the Duchess is represented as
singing to her lute those verses from the fourth Æneid, in which, at
the moment of self-immolation, Dido apostrophised the garments
forgotten by her faithless lover when he fled from her charms, until,
Orpheus-like, she had wiled the savage animals from their lairs, and
set the stones in sympathetic movement. At her court there were no
lack of pens to clothe in verse the passing fancies of the hour, and
adapt them to the musical or melodramatic tastes which gave a tone
of refinement to its amusements. Thus, for the carnival of 1506,
Castiglione and his messmate Cesare Gonzaga composed the
pastoral eclogue of Tirsis, which was acted by them before the
court, with choruses and a brilliant moresque dance. The personages
of the dialogue are Iola (Castiglione) and Dameta (Gonzaga), who
describe to Tirsi, a stranger shepherd, the ducal circle of Urbino,
with the Duchess at its head as goddess of the river Metauro. The
Moresca, so named from its supposed Moorish origin, was perhaps
borrowed from the ancient Pyrrhic dance, and consisted in a sort of
mock fight, performed to the sound of music with measured tread,
and blunted poignards. Next spring a somewhat similar pastoral,
from the pen of Bembo, was recited by him and Ottaviano Fregoso
to the same audience.
Such and such-like were the favourite court diversions of Urbino.
Their stately conceits and solemn pedantry suited the spirit of that
classic age and the genius of a pomp-loving people; but it would be
scarcely fair to regard them as fully embodying the tone of manners
prevalent in the palace of Guidobaldo. In it were harmoniously
mingled the opposite qualities which then predominated at the
various Italian courts. Scholastic pretensions, still esteemed in many
of them, here thawed before the easier address of the new school.
Those abstruse studies which the Medici had brought into vogue
were eclipsed by a galaxy of brilliant wits. Even the ruthless bearing
of the old condottieri princes mellowed under the charm of female
tact, while the sensual splendour indulged by recent pontiffs was
chastened by the exemplary demeanour of the ducal pair.
Our appreciation of this picture would, however, scarcely be correct
or complete, did we not bear in mind the inner life of contemporary
sovereigns. We need not dwell on the contrasts afforded in other
Peninsular capitals, for these were rather of degree than character,
and would only show us the prevalence here of a gentler courtesy
and more pervading refinement. But we may fairly compare the
palace-pastimes of Urbino with those held in acceptance by the
princes and peerage of northern states, where deep potations dulled
the senses, or brutalised the temper; where intellect rarely sought a
more refined gratification than the monotonous recital of legendary
adulation; and where wit was monopolised by dwarfs and
professional jesters. In order better to preserve the form and fashion
of this pattern for princes, we shall transfer to our pages, from
Castiglione's groupings, some outlines of its chief ornaments,
beginning with himself.[35]
Raffaele pinx. L. Ceroni
sculp.
COUNT BALDASSARE CASTIGLIONE.
From a picture in the Torlonia Gallery, Rome
Giuliano de' Medici was third son of Lorenzo the Magnificent, and was
known in the circle of Urbino by the same appellation. Born in 1478,
he passed at that court several years of his family's exile from
Florence; nor was he ungrateful for the splendid hospitality he there
enjoyed, for, while he lived, his influence with his brother, Leo X.,
averted those designs against the dukedom, which were directed to
his own aggrandisement. After the restoration of the Medici, Leo
confided to him the government of Florence, which he endeavoured
to administer in the spirit of his father, and succeeded in gaining the
good will of the people. But the Pope was not satisfied with the re-
establishment of his race as sovereigns of that republic; and the fine
qualities and vast ideas of Giuliano suggested him as a fit instrument
of further grasping schemes. To realise these, Leo coquetted
between France and Spain, and, like his predecessors, sacrificed the
peace of Italy. The prizes which he successively proposed for
Giuliano, who, by resigning Florence into the hands of his nephew
Lorenzo, the heir-male of his house, was free to accept whatever
sovereignty might be had, were the duchy of Milan, a state in
Eastern Lombardy and Ferrara, or the crown of Naples. In June,
1515, the Pontiff conferred on him the insignia of gonfaloniere and
captain-general of the Church; but he was prevented from active
service by a fever which cut him off in the following March, when
only thirty-eight, not without suspicion of poison at the hands of his
nephew Lorenzo. His name is enshrined in Bembo's prose and
Ariosto's verse, whilst his tomb by Michael Angelo in the Medicean
Chapel, which Rogers, with a quaint but happy antithesis, calls "the
most real and unreal thing which ever came from the chisel," is one
of the glories of art.[*41] Shortly before his death he had married
Filiberta of Savoy, whose nephew, Francis I., created him Duke of
Nemours, and, had his life been prolonged, would probably have
aided him to further aggrandisement.
During his residence at Urbino, from an intrigue with Pacifica
Brandani, a person of high rank or base condition, for both extremes
have been conjectured to account for the mystery, there was born to
him a son, who, after being exposed in the streets in 1511, was sent
to the foundling hospital, and baptized Pasqualino. Removed to
Rome and acknowledged in 1513, the child received an excellent
education; and under the munificent patronage of the Medici
became Cardinal Ippolito, whose tastes were more for arms than
mass-books, and whose handsome features and gallant bearing,
expressive of his splendid character, are preserved to us in the Pitti
Gallery by the gorgeous tints of Titian, alone worthy of such a
subject.
The next personage of this goodly company was Cesare Gonzaga,
descended from a younger branch of the Mantuan house, and
cousin-german of Count Baldassare, whose quarters he shared in
1504, when they returned together from the reduction of Valentino's
strongholds in Romagna, where he had the command of fifty men-
at-arms. We know little of him beyond his having been a knight of
St. John of Jerusalem, and ambassador from Leo X. to Charles V.
[*42] Baldi describes him as not less distinguished by merit than
blood, and Castiglione assigns him a prominent place in the lively
circle whose amusements he depicts. He was no unsuccessful
devotee of the muses: a graceful canzonet by him is preserved in
the Rime Scelte of Atanagi, and he shares the credit of the eclogue
of Tirsis already alluded to, and printed among the works of
Castiglione. Recommended by military talent, as well as by
diplomatic dexterity and business habits, he remained in the service
of Duke Francesco Maria during his early campaigns; and in
September, 1512, after reducing Bologna to obedience of the Pope,
died there of an acute fever in the flower of his age.
Pietro Bembo[*44] was born at Venice in 1470, and had the first
rudiments of education at Florence, whither his father Bernardo was
sent as ambassador from the Signory. Having learned Greek at
Messina under Constantin Lascaris, and studied philosophy at Padua
and Ferrara, he devoted himself to literary pursuits. At the court of
the d'Este princes, where he was introduced by his father then
resident as envoy from Venice, he met with the consideration due to
his acquirements, and found a brilliant society, including Sadoleto,
the Strozzi, and Tibaldeo. There he was residing when the arrival of
Lucrezia Borgia threatened to establish for it a very different
character; but the dissolute beauty seems to have left in the Vatican
her abandoned tastes, and adopting those of her new sovereignty
she became distinguished as a patroness of letters. The intimacy
which sprang up between this princess and Bembo has given rise to
some controversy as to the purity of its platonism, a discussion into
which we need not enter. The life of the lady, the writings of the
Abbé, and the morals of their time combine to justify suspicion,
where proofs can hardly be looked for.[*45]
"But if their solemn love were crime,
Pity the beauty and the sage,—
Their crime was in their darkened age!"
At the town of Bibbiena, in the upper Val d'Arno, there were born
about 1470, of humble parentage, two brothers, whose business
talents procured them remarkable advancement. The elder, Pietro
Dovizi, became a secretary of Lorenzo de' Medici, into whose family
he introduced his brother Bernardo. There this youth gained for
himself so good a reputation, that he was allowed to share the
instructions bestowed upon his patron's younger son Giovanni. A
close intimacy gradually sprang up between these fellow students,
which the similarity of their talents, their tastes, and their pursuits
ripened into lasting friendship. Identifying himself with the Medici,
he followed their fortunes into exile, and attended Giuliano to
Urbino, where he was received with the welcome there extended to
all who, like him, combined the scholar and the gentleman. But this
hospitality met with a very different return from these two guests. Of
Giuliano's generous forbearance to second the evil designs of his
brother, the Pope, against the state which had sheltered him, we
have lately spoken. When we come to narrate the usurpation of the
duchy by the Medici in 1516-17, we shall find in command of their
invading army
and who had adopted that town as a substitute for his own
undistinguished patronymic. This ingratitude was the more odious if,
as it was probable, he owed to Guidobaldo, or his nephew, the
favour of Julius II., who first brought him forward in the public
service.
At that Pontiff's death he was acting as secretary to his early friend,
the Cardinal de' Medici, and in that capacity was admitted to the
conclave. The intrigues which there effected his patron's election
have given rise to various anecdotes and controversies, which we
pass by with the single remark that, by all accounts, the address of
Dovizi was not unimportant to the success of Leo X. In return, he
was included in the first distribution of scarlet hats as Cardinal
Bibbiena. In this enlarged sphere his talents and tastes had full room
for exercise. He was selected for various important diplomatic trusts,
besides filling the offices of treasurer and legate in the war of
Urbino. With his now ample means, his patronage of letters and arts
had ample scope, and he was regarded as the Maecenas of a court
rivalling that of Augustus. Raffaele enjoyed his particular regard,
which he would willingly have proved by bestowing on him the hand
of his niece.
His ambition is alleged to have exceeded even the rise of his
fortunes, and to have prompted him to contemplate, and possibly to
intrigue for, his own elevation to the chair of St. Peter, in the event
of a vacancy. His sudden death in 1520, soon after a residence of
above a year as legate to Francis I. (who had conferred upon him
the see of Constance), when coupled with such reports, was
construed as the effect of poison administered by Leo. Indeed, his
friend, Ludovico Canossa, observed that it was a received dogma
among the French at that very time that every man of station who
died in Italy was poisoned. But such vague conjectures, however
specious under Alexander VI., are less credible in other pontificates;
and if the Cardinal were poisoned, that practice was then by no
means limited to popes. He was an accomplished dilettante when
the standards of beauty were of pagan origin; and his intimacy with
Raffaele dated after the painter's Umbrian inspirations had faded
before a gradual homage to the "new manner." Like his friend
Bembo, his morals were epicurean to the full licence of a dissolute
age. His famed comedy of the Calandra,[*47] which was brought out
at Urbino in 1508, and which gave full play to his exquisite sense of
the ridiculous, justifies this charge, and all that we have so often to
repeat of the laxity then prevalent in the most refined Italian circles.
A notice of this, the only important production of his pen, and an
account of its being magnificently performed before Guidobaldo, will
be found in our twenty-fifth chapter. Those who regard the
pontificate of Leo X. as the classic period of Italian letters must feel
grateful to Cardinal Bibbiena for developing a portion of its lustre;
the sterner moralist, who brands its vices, will charge him with
pandering freely to the licence of a court of which he was a notable
ornament. Castiglione tells us that an acute and ready genius
rendered him the delight of all his acquaintance; and Baldi adds,
that by practice in the papal court he so improved that gift, that his
tact in business was unrivalled, to which his mild address, and happy
talent of seasoning the dullest topics with graceful pleasantry,
greatly contributed.
His personal beauty obtained for him the adjunct of bel Bernardo,
and he is represented in the Cortegiano as saying, in reference to
the amount of good looks desirable for a gentleman, "Such grace
and beauty of feature are, I doubt not, mine, in consequence
whereof, as you know, so many women are in love with me; but I
have some misgivings as to my figure, especially these legs of mine,
which, to say the truth, don't seem to me quite what I should like,
though I am well enough satisfied with my bust, and all the rest."
This, however, having been introduced as a jest, may perhaps be
understood rather as complimentary to his person, than as a
sarcasm on his vanity.
A contemporary and unsparing pen thus sketches his qualities, in a
manuscript printed by Roscoe, from the Vatican archives:—"He was
a facetious character, with no mean powers of ridicule, and much
tact in promoting jocular conversation by his wit and well-timed
jests. He was a great favourite with certain cardinals, whose chief
pursuit was pleasure and the chase, for he thoroughly knew all their
habits and fancies, and was even aware of whatever vicious
propensities they had. He likewise possessed a singular pliancy for
flattery, and for obsequiously accommodating himself to their whims,
stooping patiently to be the butt of insulting and abusive jokes, and
shrinking from nothing which could render him acceptable to them.
He also had much readiness in council, and was perfectly able
seasonably to qualify his wit with wisdom, or to dissemble with
singular cunning." Bembo, with more partial pen, says in a letter to
Federigo Fregoso, "The days seem years until I see him, and enjoy
the pleasing society, the charming conversation, the wit, the jests,
the features, and the affection of that man."
Among the distinguished literary names which have issued from
Arezzo, several members of the Accolti family were conspicuous in
the fifteenth and sixteenth centuries. Bernardo,[*48] of whom we are
now to speak, had a father noted as a historian, a brother and a
nephew who reached the dignity of cardinal, and were remarkable in
politics and letters. He obtained from Leo X. the fief of Nepi, as well
as various offices of trust and emolument; of these, however, his
wealth rendered him independent, enabling him to indulge in a life
of literary ease. His poetical celebrity exceeded that of his
contemporaries, and seems to have been his chief recommendation
at the court of Guidobaldo. There, and at Rome, he was in the habit
of reciting his verses in public to vast audiences, composed of all
that was brilliant in these cultivated capitals. Nor was his popularity
limited to a lettered circle. When an exhibition was announced, the
shops were closed, the streets emptied, and guards restrained the
crowds who rushed to secure places among his audience. This
extraordinary enthusiasm appears the more unaccountable, when
we find his printed poetry characterised by a bald and stilted style,
which leaves no pleasing impression on the reader. The mystery
seems explained by a supposition that his talent lay in extemporary
declamation.
Instances are far from uncommon in Italy, of similar effects
produced by the improvisatori, whose torrent of melodious words,
directed to a popular theme, and accompanied by music and
impassioned gesticulation, hurries the feelings of a sympathising
auditory to bursts of tumultuous applause, whilst on cool perusal,
the same compositions fall utterly vapid on the reader. Be this as it
may, the success of Accolti had the common result of superficial
powers, and so egregiously inflated his vanity, that he assumed as
his usual designation "the unique Aretine," by which he is always
accosted in the Cortegiano. Nine years later we find him devoting to
Duchess Elisabetta attentions which were attributed to a passion
more powerful than gratitude, but which, knowing as he well did,
her immaculate modesty, could only have been prompted by
despicable vanity, and hence exposed him to keen ridicule.
To few of the pedigrees illustrated by Sansovino is there attributed a
more remote origin, or a brighter illustration, than to that of Canossa.
[*49] A younger son of the family was Count Ludovico, who, being
cousin-german of Castiglione's mother, was perhaps by this means
brought to Urbino, and thence recommended to Julius II., under
whose patronage he entered upon an ecclesiastical career. From Leo
X. he obtained the see of Tricarico, and was sent by him as nuncio to
England and France, a service which earned him promotion to the
bishopric of Bajus. Adrian VI. and Clement VII. continued him in this
post; and during a long residence at the French court, he entirely
gained the confidence and favour of Francis I. Many of his diplomatic
letters are printed in various collections; and to him is addressed
Count Baldassare's curious description of the performance of the
Calandra, at Urbino.
S
UCH were the eminent men, with whom Guidobaldo is
described in the Cortegiano as living in easy but dignified
familiarity, joining their improving and amusing conversation,
or admiring their dexterity in exercises which his broken constitution
no longer permitted him to share. Thus passed the days in the
palace; and, when the Duke was constrained by his infirmities to
seek early repose, the evenings were spent in social amusements,
over which the Duchess gracefully presided, with her ladies
Margherita and Costanza Fregoso, the Duke's nieces, Margherita and
Ippolita Gonzaga, the Signor Raffaella, and Maria Emilia Pia.
ELISABETTA GONZAGA, DUCHESS OF
URBINO
From a lead medal by Adriano Fiorentino in
the British Museum
EMILIA PIA
From a medal by Adriano Fiorentino in the
Vienna Museum
Such was the mode of life described in the Cortegiano, with ample
details, which we shall attempt slightly to sketch. The scene is laid in
the evenings immediately succeeding the visit of Julius II. The usual
circle being assembled in her drawing-room, the Duchess desired
Lady Emilia to set some game a-going.[*53] She proposed that every
person in turn should name a new amusement, and that the one
most generally approved should be adopted.[54] This fancy was
sanctioned by her mistress, who delegated to her full authority to
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.
textbookfull.com