JavaScript Context. INFO/CSE 100, Spring 2005 Fluency in Information Technology.

Similar documents
Chapter 11 Program Development and Programming Languages

HTML, XHTML, and CSS. Sixth Edition. Chapter 1. Introduction to HTML, XHTML, and

Java Applets, etc. Instructor: Dmitri A. Gusev. Fall Lecture 25, December 5, CS 502: Computers and Communications Technology

Programming the World Wide Web by Robert W. Sebesta

A network is a group of two or more computers that are connected to share resources and information.

Web Design. Basic Concepts

Next... Next... Handling the past What s next - standards and browsers What s next - applications and technology

Hypertext Markup Language, or HTML, is a markup

Languages in WEB. E-Business Technologies. Summer Semester Submitted to. Prof. Dr. Eduard Heindl. Prepared by

Lesson 12: JavaScript and AJAX

AIM. 10 September

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Understanding the Web Design Environment. Principles of Web Design, Third Edition

Chapter 10: Understanding the Standards

FUNDAMENTALS OF WEB DESIGN (46)

Discovering Computers Chapter 13 Programming Languages and Program Development

HTML5 MOCK TEST HTML5 MOCK TEST I

Web Systems & Technologies: An Introduction

Web Systems & Technologies: An Introduction

Shankersinh Vaghela Bapu Institue of Technology

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Internet: An international network of connected computers. The purpose of connecting computers together, of course, is to share information.

CPET 581 E-Commerce & Business Technologies. Topics

Connecting with Computer Science Chapter 5 Review: Chapter Summary:

Scripting. Web Architecture and Information Management [./] Spring 2009 INFO (CCN 42509) Contents

Lesson 5: Multimedia on the Web

CS WEB TECHNOLOGY

Local area network (LAN) Wide area networks (WANs) Circuit. Circuit switching. Packets. Based on Chapter 2 of Gary Schneider.

ZEND: Survey on the Examination System

WME MathEdit. An initial report on the WME tool for creating & editing mathematics. by K. Cem Karadeniz

Developing a Basic Web Page

Publishing Technology 101 A Journal Publishing Primer. Mike Hepp Director, Technology Strategy Dartmouth Journal Services

Background of HTML and the Internet

1Site Development Foundations Objectives and Locations

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Web Scraping with Python

Design concepts for data-intensive applications

UNIT -II. Language-History and Versions Introduction JavaScript in Perspective-

Introduction to Web Concepts & Technologies

XML Update. Royal Society of the Arts London, December 8, Jon Bosak Sun Microsystems

The Text Editor appears in many locations throughout Blackboard Learn and is used to format text. For example, you can use it to:

powered by Series of Tubes Senator Ted Stevens talking about the Net Neutrality Bill Jul 17, powered by

UR what? ! URI: Uniform Resource Identifier. " Uniquely identifies a data entity " Obeys a specific syntax " schemename:specificstuff

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

EL DORADO UNION HIGH SCHOOL DISTRICT Educational Services

Web Standards Mastering HTML5, CSS3, and XML

MRK260. Week Two. Graphic and Web Design

WWW today ME-E4300 Semantic Web,

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject

Web Site Development with HTML/JavaScrip

Web Site Design and Development. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Interchange formats. Introduction Application areas Requirements Track and object model Real-time transfer Different interchange formats Comparison

Graphics Design and Applied Arts บทท 6 การออกแบบเว บเบ องต น

ipokr System: Leveraging JAX-RPC Assignment: Life Long Learning Research Paper Class: CS&E 762 Date: May 4, 2006

Exam : 9A Title : Adobe GoLive CS2 ACE Exam. Version : DEMO

Web Programming Pre-01A Web Programming Technologies. Aryo Pinandito, ST, M.MT

XHTML. XHTML stands for EXtensible HyperText Markup Language. XHTML is the next generation of HTML. XHTML is almost identical to HTML 4.

5/19/2015. Objectives. JavaScript, Sixth Edition. Introduction to the World Wide Web (cont d.) Introduction to the World Wide Web

Grading for Assignment #1

Tennessee. Trade & Industrial Course Web Page Design II - Site Designer Standards. A Guide to Web Development Using Adobe Dreamweaver CS3 2009

WebDev. Web Design COMBINES A NUMBER OF DISCIPLINES. Web Development Process DESIGN DEVELOPMENT CONTENT MULTIMEDIA

Development of an e-library Web Application

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

Objectives. Introduction to HTML. Objectives. Objectives

