Nuxt js Succinctly 2022-09-05 Edition Ed Freitas download
Nuxt js Succinctly 2022-09-05 Edition Ed Freitas download
pdf download
https://ebookname.com/product/nuxt-js-
succinctly-2022-09-05-edition-ed-freitas/
https://ebookname.com/product/vue-js-
succinctly-2020-06-11-edition-ed-freitas/
https://ebookname.com/product/monogame-
succinctly-2018-05-30-edition-jim-perry/
https://ebookname.com/product/alternative-splicing-1st-
ed-2022-edition-scheiffele/
https://ebookname.com/product/101-soups-salads-sandwiches-
gooseberry-patch/
Rossolimo and Friends 1st Edition Alexei Kornev
https://ebookname.com/product/rossolimo-and-friends-1st-edition-
alexei-kornev/
https://ebookname.com/product/microbial-carotenoids-from-
bacteria-and-microalgae-methods-and-protocols-1st-edition-j-
paniagua-michel/
https://ebookname.com/product/physical-foundations-of-cosmology-
second-edition-mukhanov-v-f/
https://ebookname.com/product/grzimek-s-animal-life-
encyclopedia-2nd-edition-volume-8-birds-i-bernhard-grzimek/
https://ebookname.com/product/next-generation-antennas-advances-
and-challenges-1st-edition-prashant-ranjan-editor/
Intercultural Utopias Public Intellectuals Cultural
Experimentation and Ethnic Pluralism in Colombia 1st
Edition Joanne Rappaport
https://ebookname.com/product/intercultural-utopias-public-
intellectuals-cultural-experimentation-and-ethnic-pluralism-in-
colombia-1st-edition-joanne-rappaport/
1
Nuxt.js Succinctly
By
Ed Freitas
Foreword by Daniel Jebaraj
Copyright © 2022 by Syncfusion, Inc.
If you obtained this book from any other source, please register and download a free copy from
www.syncfusion.com.
The authors and copyright holders provide absolutely no warranty for any information provided.
The authors and copyright holders shall not be liable for any claim, damages, or any other
liability arising from, out of, or in connection with the information in this book.
Please do not use this book if the listed terms are unacceptable.
3
Table of Contents
Acknowledgments ..................................................................................................................10
Introduction .............................................................................................................................11
Summary ..............................................................................................................................22
Summary ..............................................................................................................................31
Books UI...............................................................................................................................42
4
Favorites button....................................................................................................................44
Summary ..............................................................................................................................48
Overview ..............................................................................................................................49
FavList.vue ...........................................................................................................................58
Summary ..............................................................................................................................63
Overview ..............................................................................................................................64
Summary ..............................................................................................................................74
Overview ..............................................................................................................................75
5
Deployment ..........................................................................................................................90
6
The Story behind the Succinctly Series
of Books
Daniel Jebaraj, CEO
Syncfusion, Inc.
taying on the cutting edge
S As many of you may know, Syncfusion is a provider of software components for the
Microsoft platform. This puts us in the exciting but challenging position of always
being on the cutting edge.
Whenever platforms or tools are shipping out of Microsoft, which seems to be about
every other week these days, we have to educate ourselves, quickly.
While more information is becoming available on the Internet and more and more books are
being published, even on topics that are relatively new, one aspect that continues to inhibit us is
the inability to find concise technology overview books.
We are usually faced with two options: read several 500+ page books or scour the web for
relevant blog posts and other articles. Just as everyone else who has a job to do and customers
to serve, we find this quite frustrating.
We firmly believe, given the background knowledge such developers have, that most topics can
be translated into books that are between 50 and 100 pages.
This is exactly what we resolved to accomplish with the Succinctly series. Isn’t everything
wonderful born out of a deep desire to change things for the better?
Free forever
Syncfusion will be working to produce books on several topics. The books will always be free.
Any updates we publish will also be free.
7
Free? What is the catch?
There is no catch here. Syncfusion has a vested interest in this effort.
As a component vendor, our unique claim has always been that we offer deeper and broader
frameworks than anyone else on the market. Developer education greatly helps us market and
sell against competing vendors who promise to “enable AJAX support with one click,” or “turn
the moon to cheese!”
We sincerely hope you enjoy reading this book and that it helps you better understand the topic
of study. Thank you for reading.
8
About the Author
He likes technology and enjoys learning, playing soccer, running, traveling, and being around
his family.
Ed is available at https://edfreitas.me.
9
Acknowledgments
A huge thank you to the fantastic Syncfusion team that helped this book become a reality—
especially Jacqueline Bieringer, Tres Watkins, and Graham High.
The manuscript manager and technical editor thoroughly reviewed the book's organization,
code quality, and overall accuracy—Jacqueline Bieringer from Syncfusion and James
McCaffrey from Microsoft Research. Thank you both.
I dedicate this book to my dear Uncle Tony, who recently passed away. A veteran, he devoted
his life to his loved ones, his beloved country—the United States of America—and his work.
He performed his work with utmost passion, integrity, and with a smile; he never missed a day,
and he always gave his best to his customers and anyone who sought his wisdom and advice.
Your love, character, and everything you did will always remain with everyone you loved. Rest
in peace.
This book is also dedicated to the all the victims of international aggression and violence. I hope
that one day (in the not-so-distant future), we will become an advanced species that cares for
our pale blue dot, practices love and compassion instead of hatred, and realizes that all we
have is each other. To create a better future and world, we must learn to cherish and appreciate
the lives of others as much as our own.
10
Introduction
Let's begin by explaining what Nuxt.js is. To do that, we first need to talk about Vue.js.
Nuxt.js is an open-source JavaScript library based on Vue.js that uses Node.js, Webpack, and
Babel.js under the hood. Nuxt.js takes inspiration from Next.js, a framework of similar purpose
that’s based on React.js.
Nuxt.js takes Vue.js development to the next level and builds upon Vue.js. Think of it as a
framework for a framework—adding two significant features to Vue.js: server-side rendering;
and easy Vue.js application configuration and routing through folders and files.
To make it simple to understand, the goal of Nuxt.js is to make it easier for developers to create
and optimize Vue.js applications.
One of the main features of Nuxt.js is its ability to add server-side rendering to a Vue.js
application. Server-side rendering essentially means that we can build a Vue.js application to
prerender pages on the server before serving them to the user.
Server-side rendering has excellent advantages for search engine optimization (SEO) and can
significantly speed up your web app.
Traditional Vue.js applications require that developers create routes; however, with Nuxt.js,
explicitly creating routes is no longer necessary, as routes are inferred by the folder and file
structure of your Nuxt.js project.
In a nutshell, Nuxt.js simplifies the development of Vue.js applications and makes the
experience of writing Vue.js apps even more exciting and fun without adding any overhead to
the shipped bundle, and instead, optimizing the app for production.
If you are starting your journey with Vue.js, it's probably better that you get up to speed with
Vue.js first, rather than jumping straight into Nuxt.js. For that, the Succinctly series has you
covered with Vue.js Succinctly.
If you are not new to Vue.js, it will be okay to start your journey with Nuxt.js directly, and you'll
feel at home right off the bat.
Nuxt.js adds a nice layer of sugar coating around Vue.js, and if you are a Vue.js developer, it is
a tool that will boost your productivity.
So, without further ado, let's explore what this technology has to offer.
11
Chapter 1 Getting Started
Nuxt.js should not be confused with a templating engine running on the server—it's not a
replacement for templating engines such as EJS or Handlebars.
To understand server-side rendering, we need to take a step back and look at how traditional
Vue.js applications (which are single-page applications) work—which is another reason you
should first get up-to-speed with Vue.js before reading this book.
If you place UI components into your application pages rendered by some other server-side
service or technology, such as PHP or ASP.NET, you don't need Nuxt.js.
On the other hand, Vue.js is a client-side framework for traditional single-page applications. The
single-page application mechanism works for a Vue.js app because the user sends a request by
entering a URL, and the server sends back an HTML file.
In that case, the HTML file sent by the server contains barely any HTML code, but it does
include your single-page application logic—essentially, all the scripts that need to be loaded to
start the Vue.js app, which runs entirely in the browser.
The loaded Vue.js app is responsible for rendering the UI. Therefore, the view adds all the
HTML elements to the page, and it is also responsible for routing and catching any URLs that
you might visit within the app.
With a traditional Vue.js application, you never receive a second HTML page from the server as
a response when you visit a new URL route within that application (as long as you stay within
the application's routes).
However, the HTML file could be served from the server and rendered there. In the traditional
Vue.js application approach, the HTML file received doesn't contain the HTML that the user
sees on the screen, as this content is all created on the client side through JavaScript.
The traditional Vue.js approach is not great for search engine optimization, especially if you
need to load data asynchronously before rendering something onto the screen. The following
figure illustrates this process.
12
Figure 1-a: Traditional Client-Side Rendering (Single-Page Application)
In Figure 1-a, the index.html file is rendered on the client after the server returns it following a
user request.
So, imagine for a second that the Google web crawler is indexing your site or application
created with Vue.js. The crawler will not wait for your page content to load; instead, it will see an
empty page. On the other hand, this traditional single-page approach is not well suited for sites
that require fast loading times, such as e-commerce applications.
What Nuxt.js gives us is the ability to solve this problem by rendering that first page on the
server. Therefore, that first page the user visits for any given URL within the application scope
(independent of the root URL or another app URL) can be prerendered on the server, on the fly,
when the user requests it.
With Nuxt.js, you get a regular Vue.js application, but that app gets prerendered dynamically or
even statically on the server. In other words, with Nuxt.js, when a user accesses your page, the
page is sent from the server prerendered and loaded. The following figure illustrates this
process.
13
Figure 1-b: Server-side rendering
The difference, in this case, is that although the Vue.js application still manages the index.html
file, the server can send back a non-empty index.html file on the first request that has been
prerendered.
From there onward, we are back in single-page application mode, and no secondary HTML file
gets rendered—as Vue.js handles all navigation actions from that point.
Nuxt.js helps in that initial load, pre-rendered on the server, which results in a non-empty HTML
response, thus improving page load performance and SEO. This is what server-side rendering
is all about.
If you’ve worked extensively with Vue.js, you might already know that it’s possible to implement
server-side rendering without using a framework like Nuxt.js. This topic is officially covered in
the Vue.js documentation. It’s well covered there, and there's a complete guide that goes
through all the steps required to implement it. However, it's not an easy thing to do.
Even though that guide exists, Nuxt.js abstracts most of that complexity away. The advantage of
using Nuxt.js instead of implementing server-side rendering using Vue.js is that you get it ready
to go, out of the box, and highly optimized.
With Nuxt.js, to get server-side rendering working, we need to create a new project—that's it (as
we'll see shortly). There's no need to fiddle with Vue.js configuration.
14
So, to put things into perspective, Nuxt.js didn't invent server-side rendering and is not
reinventing the wheel. All Nuxt.js does is make it super easy for any Vue.js application to have
highly optimized server-side rendering out of the box—making development with Vue.js a
cleaner and better experience.
Installing Node.js
To install Nuxt.js, you first need to have Node.js installed. If you don't have Node.js installed,
you can download it from the official site.
You can choose to download either the long-term support (LTS) or the current version—either is
fine. I will install the LTS version. Once you have downloaded Node.js, execute the installer file.
15
Figure 1-e: Initial Node.js Installation Screen
Then, you'll be asked to accept the license terms. Click Next to carry on with the installation. At
this stage, you'll be presented with a screen where you can select the Node.js installation folder.
At this point, you'll see the Custom Setup screen. In my case, I always use the default options,
as you can see in the following figure.
16
Figure 1-g: Node.js Installation (Custom Setup Screen)
To continue the installation, click Next. You should see the following screen.
17
Figure 1-i: Node.js Installation (Ready to install Node.js Screen)
We need to click Install at this stage. Doing that will deploy the Node.js runtime and files on the
installation folder previously selected. The process is usually quick.
If a previous version of Node.js exists on the machine, that version gets removed before the
newer version is deployed. Once the new files have been installed, you'll see the following
screen.
To finalize the installation, all we need to do is click Finish. Now Node.js is installed, and we
can install Nuxt.js.
18
Getting started with Nuxt.js
At the time of writing this book, the latest version of Nuxt.js is version 3 (in beta)—which is the
version that we'll be working with throughout this book, as it includes support for the latest
Vue.js features released with version 3.
Installing Nuxt.js is straightforward. From the terminal, command line, or from the built-in
terminal within Visual Studio Code (VS Code)—which is my editor of choice—type in the
following command. Feel free to use another editor; however, I recommend VS Code so you
can follow along easily.
Code Listing 1-a: Command to Create a New Nuxt.js Project
Note: The name of the Nuxt.js application being created is nuxt-app; however, you
may choose a different name. I suggest using the same name to follow along easily.
Tip: For more information on how the npx command works, please check out the
official NPM documentation.
Once you have executed this command, you'll be asked if you want to install the Nuxi NPM
package, which is the new Nuxt.js CLI experience.
19
Figure 1-l: VS Code Integrated Terminal (Nuxt.js Installed)
With Nuxt.js installed and the project scaffolded, we can go into the newly created Nuxt.js
application folder, called nuxt-app, with the following command.
cd nuxt-app
Once we are inside the nuxt-app folder, we can enter the npm install command at the prompt
to install all the required packages and dependencies that our project will need.
Code Listing 1-c: Command to Install Project Dependencies
npm install
20
Figure 1-m: Installing Project Dependencies (VS Code)
Note: Although it is possible to use yarn instead of npm, throughout this book, I'll
be using npm. You may well choose to use yarn, though.
With that done, let's run the scaffolded application in development mode and have a look. You
can do this by executing the following command.
Code Listing 1-d: Command to Execute the Project in Dev Mode
After executing this command, you should see the following within the built-in terminal in VS
Code. The -- as an argument on its own means further arguments should be treated as
positional arguments, not options.
To visualize the Nuxt.js project running, you'll need to open it in a modern browser, which you
can do by typing the local URL, or clicking directly on the URL link, as seen in the preceding
figure.
21
Figure 1-o: Nuxt.js Starter Project Running
To stop the execution of the application, you can press Ctrl+C within the integrated VS Code
terminal.
Summary
At this stage, we have successfully installed Nuxt.js and scaffolded a basic application, which,
as you have seen, was straightforward.
The next chapter will explore the project structure and explain how pages, views, and routing
work together.
22
Chapter 2 Project Structure
So, there aren't any project-related folders specific to the Nuxt.js app itself. This means that this
project we created is a barebones Nuxt.js app, which is nothing more than an empty shell, and
we would need to create project-specific folders manually.
This is the path we will take—to create the folder and file structure ourselves as we go.
However, there's an alternative way that I'd like to show you.
23
Create Nuxt app
There's a tool that works with Nuxt.js version 2 called create-nuxt-app, which can scaffold a
Nuxt.js (version 2) application with a complete folder structure in no time.
At the time of writing this book, create-nuxt-app does not yet support Nuxt.js version 3;
nevertheless, I'd like to cover it briefly.
Code Listing 2-a: Command to Install create-nuxt-app and Scaffold a Nuxt.js (v2) App
Let's go through these steps using VS Code. I will type the following command using the built-in
VS Code terminal, within my root directory.
After I press Enter, create-nuxt-app asks to confirm the name of the application.
Then, create-nuxt-app requests the programming language we want to use for our Nuxt.js
(version 2) application. We can change the programming language by using the arrow keys. In
my case, I'll choose JavaScript. To select it, I press Enter.
24
The next step is to choose the package manager our application will use. Although Yarn is also
valid, I will select the Npm option using the down arrow key, and then press Enter.
Next, there's the option to select one of several UI frameworks. I won't be choosing any UI
framework, as the goal is to walk you through these steps. However, if you were using create-
nuxt-app to scaffold an app you’re creating, you could choose a UI framework that would best
fit your project.
25
Another Random Document on
Scribd Without Any Related Topics
the further recommendation of assisting more than any other
treatment to enlarge our appreciation of the author and of his
achievements. The second part will use the materials collected in the
first part to present, in the form of a brief survey, Dramatic Criticism
as an inductive science: enumerating, so far as its materials admit,
the leading topics which such a science would treat, and arranging
these topics in the logical connection which scientific method requires.
PART FIRST.
SHAKESPEARE
CONSIDERED AS A
DRAMATIC ARTIST
IN TEN STUDIES.
I.
The Two Stories Shakespeare borrows for his Merchant of Venice.
A Study in the Raw Material of the Romantic Drama.
Story as the
Raw Materials of T HE starting-point in the treatment of any work of
literature is its position in literary history: the
the Romantic recognition of this gives the attitude of mind which is
Drama. most favourable for extracting from the work its full
effect. The division of the universal Drama to which
Shakespeare belongs is known as the 'Romantic Drama,' one of its
chief distinctions being that it uses the stories of Romance, together
with histories treated as story-books, as the sources from which the
matter of the plays is taken; Romances are the raw material out of
which the Shakespearean Drama is manufactured. This very fact
serves to illustrate the elevation of the Elizabethan Drama in the scale
of literary development: just as the weaver uses as his raw material
that which is the finished product of the spinner, so Shakespeare and
his contemporaries start in their art of dramatising from Story which is
already a form of art. In the exhibition, then, of Shakespeare as an
Artist, it is natural to begin with the raw material which he worked up
into finished masterpieces. For illustration of this no play could be
more suitable than The Merchant of Venice, in which two tales,
already familiar in the story form, have been woven together into a
single plot: the Story of the Cruel Jew, who entered into a bond with
his enemy of which the forfeit was to be a pound of this enemy's own
flesh, and the Story of the Heiress and the Caskets. The present study
will deal with the stories themselves, considering them as if with the
eye of a dramatic artist to catch the points in which they lend
themselves to dramatic effect; the next will show how Shakespeare
improves the stories in the telling, increasing their dramatic force by
the very process of working them up; a third study will point out how,
not content with two stories, he has added others in the development
of his plot, making it more complex only in reality to make it more
simple.
Story of The In the Story of the Jew the main point is its special
Jew. capability for bringing out the idea of Nemesis, one
of the simplest and most universal of dramatic
motives. Described broadly, Nemesis is retribution as it appears in the
Nemesis as a
world of art. In reality the term covers two distinct
dramatic idea. conceptions: in ancient thought Nemesis was an
artistic bond between excess and reaction, in modern
thought it is an artistic bond between sin and retribution. The
distinction is part of the general difference between Greek and
Ancient
modern views of life. The Greeks may be said to be
conception: the most artistic nation of mankind, in the sense that
artistic art covered so large a proportion of their whole
connection personality: it is not surprising to find that they
between excess projected their sense of art into morals. Aristotle was
and reaction.
a moral philosopher, but his system of ethics reads
as an artistically devised pattern, in which every virtue is removed at
equal distances from vices of excess and defect balancing it on
opposite sides. The Greek word for law signifies proportion and
distribution, nomos; and it is only another form of it that expresses
Nemesis as the power punishing violations of proportion in things
human. Distinct from Justice, which was occupied with crime,
Nemesis was a companion deity to Fortune; and as Fortune went
through the world distributing the good things of life heedlessly
without regard to merit, so Nemesis followed in her steps, and,
equally without regard to merit, delighted in cutting down the
prosperity that was high enough to attract her attention. Polycrates is
the typical victim of such Nemesis: cast off by his firmest ally for no
offence but an unbroken career of good luck, in the reaction from
which his ally feared to be involved; essaying as a forlorn hope to
propitiate by voluntarily throwing in the sea his richest crown-jewel;
recognising when this was restored by fishermen that heaven had
refused his sacrifice, and abandoning himself to his fate in despair.
But Nemesis, to the moral sense of antiquity, could go even beyond
visitation on innocent prosperity, and goodness itself could be carried
to a degree that invited divine reaction. Heroes like Lycurgus and
Pentheus perished for excess of temperance; and the ancient Drama
startles the modern reader with an Hippolytus, whose passionate
purity brought down on him a destruction prophesied beforehand by
those to whom religious duty suggested moderate indulgence in lust.
Antonio:
Antonio must be understood as a perfect character:
perfection and for we must read the play in the light of its age, and
self-sufficiency, intolerance was a mediæval virtue. But there is no
the Nemesis of single good quality that does not carry with it its
Surprise. special temptation, and the sum of them all, or
perfection, has its shadow in self-sufficiency. It is so
with Antonio. Of all national types of character the Roman is the most
self-sufficient, alike incorruptible by temptation and independent of
iii. ii. 297.
the softer influences of life: we find that 'Roman
honour' is the idea which Antonio's friends are
accustomed to associate with him. Further the dramatist contrives to
exhibit Antonio to us in circumstances calculated to bring out this
drawback to his perfection. In the opening scene we see the dignified
merchant-prince suffering under the infliction of frivolous visitors, to
which his friendship with the young nobleman exposes him: his tone
throughout the interview is that of the barest toleration, and suggests
that his courtesies are felt rather as what is due to himself than what
i. i. 60-64.
is due to those on whom they are bestowed. When
Salarino makes flattering excuses for taking his
leave, Antonio replies, first with conventional compliment,
and then with blunt plainness, as if Salarino were not worth the
trouble of keeping up polite fiction:
i. i. 41.
Believe me, no: I thank my fortune for it,
My ventures are not in one bottom trusted,
Nor to one place; nor is my whole estate
Upon the fortune of this present year:
Therefore my merchandise makes me not sad.
i. iii. 131.
I am as like to call thee so again,
To spit on thee again, to spurn thee too.
If thou wilt lend this money, lend it not
As to thy friends ...
But lend it rather to thine enemy,
Who, if he break, thou may'st with better face
Exact the penalty.
Shylock:
So Nemesis has surprised Antonio in spite of his
malignant perfectness: but the malice of Shylock is such as is
justice, the perpetually crying for retribution, and the retribution
Nemesis of is delayed only that it may descend with
Measure for accumulated force. In the case of this second
Measure.
nemesis the Story of the Jew exhibits dramatic
capability in the opportunity it affords for the sin and the retribution
iv. i.
to be included within the same scene. Portia's happy
thought is a turning-point in the Trial Scene on the
two sides of which we have the Jew's triumph and the Jew's
retribution; the two sides are bound together by the principle of
measure for measure, and for each detail of vindictiveness that is
developed in the first half of the scene there is a corresponding item
Charter v.
of nemesis in the sequel. To begin with, Shylock
statute. iv. i. appeals to the charter of the city. It is one of the
38; compare distinctions between written and unwritten law that
102, 219. no flagrant injustice can arise out of the latter. If the
analogy of former precedents would seem to
threaten such an injustice, it is easy in a new case to meet the special
emergency by establishing a new precedent; where, however, the
letter of the written law involves a wrong, however great, it must,
nevertheless, be exactly enforced. Shylock takes his stand upon
compare iii. iii.
written law; indeed upon the strictest of all kinds of
26-31. written law, for the charter of the city would seem to
be the instrument regulating the relations between
citizens and aliens—an absolute necessity for a free port—which could
not be superseded without international negotiations. But what is the
result? As plaintiff in the cause Shylock would, in the natural course of
justice, leave the court, when judgment had been given against him,
with no further mortification than the loss of his suit. He is about to
do so when he is recalled:
Offer of double
v. refusal of
principal.
If every ducat in six thousand ducats
Were in six parts, and every part a ducat,
he answers, he would not accept them in lieu of his bond. The wheel
iv. i. 318, 336.
of Nemesis goes round, and Shylock would gladly
accept not only this offer but even the bare principal;
but he is denied, on the ground that he has refused it in open court.
They try to bend him to thoughts of mercy:
Complete
security v. total
How shalt thou hope for mercy, rendering none?
loss.
He dares to reply:
The wheel of Nemesis goes round, and Shylock's life and all lie at the
mercy of the victim to whom he had refused mercy and the judge to
Exultation v.
whose appeal for mercy he would not listen. In the
irony. flow of his success, when every point is being given
in his favour, he breaks out into unseemly exultation:
The ebb comes, and his enemies catch up the cry and turn it against
him:
Such then is the Story of the Jew, and so it exhibits nemesis clashing
with nemesis, the nemesis of surprise with the nemesis of equality
and intense satisfaction.
The Caskets
In the Caskets Story, which Shakespeare has
Story. associated with the Story of the Jew, the dramatic
capabilities are of a totally different kind. In the
artist's armoury one of the most effective weapons is Idealisation:
Idealisation:
inexplicable touches throwing an attractiveness over
the repulsive, uncovering the truth and beauty which
lie hidden in the commonplace, and showing how much can be
the exhibition of
brought out of how little with how little change. A
a commonplace story will be excellent material, then, for dramatic
experience in a handling which contains at once some experience of
glorified form. ordinary life, and also the surroundings which can be
made to exhibit this experience in a glorified form:
the more commonplace the experience, the greater the triumph of art
if it can be idealised. The point of the Caskets Story to the eye of an
artist in Drama is the opportunity it affords for such an idealisation of
the commonest problem in everyday experience—what may be called
the Problem of Judgment by Appearances.
i. ii. 30-36.
Shakespeare does not say 'more fair,' 'more true.'
This equal balancing of the alternatives will appear
still clearer when we recollect that it is an intentional puzzle with
which we are dealing, and accordingly that even if ingenuity could
discover a preponderance of reason in favour of any one of the three,
there would be the chance that this preponderance had been
anticipated by the father who set the puzzle. The case becomes like
that of children bidden to guess in which hand a sweetmeat is
concealed. They are inclined to say the right hand, but hesitate
whether that answer may not have been foreseen and the sweetmeat
put in the left hand; and if on this ground they are tempted to be
sharp and guess the left hand, there is the possibility that this
sharpness may have been anticipated, and the sweetmeat kept after
all in the right hand. If then the Caskets Story places before us three
suitors, going through three trains of intricate reasoning for guidance
in a matter on which their whole future depends, whereas we, the
spectators, can see that from the nature of the case no reasoning can
possibly avail them, we have clearly the Problem of Judgment by
Appearances drawn out in its ideal form; and our sympathies are
attracted by the sight of a process, belonging to our everyday
experience, yet developed before us in all the force artistic setting can
bestow.
Solution of the
But is this all? Does Shakespeare display before us
problem: the the problem, yet give no help towards its solution?
characters of the The key to the suitors' fates is not to be found in the
choosers trains of reasoning they go through. As if to warn us
determine their against looking for it in this direction. Shakespeare
fates.
contrives that we never hear the reasonings of the
successful suitor. By a natural touch Portia, who has chosen Bassanio
in her heart, is represented as unable to bear the suspense of hearing
him deliberate, and calls for music to drown his meditations; it is only
iii. ii, from 43;
the conclusion to which he has come that we catch
esp. 61. as the music closes. The particular song selected on
this occasion points dimly in the direction in which
we are to look for the true solution of the problem:
Two points of
Dramatic I N treating the Story as the raw material of the
Romantic Drama it has already been shown, in
Mechanism. the case of the stories utilised for The Merchant of
Venice, what natural capacities these exhibit for
dramatic effect. The next step is to show how the artist increases
their dramatic force in the process of working them up. Two points
will be illustrated in the present study: first, how Shakespeare meets
the difficulties of a story and reduces them to a minimum; secondly,
how he improves the two tales by weaving them together so that they
assist one another's effect.
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