Introduction To GU Computing Facility, FTP and Web

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Creating and Editing a Web Page Using Inline Styles
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
CIS101 Introduction to Computing
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
HTML Introduction HTML
Developing a Basic Web Page with HTML
INSTRUCTIONAL SUPPORT SERVICES (ISS) SHORT COURSE, FALL 2012 UMSL Introduction to Web Page Design.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Chapter 14 Introduction to HTML
Intro to MIS – MGS351 Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
1 Networks and the Internet A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically.
Dr. Chen, Management Information Systems (FTP) Introduction To GU Computing Facility, FTP and Web Dr. Jason C. H. Chen Professor of MIS School of Business.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
Dr. Chen, Management Information Systems (FTP) Introduction To GU Computing Facility, FTP and Web#1 Dr. Jason C. H. Chen Professor of MIS School of Business.
CPSC 203 Introduction to Computers Lab 21, 22 By Jie Gao.
Dr. Chen, Management Information Systems (Web#2) Web2 and WEB/HTML Introduction Dr. Jason C. H. Chen Professor of MIS School of Business Administration.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
Creating and Publishing Your own web site PC Version SEAS 001 Professor Ahmadi.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
HTML: Hyptertext Markup Language Doman’s Sections.
CHAPTER 1: INTRODUCTION. CONTENTS  Networks  World Wide Web  Hypertext Documents  Web pages - Web site  Web Servers and Web Browsers  HTML: The.
Creating and Editing a Web Page
Lesson 2 – Unit B. Quick review 1. What is the name of the eGCC host that you ftp your files? 2. What type of software do you use to create and edit web.
Web Design New Brighton High School Exploring the History of the World Wide WebWorld Wide Web.
Creating Web Pages with Links, Images, and Embedded Style Sheets
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
Objectives At the end of this session students will: Define the following terms in two sentences or less Website Web page Browser Html URL Hyperlink Explain.
Dr. Chen, Management Information Systems (Web#2) Web1 and WEB/HTML Introduction [Learning by Doing] Dr. Jason C. H. Chen Professor of MIS School of Business.
Week 1: Introduction to HTML and Web Design
HTML Structure & syntax
Basic concepts of web design
Getting Started With HTML
Getting Started with Dreamweaver
4.01 How Web Pages Work.
Online PD Basic HTML The Magic Of Web Pages
INTRO TO WEB DEVELOPMENT html
Introduction to HTML.
HTML Basics.
4.01 How Web Pages Work.
Web2 and WEB/HTML Introduction [Learning by Doing]
Objective % Select and utilize tools to design and develop websites.
CS7026: Authoring for Digital Media HTML Authoring
Learning the Basics – Lesson 1
Introduction to XHTML.
Objective % Select and utilize tools to design and develop websites.
Word and the Writing Process
Building a Webpage Extended Learning Module F
Arden University FTP Induction Resource
CISC103 Web Development Basics: Web site:
CNIT 131 HTML5 – Anchor/Link.
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Unit A.
Getting Started with Dreamweaver
Tutorial Developing a Basic Web Page
Introduction to HTML- Basics
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Part 1. Preparing for the exercises
4.01 How Web Pages Work.
Web Programming and Design
Presentation 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 chen@gonzaga.edu

Attention … Always write the class & personal information on any assignments and exams For example: Bmis235-01 (or bmis235-02) ROW: 2 Name: John Smith

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

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.

C: D: my network places Drives on Local PC

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.

File Systems: Hierarchical Structure Volumes (drives) -> Folders (directories) -> sub-folders ->…->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

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

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

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.

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)

Introducing the World Wide Web A network is a structure linking computers together for the purpose of sharing resources such as printers and files Users typically access a network through a computer called a host or node 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 LAN? WAN? MAN?

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

Structure of the Internet

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

Linear versus hypertext documents

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

Using a browser to view a Web document from a Web server

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

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/~chenta2 http://barney.gonzaga.edu/~chen

Four Basic HTML5 Semantic Elements div id=“container” <!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> header [Basic Required HTML elements] nav main HTML provides new tools for improving/structuring webpage design, including semantic elements for specific types of content footer

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.

div id=“container” header nav main footer

Four Basic HTML5 Semantic Elements div id=“container” header nav main footer

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

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 bmis235-publich_html folder [see next two slides]

Files and Folders should downloaded/created on PC

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.

available under Assignments & Cases  Web Design Assignments and Resources  data files for …  web1

4. The result is shown on the next slide 1.select 2. Select files and folders 3. Select “Upload” 4. The result is shown on the next slide

Web Directory Structure for web1 and web2 Therefore, the directory structure on the desktop (or laptop) matches with web folder (i.e., public_html)

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”>

main html codes should be placed here. Figure 1. index-template.html <!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 **************************************************************************--> <html lang="en"> <head> …. <meta charset="utf-8"> </head> <body> <div id="container"> <br> <br> <br> <br> <br> <br> <br> <pre> … </pre> <nav> </nav> <br> <br> <footer> <p> For comments about my web site, please e-mail me at: <a href="MAILTO:chen@gonzaga.edu"> chen@gonzaga.edu </a> <br> Phone: <a href="tel:+5093133421">509-313-3421</a> </p> <!--Insert phone link--> </footer> </div> </body> </html> From now on, it (your personal information) is required for ALL assignments to be added. main html codes should be placed here. one word

(cascading style sheet) 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 *************************************************************************--> <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> <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> </header> <br> <br> <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> will study in ch4 (cascading style sheet) ul: Unordered List li: List Item

How to improve it? one word Figure 1. index.html (cont.) <main> <pre> <b> ******************************************************* © (your name here) ... (your add any appropriate information here) </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> </main> <footer> <p> For comments about my web site, please e-mail me at: <a href="MAILTO:chen@gonzaga.edu"> chen@gonzaga.edu </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> Go to <a id of “top” replaced with your info. one word How to improve it?

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>

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>

Appendix C - Color Reference Palette (APP 29) W3Schools: www.w3schools.com/tags/ref_colorpicker.asp CSS Portal: www.cssportal.com/css3-color-names/ Color Picker: www.colorpicker.com/ HTML Color Codes: http://html-color-codes.info/ HTML Color Names: http://html-color-codes.info/color-names/

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

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

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

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

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

What you should do on Web1 See Web1 assignment 1. Create the following two folders on the PC: i) a folder of bmis235-0x-public_html (0x stands for your section number such as bmis235-03-public_html) on c: (or d:) drive, and ii) another folder of css under bmis235-0x-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

available under Assignments & Cases  Web Design Assignments and Resources  data files for …  web1

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

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).

public_html [web folder] Figure 1. Your Personal Web Page Design Structure public_html [web folder] images [images folder] index.html myself.pptx myresume.docx css [css folder] styles-web1.css  

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:

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 http://barney.gonzaga.edu/~your_userID <Your Full Name> : BMIS235-02 (or BMIS235-03/05) so that your grade will be posted correctly. . Make the URL linkable

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 http://barney.gonzaga.edu/~your_userID <Your Full Name> : BMIS235-02 (or BMIS235-03/05) so that your grade will be posted correctly. . Make the URL linkable

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 right click select

Problem on Displaying your web page Step 4. Mark ‘Execute’ on Group and Public permissions mark

What happen if you are working your web assignments off campus? FTP (FileZilla)

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.

Figure 2: How to Use FTP (FileZilla client) Step 1: Login to your account and Invoke FileZilla client (SFTP)

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