HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 19. FIRST WEBSITE 211


In case of emergency, you can use an offline copy to replace the online copy.


If you value your website, you should never, ever, find yourself with only one
copy of it. You should always have a backup. Many people rotate among
several backups, in case something becomes broken and they do not notice
it right away.


19.7.1 Upload v Download


We consider our webhost to be part of the Internet Cloud, that great, shape-
less mass of things we do not need to understand.


Our websites are part of the cloud.


Our laptop or desktop computer are here on the ground, right in front of
us.


When we sayupload, we mean to take files (content) and copy them up
from the ground (offline) to the cloud (online).


Exam Question 341(p.356): What word describes the copying of files
from our personal computer to the server that is hosting our website?
Acceptable Answer:upload


When we saydownload, we mean to take files (content) and copy them
down from the cloud (online) to the ground (offline).


Exam Question 342(p.356): What word describes the copying of files
from the server that is hosting our website to our personal computer?
Acceptable Answer:download


19.7.2 Uploading (Publishing)


Normally when we upload, we are publishing something that was developed
locally.


Some people recommend that all your development be done locally, and that
your online copy is just that, a copy.


But there are times that you might want to do things online first, and then
make a backup. In that case, your online version is the original and your
local is a backup copy. Having that backup means that you can recreate your
website using another hosting provider, or you can reinstate your website if
it has been defaced by hackers.

Free download pdf