ibreathesports Inc. Apurva Alok Bernardo Silva

DDC Learning Web Design with Adobe CS5 Georgia Edition 2011

Web Engineering (CC 552)

GRAPHIC WEB DESIGNER PROGRAM

Introduction to Dreamweaver CS4:

Part III: Survey of Internet technologies

Current Web Development

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Chapter 15 Plug-ins, ActiveX, and Applets

Web Development I PRECISION EXAMS DESCRIPTION. EXAM INFORMATION Items

World Wide Web PROGRAMMING THE PEARSON EIGHTH EDITION. University of Colorado at Colorado Springs

Georgia Competency-Based Curriculum Frameworks, Career & Technical Education Information Technology, Web Page Design, Course 11.

The main differences with other open source reporting solutions such as JasperReports or mondrian are:

Sections and Articles

1) What is the first step of the system development life cycle (SDLC)? A) Design B) Analysis C) Problem and Opportunity Identification D) Development

Time: 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups as directed. Group A.

IGME-330. Rich Media Web Application Development I Week 1

Table of Contents WWW. WWW history (2) WWW history (1) WWW history. Basic concepts. World Wide Web Aka The Internet. Client side.

Agenda. INTRODUCTION TO WEB DEVELOPMENT AND HTML <Lecture 1> 1/20/2013. What is a Web Developer? Rommel Anthony Palomino Spring

The course also includes an overview of some of the most popular frameworks that you will most likely encounter in your real work environments.

Review. Fundamentals of Website Development. Web Extensions Server side & Where is your JOB? The Department of Computer Science 11/30/2015

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

In this third unit about jobs in the Information Technology field we will speak about software development

Aleph - Web Opac Accessibility. Accessibility in Aleph500 Web OPAC

1. Setup a root folder for the website 2. Create a wireframe 3. Add content 4. Create hyperlinks between pages and to external websites

Reading How the Web Works

The XML Metalanguage

Database Systems: Design, Implementation, and Management Tenth Edition. Chapter 14 Database Connectivity and Web Technologies

8/27/17. CS-3304 Introduction. What will you learn? Semester Outline. Websites INTRODUCTION TO PROGRAMMING LANGUAGES

Technology in Action. Chapter Topics. Scope creep occurs when: 3/20/2013. Information Systems include all EXCEPT the following:

Comp 336/436 - Markup Languages. Fall Semester Week 4. Dr Nick Hayward

Beginning Web Site Design

COMS W3101: SCRIPTING LANGUAGES: JAVASCRIPT (FALL 2017)

Embracing HTML5 CSS </> JS javascript AJAX. A Piece of the Document Viewing Puzzle

HTMLandXHTML 5th Edition

Transcription:

JavaScript Context INFO/CSE 100, Spring 2005 Fluency in Information Technology http://www.cs.washington.edu/100 fit100-17-context 2005 University of Washington 1

References Readings and References» Wikipedia articles on HTML, XML, XHTML and scripting languages http://en.wikipedia.org/wiki/html http://en.wikipedia.org/wiki/xml http://en.wikipedia.org/wiki/xhtml http://en.wikipedia.org/wiki/scripting_language» IBM Home Page Reader 3.0 http://www-3.ibm.com/able/solution_offerings/hpr.html fit100-17-context 2005 University of Washington 2

Language Layers Sure, JavaScript is fun. But where does it fit in the larger picture? Markup language» information structure and content, hyperlinking Lightweight scripting language» dynamic creation of HTML, response to events Heavyweight programming language» active graphics creation, numerical computation fit100-17-context 2005 University of Washington 3

Markup Language - HTML HyperText Markup Language» a language for describing the content and presentation of a web page content: The meaning and structure of the web page presentation: How the page is to be presented» HTML pages have a basic hierarchical structure defined by the tags <html>, <head>, <body>, and so on» Basic HTML describes a static page once parsed and rendered, the page doesn t change hyperlinking was the big step forward in basic HTML fit100-17-context 2005 University of Washington 4

Content vs. Presentation Early versions of HTML mixed these two ideas» For example: <p align= left >» The <p> tag identifies the basic structure of the page content» The align= left attribute guides the presentation Newer versions are separating content and presentation» All "presentation attributes" of HTML elements were deprecated in HTML 4.01.» All "presentation attributes" of HTML elements are not supported in XHTML 1.0 Strict DTD. This separation is a very useful distinction to make» what is the meaning? vs what is the format of the display? fit100-17-context 2005 University of Washington 5

