CNIT 133 Interactive Web Pags – JavaScript and AJAX Course Overview.

Slides:



Advertisements
Similar presentations
Introduction to HTML, XHTML, and CSS
Advertisements

4.01 How Web Pages Work.
What is the Internet? Internet: The Internet, in simplest terms, is the large group of millions of computers around the world that are all connected to.
Project 1 Introduction to HTML.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
Layer 7- Application Layer
The Internet and the World Wide Web. Una DooneyThe Internet and WWWSlide 2 What is the Internet? A collection of networks (LANS and WANS) around the world.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
1st Project Introduction to HTML.
Internet Basics مهندس / محمد العنزي
MODULE 6 THE INTERNET. Introduction to the Internet and World Wide Web A computer network is a communication system that connects two or more computers.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Web Design Basic Concepts.
CSCI 323 – Web Development Chapter 1 - Setting the Scene We’re going to move through the first few chapters pretty quick since they are a review for most.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Chapter 1 Introduction to HTML, XHTML, and CSS
Computer Concepts 2014 Chapter 7 The Web and .
CNIT 132 Intermediate HTML and CSS Course Overview.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
Connecting one computer to another computer creates a network.
Lesson 2 — The Internet and the World Wide Web
CSCI-235 Micro-Computer Applications The Internet.
2013Dr. Ali Rodan 1 Handout 1 Fundamentals of the Internet.
Lectures and Practicals Mon 8-10 SC1222 TUE SC1222 Office: SC Website: mis.csit.sci.tsu.ac.th/kanida.
BASIC UNDERSTANDING OF INTERNET AND WEB BRIDGE COURSE of INFORMATION & COMMUNICATION TECHNOLOGY Activity No. 8.
History of the Internet and Internet Basics AGED 4143 Electronic Communications in Agriculture.
CNIT 133 Interactive Web Pags – JavaScript and AJAX JavaScript Environment.
IT Introduction to Information Technology. The Internet & World Wide Web Began in 1969 with the ARPANET (Advanced Research Project Agency Network)
Networks QUME 185 Introduction to Computer Applications.
HOW WEB SERVER WORKS? By- PUSHPENDU MONDAL RAJAT CHAUHAN RAHUL YADAV RANJIT MEENA RAHUL TYAGI.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
The Internet. Network - Collection of computers and devices connected together via communications devices Internet - Worldwide collection of networks.
CIS 250 Advanced Computer Applications Internet/WWW Review.
Communication, Networks, The internet and the Worldwide Web.
1 Welcome to CSC 301 Web Programming Charles Frank.
The First Computer The Abacus At least 2500BC in Mesopotamia Used by merchants to calculate transactions.
NETWORK HARDWARE AND SOFTWARE MR ROSS UNIT 3 IT APPLICATIONS.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Introduction to Internet. What is Internet? A network of networks A network of networks Internet is a network made of lots of interconnected networks.
INTERNET. Objectives Explain the origin of the Internet and describe how the Internet works. Explain the difference between the World Wide Web and the.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
© 2010 Pearson Education, Inc. | Publishing as Prentice Hall. Computer Literacy for IC 3 Unit 3: Living Online Chapter 1: Understanding the Internet.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Web Design. What is the Internet? A worldwide collection of computer networks that links millions of computers by – Businesses (.com.net) – the government.
Web Technologies Lecture 1 The Internet and HTTP.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Introducing the World Wide Web History and Structure.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Introduction to the World Wide Web & Internet CIS 101.
ULI101 – XHTML Basics (Part I) Internet / Web Concepts Brief History TCP/IP Web Servers / Web Browsers URL HTTP / HTML.
Introduction to … Internet. Introducing the World Wide Web A network is a structure linking computers together for the purpose of sharing resources such.
Information Networks. Internet It is a global system of interconnected computer networks that link several billion devices worldwide. It is an international.
CIS 1203 Web Technologies Introduction to the Internet and the WWW.
Basics of Networking & Internet Services Prof. Sadique Khan.
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
JavaScript and Ajax (Internet Background)
Chapter 1 Introduction to HTML.
CNIT 131 Internet Basics & Beginning HTML
Project 1 Introduction to HTML.
1 Introduction to the Internet.
Introduction to World Wide Web
Presentation transcript:

CNIT 133 Interactive Web Pags – JavaScript and AJAX Course Overview

Agenda My Web Site: (download syllabus, class notes). Computer Background (Computer Basics, Network Architecture, Client/Server, Web Browser, Web Server, LAN, WAN). Internet (History, Technologies, World Wide Web, How does it work?). JavaScript Course Topics. JavaScript References.

Computer Basics

A Single Computer

Network Architecture Client/Server Architecture (two-tier architecture): each computer on the network is either a client or a server (some computers can be both client and server but not at the same time). – Dedicated Servers: such as file servers (managing disk drives), print servers (managing printers), network servers (managing network traffic). – A client is defined as a requester of services. – A server is defined as the provider of services. Peer-to-peer Architecture (P2P): each computer on the network has equivalent capabilities and responsibilities.

Client/Server

Local Area Network (LAN) A Local Area Network (LAN) is a group of computers and devices that share a common communications line or wireless link and typically share the resources of a server within a small geographic area (for example, within an office building).

