ITWS-2210 / CSCI-4963. Logistics Format – Class w/ mini projects (graded on class participation) – Labs (individual projects, graded on completion in.

Slides:



Advertisements
Similar presentations
Overview Environment for Internet database connectivity
Advertisements

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?
Lecture 11 Server Side Interaction
JavaScript and AJAX Jonathan Foss University of Warwick
HTTP Request/Response Process 1.Enter URL ( in your browser’s address bar. 2.Your browser uses DNS to look up IP address of server.com.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
IST 221 Internet Concepts and Applications Internet, WWW and HTML 1.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
© Ms. Masihi 1.  A web page is created using a language called, Hypertext Markup Language, better known as HTML Code.  HTML is a user friendly language.
Chapter 14 Introduction to HTML
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Web 2.0 with AJAX Students : LASC Ioana KELEMEN Csilla POP Dan Adrian CIOBANU Dumitru Daniel Project leader : Ahmed RHIAT.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
Website Development & Management Introduction & Overview CIT Fall Instructor: John Seydel, Ph.D.
CGS3066: Web Programming and Design Summer 2014 Instructor Mir Anamul Hasan.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
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.
Languages in WEB Presented by: Jenisha Kshatriya BCM SS09.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Server-side Scripting Powering the webs favourite services.
With your friendly Web Developer, Chris.. Terminology  HTML - > Hypertext Markup Language  CSS -> Cascading Style Sheet  open tag  close tag  HTTP->Hypertext.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
Sheet 1XML Technology in E-Commerce 2001Lecture 1 XML Technology in E-Commerce Lecture 1 WWW, HTML, CSS, XML, Meta-modeling.
Client side web programming Introduction Jaana Holvikivi, DSc. School of ICT.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Session I Chapter 1 - Introduction to Web Development
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
ALBERT WAVERING BOBBY SENG. Welcome  Introductions  Existing knowledge?  Laptops?  Course goals  Introduction to several topics  Encourage creativity.
Session 1 Chapter 1 - Introduction to Web Development ITI 133: HTML5 Desktop and Mobile Level I
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Asstt. Prof Sonia Sharma Computer Dept 1 HTML ( Hypertext MarkUP Language ) HTML is the lingua franca for publishing hypertext on the World Wide Web.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
Introduction to the World Wide Web & Internet CIS 101.
1/7/2016www.infocampus.co.in1. 1/7/2016www.infocampus.co.in2 Web Development training gives you and all-round training in both the design and the development.
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
CS491B Software Design Lab Project Report Yuet-Chi Lee California State University, Los Angeles.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Web Technologies Computing Science Thompson Rivers University
Introduction to Dynamic Web Programming
WWW and HTTP King Fahd University of Petroleum & Minerals
AJAX.
PHP / MySQL Introduction
Department of Computer Science, Florida State University
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
HTML A brief introduction HTML.
Web Browser server client 3-Tier Architecture Apache web server PHP
Chapter 27 WWW and HTTP.
Secure Web Programming
CIS 133 mashup Javascript, jQuery and XML
An Introduction to JavaScript
BOF #1 – Fundamentals of the Web
Web Technologies Computing Science Thompson Rivers University
Client-Server Model: Requesting a Web Page
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

ITWS-2210 / CSCI-4963

Logistics Format – Class w/ mini projects (graded on class participation) – Labs (individual projects, graded on completion in class) – 3 Tests – 3 Homework assignments – 1 final project (group) – Must attend class to use office hrs

Logistics Administrative Issues – Adding the class Sign in today Attend Wed & Fri Academic Honesty Expectations There is one reading, no textbooks

What is this Class About? Web Systems Development – Think: Web-as-Operating System – Standard set of protocols and APIs

What is this Class About? Building a (web) technology toolbox Gain Knowledge of modern web architecture (ajax, services) Navigate the messy technological space of the web

The Messy Web Overlapping technologies (many ways of achieving an outcome) Technologies implemented in semi standard ways in multiple products Legacy issues: HTML as an Example

Navigating an Overlapping Continuum of Technologies Failed at building a diagram: – CSS on the left side (100% display data) – MYSQL on the right (100% data model)

Navigating an Overlapping Continuum of Technologies JSON - Java Script Object Notation XML - describes data in a structure XSLT - transforms xml data structure – Requires server side engine in production HTML - structured markup for display of data in a browser CSS - defines how browsers should render/display HTML

Navigating an Overlapping Continuum of Technologies JavaScript – Client side programming language – (browser) Event driven – Rich data structures – Navigate and manipulate HTML document object

Navigating an Overlapping Continuum of Technologies PHP – Server side language – Handles webserver I/O – Generally used to manipulate & output data in HTML – XML – JSON – Images (binary data)

Navigating an Overlapping Continuum of Technologies MYSQL – Database – Stores data in a structure

Inconsistent Implementations HTML, CSS are infamous (IE v. everyone else) No excuses Work around: – specify a doctype (do the reading) – use standards compliant HTML and CSS

Inconsistent Implementations JS – Implemented at the browser level – Workaround: frameworks like jquery, prototype, Dojo & MooTools build a new layer that abstracts browser differences

Inconsistent Implementations SQL is implemented differently between – Oracle – MYSQL – MSSQL Solution: – Database abstraction layer: hybernate

Legacy issues: HTML Where did HTML come from? What is XHTML’s relation to HTML?

Legacy issues: HTML 1989 Berners-Lee/Hendler proposed HTML as a hypertext markup based on SGML (from the 1960s) HTML featured loose formatting standards (ease and speed of deployment) – Probably caused its popularity and success.

Legacy issues: HTML HTML had problems XML (Extensible Markup Language), Ca 1998 open standard by W3C XHTML standard published by W3C ca XHTML is XML

Legacy issues: HTML What about all those old HTML sites? QuirksMode – Backwards compatibility mode supported by most browsers when a doctype is not specified. Old HTML and XHTML share – (many) Tags –.html

The Messy Web Your challenge: – provide clients, employers with functionality in a growing, overlapping, non-standard space.

Content to your Browser A brief overview of how things work on the web

The Easy: Static HTML 1.Your browser generates an HTTP GET request GET http/1.1http://

The Easy: Static HTML 2. Server locates requested file, returns it (URL maps to folder structure on server)

The Easy: Static HTML 3. Server sends back the content of the requested file

The Easy: Static HTML 4. Client inspects HTML, makes additional requests to the server

The Easy: Static HTML As content arrives, the client renders the page

The Easy: Static HTML Good: fast / scales up easily Bad: does not support persistence in interactivity to the user

CGI Replace a static HTML file with a program – Web server calls program and passes parameters from the GET request – Returns HTML – Can access other applications on the server – Can use a database or file system to store client state info (items in a shopping cart)

CGI Good: allows for interactive web applications Bad: terrible scaling (a new copy of the CGI script is started for each request)

PHP Like CGI…Only…. Script snippets can be embedded within HTML Server (a module within Apache) parses and runs script as it delivers it to the client

PHP Good: low initial overhead Bad: Easy to comingle model, view and controller

PHP/Mysql for Persistence in interactivity Old: one page per function, UI rules handled at the server – product.php?id=12345 – addtocart?id=12345&color=red New: PHP API and a Javascript webapp (php as a service)

DHTML All data is loaded onto a page JavaScript used to control when/how data is displayed

AJAX JavaScript makes additional HTTP requests based on user actions Extra data without extra page loads

AJAX Click to edit = DHTML

AJAX JS makes an HTTP POST = AJAX

AJAX Page never reloads in browser

CSS Style Sheets are rules for how the browser should render HTML Separates style and data

CSS CSS turned off (approach.rpi.edu)

CSS CSS turned off (approach.rpi.edu)

HTML Refresher Standards: – Help: – –

HTML Refresher Specify XML + Doctype

HTML Refresher Root element …

HTML Refresher Two Child Elements Holds meta data about the page Holds page data

HTML Refresher Head …. (on page css)

HTML Refresher Head (on page JS)

HTML Refresher Head

HTML Refresher Body – Some elements that describe text… – Paragraphs of text ….

HTML Refresher Body – Unordered lists item another item

HTML Refresher Body – Ordered lists item another item

HTML Refresher Body – Anchors Link to somewhere else: …. Destination on the page …. – Access via:

HTML Refresher Body – What are tables for? ….

HTML Refresher Body – Tables have: Rows ….. Rows have – Headers ROW ONE HEAD Cell value

HTML Refresher Body – Contains elements that describe text Create non-textual elements on the page Group other page elements

HTML Refresher Body – Some elements that define other elements on the page makes a horizontal rule breaks a line

HTML Refresher Body Some elements that group other elements Div is a block level conceptual grouping element …. elements …. – Span is a inline conceptual grouping element … elements …