Why is this distinction useful? Once you have easy access to the structure and meaning, there are many useful ways to manage and present the information that is available Manage the information» extract a travel map from a directions page» filter an inventory list to select only certain attributes Present the information» graphical browser on a full-size screen» cell-phone browser display fit100-17-context 2005 University of Washington 6

Manage the information Information that is well structured can be» filtered, reorganized, used as program input, presented in a variety of reports,... This is what a database program is used for» If we can separate the content from the presentation in web pages, we can use the web as a giant database» Not a single database, but we can use it like one Web scraping, screen scraping» extract the content and discard the presentation fit100-17-context 2005 University of Washington 7

Web Scraping Example New Brunswick, NJ, January 07, 2003 Connotate Technologies, Inc., a leading provider of Web Mining solutions, today announced that Cinergy Marketing & Trading, L.P., a Houston affiliate of Cinergy Corp. has selected Connotate Technologies vtag Web Mining Server to harvest energy market information from the web. Using the server s automated monitoring, extraction, filtering, and delivery capabilities, Cinergy can now access energy information from hundreds of Web sources.... fit100-17-context 2005 University of Washington 8

Structured Data Example

Structured Data Example

request: web service protocol response: HTML fragment UW CSE Grades Database Server Grades database block added DWJ 11/1/2004

Giving meaning to all web data The Semantic Web is based on two fundamental concepts: The description of the meaning of the content in the Web The automatic manipulation of these meanings fit100-17-context 2005 University of Washington 12

Present the information Once you have a database with a defined structure, you can present the information it contains in many different ways Define a style for presenting the data» Cascading Style Sheets associate style with structure Use a browser appropriate to the requirements» desktop graphical: MSIE, Mozilla, Opera, Safari» desktop text-only: Lynx, Links, WannaBe» Audio: IBM Home Page Reader 3.0» PDA and cell phone: Opera, WAP browsers, Pocket IE The information you want exists, but presenting it in a useful, timely, accessible fashion is a real challenge fit100-17-context 2005 University of Washington 13

Language Layers Sure, JavaScript is fun. But where does it fit in the larger picture? Markup language» information structure and content, hyperlinking Lightweight scripting language» dynamic creation of HTML, response to events Heavyweight programming language» active graphics creation, numerical computation fit100-17-context 2005 University of Washington 14

Lightweight Scripting Language JavaScript is a scripting language» has many features of larger languages but intended for more casual or rapid development Such languages are used to provide dynamic control of the content and display» intended to be used by web page developers, system administrators, and others to quickly develop useful applications fit100-17-context 2005 University of Washington 15

Other Scripting Languages PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java. Python is also usable as an extension language for applications that need a programmable interface. Perl is a language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It's also a good language for many system management tasks. The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). VBScript. Microsoft Visual Basic Scripting Edition brings active scripting to a wide variety of environments, including Web client scripting in Microsoft Internet Explorer and Web server scripting in Microsoft Internet Information Service. fit100-17-context 2005 University of Washington 16

Dynamic HTML Dynamic HTML is a technique of creating interactive web sites by using a combination of» the static markup language HTML» the style definition language Cascading Style Sheets» a client-side scripting language A client-side scripting language provides» Adaptivity the page can be customized» Interactivity get user input and display results» Applications build a general purpose program fit100-17-context 2005 University of Washington 17

Language Layers Sure, JavaScript is fun. But where does it fit in the larger picture? Markup language» information structure and content, hyperlinking Lightweight scripting language» dynamic creation of HTML, response to events Heavyweight programming language» active graphics creation, numerical computation fit100-17-context 2005 University of Washington 18

Larger Programming Languages Web browsers are handy, but many applications are large and need specialized capabilities Large applications are generally written in full featured programming languages like» Java, C++, C#, Fortran» These languages come with extensive function libraries to support extended networking, graphics, data structures, etc. Many new languages straddle the line and are appropriate for both scripting and large-scale development fit100-17-context 2005 University of Washington 19

Recall the Sort Demo The code that actually does the sorting and graphics is written in Java. The programs are compiled and run as applets. They use the web page area for display, but are not working with HTML. http://java.sun.com/applets/jdk/1.0/demo/sortdemo/example1.html fit100-17-context 2005 University of Washington 20

Summary HTML forms the basic structure for web pages» Modern trends are to separate the structural description of the data the presentation of the data to the user» process the information according to the content» display the information as appropriate to the user Programming languages make information management and display dynamic» languages come in many flavors but they share many basic concepts and much of their basic syntax fit100-17-context 2005 University of Washington 21