Download Chapter 3 Effects of IT on Strategy and Competition

Document related concepts

URL redirection wikipedia , lookup

Transcript
Introduction To
GU Computing Facility, FTP
and Web
Dr. Jason C. H. Chen
Professor of MIS
School of Business Administration
Gonzaga University
Spokane, WA 99258
[email protected]
Dr. Chen, Management Information Systems (FTP)
Attention …
• Always write the class & personal
information on any assignments and exams
• For example:
– Bmis235-01 (or bmis235-02)
– ROW: 2
– Name: John Smith
Dr. Chen, Management Information Systems (FTP)
Learning Objectives
• What do you have access to when you log
into the machine in labs?
• File Systems
• MS Windows
• Barney
• FTP
• The Blackboard System
Dr. Chen, Management Information Systems (FTP)
What is Technology and
Why Technology?
• Technology is not only considered
simply as an asset or a capability
to manage but also as a factor that
has an impact on almost every
management method and practice.
Dr. Chen, Management Information Systems (FTP)
C:
Drives on Local PC
D:
my network places
Lab 07, 012, & 021
You are here
·
·
·
·
·
·
·
My Network Places
Entire Network
Microsoft Windows Network
Gonzaga
Jepsonnt2
Chuang
BMIS235, MBUS342,
MBUS626, MBUS674
File Server in Jepsonnt2
Barney machines
H: drive
· public_html
· other folders
Basic services
· email
· Web pages
Dr. Chen, Management Information Systems (FTP)
File Systems
• A file system is a structure that organize data in the
form of files in storage media, such as a hard drive.
• Technically, there are many different file systems,
depending on operating systems (Windows, Linux,
Unix, and Solaris), but they are quite similar from the
user’s viewpoint.
• From user’s viewpoints, computer files are organized
in a hierarchical structure according to classification
scheme the user decides, just like the catalog system
in the library.
Dr. Chen, Management Information Systems (FTP)
File Systems: Hierarchical
Structure
• Volumes (drives) -> Folders (directories) -> subfolders ->…->files
– C: drive
– D: drive
– G: CD-ROM
• Root directory: The topmost directory of one volume
• Current directory: The folder/directory that the
user/program is working in
Dr. Chen, Management Information Systems (FTP)
Windows/File Explorer
• Windows Explorer is a GUI (graphic user interface)
tool that allows the user to manage file systems
Start -> Programs -> Accessories -> Windows Explorer
• Two panes:
– Navigation pane (hierarchical list of folders): shows the
hierarchical structure of the file system.
• +/- signs are used to collapse or expand the hierarchy.
– Content pane: shows the contents of an ACTIVE folder
• An active folder is the one highlighted or clicked that you are
working on.
• You need to click on the “folder” icon, not the plus (or minus)
sign to make a folder active.
• On the top are tool bar and menu bar
Dr. Chen, Management Information Systems (FTP)
Basic Operations
• Navigation pane:
– My Computer
• Local disk (C:) & CD-ROM (E:)
• Content pane: Contents in an active folder
• Important concepts
– Which drive (volume)? C:, D:, or E:
– Which directory (folder)?
– File name?
• Copy/move files between folders/drives
• Create/erase files/folders
Dr. Chen, Management Information Systems (FTP)
Barney System (I)
• The Barney System:
– manages student accounts,
– provides email services (Zagmail) and
– hosts web pages: If you create and upload web
pages into a designated folder in your account,
one will be able to see those pages with a web
browser.
• Note: Your assignments must be placed in
that designated folder so I can grade them
on the Bb.
Dr. Chen, Management Information Systems (FTP)
Barney System (II)
• Transfer files between your Barney account
and the drives on the computer you are
working on.
– Use FTP such as FileZilla (explained at the end)
Dr. Chen, Management Information Systems (FTP)
Introducing the World Wide Web
• A network is a structure linking computers together
for the purpose of sharing resources such as printers
and files
LAN?
• Users typically access a network through a
WAN?
computer called a host or node
MAN?
• A computer that makes a service available to a
network is called a server
• A computer or other device that requests services
from a server is called a client
• One of the most common network structures is the
client-server network
Dr. Chen, Management Information Systems (FTP)
Introducing the World Wide Web
• If the computers that make up a network are close
together (within a single department or building),
then the network is referred to as a local area
network (LAN)
• A network that covers a wide area, such as several
buildings or cities, is called a wide area network
(WAN)
• The largest WAN in existence is the Internet
• In its early days, the Internet was called
ARPANET and consisted of two network nodes
located at UCLA and Stanford, connected by a
phone line
Dr. Chen, Management Information Systems (FTP)
Structure of the Internet
Dr. Chen, Management Information Systems (FTP)
Hypertext Documents
• When you read a book, you follow a linear
progression, reading one page after another
• With hypertext, you progress through pages in
whatever way is best suited to you and your
objectives
• Hypertext lets you skip from one topic to another
• The key to hypertext is the use of hyperlinks (or
links) which are the elements in a hypertext
document that allow you to jump from one topic
to another
Dr. Chen, Management Information Systems (FTP)
Linear versus hypertext
documents
Dr. Chen, Management Information Systems (FTP)
Hypertext Documents,
Web Servers and Web Browsers
• An entire collection of linked documents is
referred to as a Web site
• The hypertext documents within a Web site are
known as Web pages
• Individual pages can contain text, audio, video,
and even programs that can be run remotely
• A Web page is stored on a Web server, which in
turn makes it available to the network
• To view a Web page, a client runs a software
program called a Web browser, which retrieves
the page from the server and displays it
Dr. Chen, Management Information Systems (FTP)
Using a browser to view a Web
document from a Web server
Dr. Chen, Management Information Systems (FTP)
HTML: The Language of the Web
• A Web page is a text file written in a language
called Hypertext Markup Language
• A markup language is a language that describes a
document’s structure and content
• HTML is not a programming language or a
formatting language
• Styles are format descriptions written in a separate
language from HTML that tell browsers how to
render each element. Styles are used to format
your document
Dr. Chen, Management Information Systems (FTP)
Type in the following URLs
Always use “Firefox” as the default web browser,
otherwise, some errors might be occurred.
http://barney.gonzaga.edu/~your_userID
http://barney.gonzaga.edu/~chenta
http://barney.gonzaga.edu/~chenta
http://barney.gonzaga.edu/~chenta2
http://barney.gonzaga.edu/~chenta2
http://barney.gonzaga.edu/~chen
http://barney.gonzaga.edu/~chen
Dr. Chen, Management Information Systems (FTP)
Four Basic HTML5 Semantic Elements
div id=“container”
header
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/styles-web1.css">
<title>Home Page for Jason Chen</title>
<meta charset="utf-8">
</head>
<body>
nav
main
footer
Dr. Chen, Management Information Systems (FTP)
[Basic Required HTML elements]
HTML provides new tools for
improving/structuring
webpage design, including
semantic elements for specific
types of content
HTML5 Components (p.29)
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/styles-web1.css">
<title>Home Page for Jason Chen</title>
<meta charset="utf-8">
</head>
• meta tag contains information about the data on the webpage
– The meta tag designates the type of character set the browser
should use, charset=“utf-8”
• utf (Unicode Transformation Format) is a compressed format
that allows computers to display and manipulate text.
– Utf-8 is standard for HTML5 pages and is the preferred
encoding standard for email and other application.
Dr. Chen, Management Information Systems (FTP)
div id=“container”
header
nav
main
footer
Dr. Chen, Management Information Systems (FTP)
Four Basic HTML5 Semantic Elements
div id=“container”
header
nav
main
footer
Dr. Chen, Management Information Systems (FTP)
Your Turn …
• Create folder(s) on the desktop / laptop
• So that you can map (copy) required files
from desktop/laptop to your web folder
efficiently and successfully
Dr. Chen, Management Information Systems (FTP)
Steps before downloading web resources
• Create a folder of bmis235-0x-public_html (0x stands for
your section number such as bmis235-03-public_html)
on c: (or d:) drive
• Create a folder of css under bmis235-0x-public_html
• Create a folder of images under bmis235-0x-public_html
(for web2)
• Create all required files (later) and save in bmis235publich_html folder [see next two slides]
Dr. Chen, Management Information Systems (FTP)
Files and Folders should downloaded/created on PC
Dr. Chen, Management Information Systems (FTP)
Download all docs from Bb
• See page 1 on the Web1 HW
• Download the two data files:
index_template.html and
styles-web1.css
from Bb (available under Assignments &
Cases  Web Design Assignments and
Resources  data files for … web1) to
your PC and save them in two appropriate
folders.
Dr. Chen, Management Information Systems (FTP)
available under Assignments & Cases  Web Design Assignments
and Resources  data files for …  web1
Dr. Chen, Management Information Systems (FTP)
1.select
2. Select files
and folders
3. Select
“Upload”
4. The result is shown on the next slide
Dr. Chen, Management Information Systems (FTP)
Web Directory Structure for web1 and web2
Therefore, the directory structure on the desktop (or laptop)
matches with web folder (i.e., public_html)
Dr. Chen, Management Information Systems (FTP)
Web Repository (Folder)
• What is your Web Repository?
• public_html (using FileZilla to login)
– along with your email account
• Remember that case is sensitive for all file names and
folder names in ALL web page assignments. For
example, index.html is different from Index.HTML
• Also,
href=“css/styles-myweb.css”> is different from
href=“CSS/styles-myweb.css”>
32
Dr. Chen, Management Information Systems (FTP)
Figure 1. index-template.html
<!DOCTYPE html>
<!-- *****************************************************************************
Author: Jason Chen; File name: index.html (Web1)
From now on, it (your personal
Date: 1/25/2017
information) is required for ALL
BMIS235-01
assignments to be added.
ROW: 1
Note that there is a new folder of css created in this version
**************************************************************************-->
<html lang="en">
<head>
….
<meta charset="utf-8">
</head>
main html codes should
<body>
be placed here.
<div id="container">
<br> <br> <br> <br> <br> <br> <br>
<pre>
…
one word
</pre>
<nav>
</nav> <br> <br>
<footer>
<p> For comments about my web site, please e-mail me at: <a href="MAILTO:[email protected]">
[email protected] </a> <br>
Phone: <a href="tel:+5093133421">509-313-3421</a> </p> <!--Insert phone link-->
</footer>
</div>
</body>
</html>
Dr. Chen, Management Information Systems (FTP)
Figure 1. index.html (web1)
<!DOCTYPE html>
<!-- *****************************************************************************
Author: Jason Chen; File name: index.html (Web1)
Date: 1/25/2017
BMIS235-01; ROW: 1
Note that there is a new folder of css created in this version
*************************************************************************-->
will study in ch4
<html lang="en">
(cascading style sheet)
<head>
<link rel="stylesheet" href="css/styles-web1.css">
<title>Home Page for Jason Chen</title>
<meta charset="utf-8">
</head>
<body>
<div id="container">
<a id="top"></a>
<script type="text/javascript"> document.write(Date()) </script>
<header>
<h1>Welcome to JASON CHEN's Home Page! </h1>
ul: Unordered List
</header> <br> <br>
li: List Item
<nav>
<ul>
<li><a href="myself.pptx"> Know more about me with PowerPoint presentation </a> </li>
<li><a href="myresume.docx"> Visit my resume (MS-WORD format) </a> </li>
</ul>
</nav> <br> <br> <br> <br> <br> <br> <br>
Dr. Chen, Management Information Systems (FTP)
Figure 1. index.html (cont.)
<main>
<pre> <b>
*******************************************************
&copy; (your name here)
...
(your add any appropriate information here)
...
*******************************************************
Go to <a id of “top”
</b>
</pre> <br> <br> <br> <br>
<nav>
<div class="gotop">
<a href="#top">
<span style="font-size:small; color:bluewhale;">Go to the Top of the Page! </span></a>
</div>
</nav> <br> <br>
replaced with your info.
</main>
one word
<footer>
<p> For comments about my web site, please e-mail me at:
<a href="MAILTO:[email protected]"> [email protected] </a> <br>
Phone: <a href="tel:+5093133421">509-313-3421</a> </p> <!--Insert phone link-->
<!-- the following is required for all assignments -->
<i> <br>This document was last updated on January 21, 2016; by Jason Chen</i>
</footer> <hr>
</body>
</html>
How to improve it?
Dr. Chen, Management Information Systems (FTP)
Creating Links Within a Document
• To create a link within a document, you enclose the
content that you want to format as a link in an <a> tag, and
use the href attribute to identify the link target
• A link’s content is not limited to text
<ul>
<li><a href="myself.pptx"> <b>Know more about me with PowerPoint
presentation </b></a> </li>
<li><a href="myresume.docx"><b>Visit my resume (MS-WORD format)
</b></a> </li>
</ul>
Dr. Chen, Management Information Systems (FTP)
Creating Element Ids for Linking
Documents
• One way to identify elements in an HTML document is to
use the id attribute
• Id names must be unique
• Id names are not case sensitive
In web1
<a id=“top">
…
<a href="#top"><span style="font-size: small">Go to the Top
of the Page! </span></a>
Dr. Chen, Management Information Systems (FTP)
Appendix C - Color Reference Palette (APP 29)
W3Schools:
www.w3schools.com/tags/ref_colorpicker.asp
www.w3schools.com/tags/ref_colorpicker.asp
CSS Portal:
www.cssportal.com/css3-color-names/
www.cssportal.com/css3-color-names/
HTML Color Codes:
http://html-color-codes.info/
http://html-color-codes.info/
Dr. Chen, Management Information Systems (FTP)
Color Picker:
www.colorpicker.com/
www.colorpicker.com/
HTML Color Names:
http://html-color-codes.info/colornames/
http://html-color-codes.info/colornames/
Creating an HTML Document
• In planning, identify a document’s different
elements.
• An element is a distinct object in the
document, like a paragraph, a heading, or a
page’s title
• Formatting features such as boldfaced font,
and italicized text may be used
Dr. Chen, Management Information Systems (FTP)
The Structure of an HTML File
• An HTML document is divided into two
parts: the head and the body
• The head element contains information
about the document, for example the
document title or the keywords
• The content of the head element is not
displayed within the Web page
Dr. Chen, Management Information Systems (FTP)
The Structure of an HTML File
• The body element contains all of the
content to be displayed in the Web page
• The body element can contain code that
tells the browser how to render the content
• The title element contains the page’s title; a
document’s title is usually displayed in the
title bar
Dr. Chen, Management Information Systems (FTP)
Marking Elements with Tags
• Elements that employ one-sided tags are called
empty elements since they contain no content. An
example is a line break <br/>
• A third type of tag is the comment tag, which you
can use to add notes to your HTML code
<!-- comment -->
• Comments are useful in documenting your HTML
code for yourself and others
Dr. Chen, Management Information Systems (FTP)
Marking Elements with Tags
• The core building block of HTML is the tag, which marks
each element in a document
• Tags can be two-sided or one-sided
• A two-sided tag is a tag that contains some document
content. General syntax for a two-sided tag:
<element>content</element>
in which <element> is the opening tag
</element> is the closing tag
• A one-sided tag contains no content; general syntax for a
one-sided tag:
<element />
• HTML allows you to enter element names (not file names
or folder names) in either uppercase or lowercase letters
Dr. Chen, Management Information Systems (FTP)
What you should do on Web1
See Web1 assignment
• 1. Create the following two folders on the PC: i) a folder of bmis235-0xpublic_html (0x stands for your section number such as bmis235-03public_html) on c: (or d:) drive, and ii) another folder of css under bmis2350x-public_html. The web design structure is shown in Figure 1.
• 2. Download the two data files of index_template.html and styles-web1.css
from Bb (available under Assignments & Cases  Web Design
Assignments and Resources data files for …  web1) to your PC and
save them in two appropriate folders respectively (see Figure 4 and pptx file)
• 3. Create your first HTML file with the file name of index.html or open
index_tempalte.html by right clicking the file then select “Open with” finally
choose Notepad++ or simply select “Edit with Notepad++” (Figure 2).
• a) Use Notepad ++ to create an html file (Figure 3) and save it as index.html
(lower case). Note that you may download a ‘template’ (index_template.html)
and add required html codes shown in Figure 3 and save the file as index.html
Dr. Chen, Management Information Systems (FTP)
available under Assignments & Cases  Web Design Assignments
and Resources  data files for …  web1
Dr. Chen, Management Information Systems (FTP)
Major tasks for completing the Web1
3. b) It is very important to rename/save the file as index.html
since it is the default file name that Web Browser will invoke
from your personal web page (i.e, from your GU email
repository). Please note that
i) the file extension should be .html NOT .docx neither .htm.
ii) case is sensitive for all file names and folder names in ALL
web page assignments. For example, index.html is different
from Index.HTML
4. Next, create the following two additional documents:
a) a powerpoint file introduces yourself (something you want to
share with your friends and/or sell yourself to your future
employer) and save it as myself.pptx
b) a resume file in MS-WORD format (see Figure 5) and save it as
myresume.docx
Dr. Chen, Management Information Systems (FTP)
5. When done, copy/upload the following four files into your web
repository (publich_html) using FileZilla FTP:
a) index.html, myself.pptx and myresume.docx to public_html/ directory
b) styles-web1.css (the one your downloaded) to public_html/css/
directory
(a) and (b) can be done in a single process by using FileZilla (See Step 2
in Figure 4)
6. Test your first web page:
a) invoke a Web Browser (e.g., Firefox)
b) type in your URL (the following is my URL – for teaching purpose)
http://barney.gonzaga.edu/~chenta or,
http://barney.gonzaga.edu/~your_userID
7. It is required to “Validate” and “View” your HTML code
(validator.w3.org) and debug/correct the code before you submit the
assignment (see HTML pp. 67-70, 123, 241, 294, or a pdf file for
Validating HTML code for details)
8. What/How you should turn in: (Fail to provide me with ALL
information, you will lose major points).
Dr. Chen, Management Information Systems (FTP)
Figure 1. Your Personal Web Page Design Structure
public_html [web folder]
index.html
myself.pptx
myresume.docx
Dr. Chen, Management Information Systems (FTP)
css [css folder]
styles-web1.css
images [images folder]
8. What/How you should turn in: (Fail to provide me
with ALL information, you will lose major points).
Notifying your instructor by uploading Web#1
message to the Blackboard (not via email). See detailed
instruction on the document of
“Instruction_Web_Assignments_Bb” available on the
Bb. Please note that you should click “Write
Submission” to enable the text editor box. Enter the
following information in the “2. Assignment
Submission” window:
Dr. Chen, Management Information Systems (FTP)
What/How you should turn in
8. (cont.)
Upload Web1 to the Blackboard and make sure to enter the
following information in the “2. Assignment Submission” Box :
Dr. Chen
This is my Web1 assignment
Make the URL linkable
http://barney.gonzaga.edu/~your_userID
<Your Full Name> : BMIS235-02 (or BMIS235-03/05)
so that your grade will be posted correctly.
.
Dr. Chen, Management Information Systems (FTP)
What/How you should turn in
8. (cont.)
Upload Web1 to the Blackboard and make sure to enter the
following information in the “2. Assignment Submission” Box :
Dr. Chen
This is my Web1 assignment
Make the URL linkable
http://barney.gonzaga.edu/~your_userID
<Your Full Name> : BMIS235-02 (or BMIS235-03/05)
so that your grade will be posted correctly.
.
Dr. Chen, Management Information Systems (FTP)
Problem on Displaying your web page
(Forbidden Message)
• If you receive
‘Forbidden’
message, please do
the following steps:
• Step 1. Connect your
account using
FileZilla
• Step 2. Right click on
public_html
• Step 3. Select ‘File
Attribute on the
pop-up menu
Dr. Chen, Management Information Systems (FTP)
right click
select
Problem on Displaying your web page
• Step 4. Mark
‘Execute’ on
Group and
Public
permissions
mark
Dr. Chen, Management Information Systems (FTP)
• What happen if
you are
working your
web
assignments
off campus?
FTP (FileZilla)
Dr. Chen, Management Information Systems (FTP)
FTP - FileZilla
Open the site manager, as seen below, and use these settings for
a new site:
Host: barney.gonzaga.edu
Server Type: SFTP - SSH File Transfer Protocol
Logon Type: Normal
User: [your GU username goes here]
Password: [your GU password goes here]
Please note that you should have only “My Sites” section when
you open “Site Manager”.
You should change the protocol from “FTP” to “SFTP” and
enter your personal logon information as follows. Click
connect, then you will see the main window.
Dr. Chen, Management Information Systems (FTP)
Figure 2: How to Use FTP (FileZilla client)
Step 1: Login to your account and Invoke FileZilla client (SFTP)
Dr. Chen, Management Information Systems (FTP)
Step 2: Select three files from your computer (on the left side) to be transferred
then upload to our Web server (ie., Barney server): 1) index.html, 2)
myresume.docx and 3) myself.pptx
Dr. Chen, Management Information Systems (FTP)