Wide Area Network (WAN) A Wide Area Network (WAN) is a computer network covering a wide geographical area, involving a lot more computers. This is different from Local Area Network (LAN) that is usually limited to a room, building or campus. The most well-known example of a WAN is the Internet. WANs are used to connect Local Area Networks (LANs) together.

History of Internet In the late 1950s, the US government formed the Advanced Research Projects Agency (ARPA). During the 1960s, the agency created a decentralized computer network known as ARPAnet. This network linked four computers located at the UCLA, Stanford Research Institute, the UC Santa Barbara, and the University of Utah.

New Technologies Packet switching (communication still function even if some nodes would be destroyed by a nuclear attack). was implemented in 1972 Telnet Protocol for logging on to remote computers File Transfer Protocol (FTP) In 1989, Tim Berners-Lee and his colleagues at the European particle physics laboratory CERN proposed the concept of linking documents with hypertext. (World Wide Web) In 1993, the introduction of Mosaic, the first graphical web browser (Netscape Navigator)

The World Wide Web The WWW operates using a client/server networking principle. When you enter the URL (the web address) of a web page into your browser and click “Go”. You ask the browser (client) to make an HTTP request to the particular computer having that address. That computer (server) returns the required page to you in a form that your browser can interpret and display.

How does Internet work?

The browser broke the URL (Uniform Resource Locator) into three parts: – The protocol (“http”) – The server name (‘ – The file name (“index.htm”) The browser communicated with a name server to translate the server name into an IP address, which it uses to connect to the server machine. The browser then formed a connection to the server at that IP address on port 80. Following the HTTP protocol, the browser sent a GET request to the server, asking for the file (cookies may be sent from browser to server with the GET request) The server then sent the HTML text for the web page to the browser (cookies may also be sent from server to browser in the header for the page) The browser read the HTML tags and formatted the page onto your screen.

The Internet The Internet is a gigantic collection of millions of computers, all linked together on a computer network. A home computer may be linked to the internet using a phone-line modem, DSL or cable modem that talks to an Internet service provider (ISP). A computer in a business or university will usually have a network interface card (NIC) that directly connects it to a local area network (LAN) inside the business. The business can then connect its LAN to an ISP using a high- speed phone line such as a T1 line. ISPs then connect to larger ISPs, and the largest ISPs maintain fiber-optic “backbones” for an entire nation or region. Backbones around the world are connected through fiber- optic lines, undersea cables or satellite links.

The Internet

A map of domain name ownership at street level for downtown San Francisco

The Web Server The Web server is not simply “looking up a file”. It is actually processing information and generating a page based on the specifics of the query. Dynamic web pages are generated by software such as CGI (Common Gateway Interface) scripts. Web server – Microsoft IIS (Internet Information Services) – Apache

The Browser There are different web browsers in the market. Mozilla – Firefox for Windows & Linux Microsoft - Internet Explorer for Windows Netscape for Windows Opera for mobile phones Safari for Apple

What is? Web Pages: contain HTML coding. Web Site: a collection of web pages. Web servers: Program that interpret HTTP requests and deliver the appropriate web page to your browser. Server-Side Programming: Programs that run on the server computer. Web Browsers: Program on the client computer that use to interpret and display web pages. Client-Side Programming: Programs that run on the client side. DNS (Domain Name Service): Convert Domain name into IP address. HTTP Requests: transmit from browser to server with method information (GET/POST) to request a web page. HTTP Responses: return from server to browser with status codes (200 – ok, 204 – no content, 401 – not authorized, 403 – forbidden, 404 – not found, etc…) HTML Forms: web page contain fields where you can enter information. (,,,, etc…) GET and POST Requests: – GET: encodes the message it sends into a query string, which is appended to the URL. – POST: sends its message in the message body of the request. (data is encoded and sent via an HTTP request).

JavaScript Course Overview Core JavaScript – Lexical Structure Character Set, Case Sensitivity, Whitespace and Line Breaks, Optional Semicolons Comments, Literals, Identifiers, Reserved Words – Datatypes and Values Numbers, Strings, Boolean Values, Functions, Objects, Arrays – Variables – Expressions and Operators – Statements Expression Statements, Compound Statements, if, else if, switch, while, do/while, for, for/in, Labels, break, continue, var, function, return, throw, try/catch/finally – Objects and Arrays – Functions

JavaScript Course Overview (continue…) Client-Side JavaScript – JavaScript in Web Browsers The Web Browser Environment, Embedding Scripts in HTML, Event Handlers in HTML, JavaScript in URLs – Scripting Browser Windows Window object – Location and History, Opening and Manipulating Windows – Scripting Documents Document Object Model (DOM) – Cascading Style Sheets (CSS) and Dynamic HTML (DHTML) – Events and Event Handling – Forms and Form Elements – Scripting HTTP Asynchronous JavaScript And XML (AJAX)

JavaScript References There are two basic types of objects in JavaScript – those in the Document Object Model, and Core Objects: – Objects, Properties, and Methods of the Document Object Model (such as images and various form fields) – Core JavaScript Objects, Properties, and Methods (such as Strings, Dates, and Arrays) Event handler reference page Stylesheet reference page General JavaScript reference HTML reference Web-based tutorials at W3Schools