1 / 38

Introduction T o GU Computing Facility, FTP and Web#1

Introduction T o GU Computing Facility, FTP and Web#1. Dr. Jason C. H. Chen Professor of MIS School of Business Administration Gonzaga University Spokane, WA 99258 chen@ jepson. gonzaga.edu. Attention …. Always write the class & personal information on any assignments and exams

zulema
Download Presentation

Introduction T o GU Computing Facility, FTP and Web#1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introduction ToGU Computing Facility, FTPand Web#1 Dr. Jason C. H. Chen Professor of MIS School of Business Administration Gonzaga University Spokane, WA 99258 chen@jepson.gonzaga.edu

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

  3. Collaboration Project • Read Handout (also available on the Bb) thoroughly • You are required to create and complete the following: • a gmail (email) account automatically provides you a google account • you then have “two” gmail (Google) accounts • Complete UYK#2 (a. thru f ) on p.69 and g. on the assignment sheet, and • click “Assignments” on the Bb and • a) click “click her for Collaboration Software Project” for detailed instruction about how to submit your answer to the instructor) • b) click “Collaboration Software Project” when you complete the project and ready for submitting the project online • Submit your answer via Blackboard

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

  5. What is Technology andWhy 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.

  6. Drives on Local PC

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

  8. File Systems: Hierarchical Structure • Volumes (drives) -> Folders (directories) -> sub-folders ->…->files • C: drive • H: Barney account • G: CD-ROM • Root directory: The topmost directory of one volume • Current directory: The folder/directory that the user/program is working in

  9. Windows 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

  10. Basic Operations • Navigation pane: • My Computer • Local disk (C:) & CD-ROM (E:) • johndoe$ on ‘jepsonw2kfs’ (H:) • Content pane: Contents in an active folder • Important concepts • Which drive (volume)? C:, D; E:, or H: • Which directory (folder)? • File name? • Copy/move files between folders/drives • Create/erase files/folders

  11. Barney System (I) • The Barney System: • manages student accounts, • provides email services (Zagmail) – it is now “powered” by Gmail, 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 the designated folder (public_html) so I can grade them anywhere.

  12. Barney System (II) • Transfer files between your Barney account and the drives on the computer you are working on. • When you are in the lab, H: drive • Note: the H: drive is a logical drive and exists only when you are in the lab on campus. It is not a physical drive. This means that if you are not in the lab and want to access files in your barney account, you have to use other ways (e.g. FTP) to download or upload files to or from your Barney account. • When you are NOT in the lab: Use FTP (explained at the end)

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

  14. 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 <a href="myself.pptx"><b>Know more about me with PowerPoint presentation </b></a>

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

  16. The Structure of an HTML File • An HTML document is divided into two parts: the headand the body • The headelement 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

  17. The Structure of an HTML File • The body element contains all of the content to be displayed in the Web page • The bodyelement can contain code that tells the browser how to render the content • The titleelement contains the page’s title; a document’s title is usually displayed in the title bar

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

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

  20. Displaying an HTML File • As you work on a Web page, you should occasionally view it with your Web browser to verify that the file contains no syntax errors or other problems • You may want to view the results using different browsers to check for compatibility

  21. Create your First Web Page • Please note that case is “sensitive” for all file names and folder’s names in ALL web page assignments. • For example, index.html is different from Index.html

  22. Create your first Web Page • Create the following three files (index.html, myself.pptx, and myresume.docx) and save them under the folder of public_html in the H: drive if you are doing the homework on campus. • Otherwise, you should transfer the three files (using FTP – see Figure 2) to your account inside the folder of public_html

  23. H: [root directory] | public_html [web folder] index.html myself.pptx myresume.docx Figure 1. Web Strructure

  24. 1. Create your first HTML file, index.html a) Use NotePad to create an html file (Figure 1) and save it as index.html b) It is very important of naming 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 resource). Please note that i) the file extension should be .htmlNOT .doc neither .htm ii) how to do it? Hint: iii) Select Save As from the File menu, then choose All Files (default is Text Documents (*.txt)) from the Save as type prompts then type the file name as index.html inside the File name box. Click on Save button when you finish. Fail to follow the instruction, the file name might become index.html.txt iv) If you choose to name your documents different from what the names below, be sure that the file name does NOT include a space (use of a underscore, ‘_’, is recommended). v) case is sensitive for all file names and folder names in ALL web page assignments. For example, index.html is different from Index.HTML

  25. From now on, it (your personal information) is required for ALL assignments to be added. main html codes should be placed here. one word Figure 1. index.html <!-- ******************************************************************************** Author: Jason Chen; File name: index.html Date: 5/25/2012 BMIS235-01 ROW: 1 Note that there is an image folder (images) created in this version . This portion shows COMMENTS ******************************************************************************** --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <HEAD> <TITLE>Home Page for your name here</TITLE> </HEAD> <BODY style="background-color: lightgreen"> … … … … … <ADDRESS>For comments about my web site, please e‑mail me at: <A HREF="MAILTO: your actual email address">your actual email address</A> <BR>This document was last updated on May 21, 2012</ADDRESS> </BODY> </html>

  26. Figure 1. index.html From now on, it (your personal information) is required for ALL assignments to be added. <!-- ************************************************************** Author: Jason Chen; File name: index.html Date: 5/25/2012 BMIS235-01 ROW: 1 This portion shows COMMENTS ********************************************************** --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Home Page for Jason Chen</title> <style type="text/css"> <!-- css codes to be added here --> </style> </head> <body style="background-color:lightgreen;" > <center> <h1>Welcome to JASON CHEN's Home Page! </h1> </center> <br /> <br /> <ul style="list-style-type: circle; text-indent: 15pt"> <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> <br /><br /> <address>For comments about my web site, please e mail me at: <a href="MAILTO: your actual email address">your actual email address</a> <br />This document was last updated on May 21, 2012</address> </body> </html> CSS code ul: Unordered List li: List Item one word

  27. 2. 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 3. 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 a sample at the end of the handout) and save it as myresume.docx 4. Test your web page again a) invoke a Web Browser (e.g., Firefox) b) type in your URL again.

  28. http://barney.gonzaga.edu/~chenta

  29. The following page is for your web2 assignment

  30. 5. Validating your HTML program • 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 p.73-77 or a file for Validating HTML code for details)

  31. What/How you should turn in 6. What/How you should turn in: email me with the following information (Fail to provide me with ALL information, you will losemajor points) a) To: chen@jepson.gonzaga.edu b) Subject: BMIS235-03 Web#1 (or BMIS235-04 Web#1) c) Message : Dr. Chen: Here is my Web#1 assignment. http://barney.gonzaga.edu/~your_userID <Your Full Name> at the end of the message line so that I can record/grade your homework.

  32. What happen if you are working your web assignments off campus? FTP

  33. Why do you need to know FTP? • Simply say, FTP (File Transfer Protocol) is a tool that allows you to transmit files between computers or between other electronic devices in distance. For example, when you download a piece of MP3 music, you are using download software based on FTP. FTP also underpins many online auction and gaming. • It just simply looks and works a little bit different. The reason you need to learn how to use FTP is because sooner or later you need to transfer files from one computer to another and the most convenient way is to use FTP.

  34. What is FTP? • FTP (File Transfer Protocol) is a set of rules that regulate how two computers (client/server) establish connections, submit and receive messages, and reorganize messages. When downloading a file from the Internet, you're transferring the file to your computer (called client) from another computer (called serverorhost) in distance over the Internet.  • The server computer is usually a dedicated computer with an FTP address to provide file transfer services. An FTP server is like a warehouse for computer files. You can store (upload) or retrieve (download) files from there.

  35. Download FTP Program • Type the following keyword on the Google search • filezilla client download • Select an appropriate one for your computer • i.e., either Windows or MAC OS x

  36. You need to provide some information to create connection with the FTP server. The meanings of those fields are: • Profile Name • Host Name/Address • Host Type • User ID • Password • Account • Anonymous • Save Password • Initial Directories • Comment

  37. After you provide necessary information, clicking on the OK button will establish the connection between the machine you are working on and the host. The FTP Client usually has two panes: The pane on the left displays the files on your local computer and the pane on the right displays the files on the remote computer.

  38. Transferring files is quite straightforward: (1) choose the right folder/directory in either local machine or remote machine (2) choose the file you want to transfer (3) click on one of the direction arrows located between the panes. The above procedure is the same for upload (from local machine to remote machine) and for download (from remote machine to local machine).

More Related