DT211/3 Internet Development Application Internet Development Application.

Slides:



Advertisements
Similar presentations
E-Commerce CMM503 – Lecture 8 Stuart Watt Room C2.
Advertisements

Overview Environment for Internet database connectivity
DT228/3 Web Development WWW and Client server model.
Session 13 Active Server Pages (ASP) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Languages for Dynamic Web Documents
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
The Application Layer Chapter 7. Electronic Mail Architecture and Services The User Agent Message Formats Message Transfer Final Delivery.
Introduction to Web Database Processing
Introduction to Web Application Architectures Web Application Architectures 18 th March 2005 Bogdan L. Vrusias
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
Introduction to Web Interface Technology (CSE2030)
Dynamic Web Pages Bert Wachsmuth. Review  Internet, IP addresses, ports, client-server, http, smtp  HTML, XHTML, XML  Style Sheets, external, internal,
DT228/3 Web Development WWW and Client server model.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Introduction to Web Interface Technology (CSE2030)
Website Development with PHP and MySQL Introduction.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
ECA 228 Internet/Intranet Design I Intro to the Web.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
WEB DESIGN SOME FOUNDATIONS. SO WHAT IS THIS INTERNET.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
INTRODUCTION TO WEB DATABASE PROGRAMMING
CS 299 – Web Programming and Design CS299: Web Programming and Design Instructor: Dr. Fang (Daisy) Tang.
Internet Applications Notes for Chapter 19 Digital Domain, 2 ed.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
Chapter 1: Introduction to Web
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
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.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
Introduction to Internet Programming (Web Based Application)
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
20-753: Fundamentals of Web Programming 1 Lecture 1: Introduction Fundamentals of Web Programming Lecture 1: Introduction.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Website Design Lecture 1. Outline Introduction to the module Outline of the Assessment Schedule Lecture Static XHTML, client side and server side Why.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Active Server Pages  In this chapter, you will learn:  How browsers and servers interacted on the Internet when the Internet first became popular 
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
1 Welcome to CSC 301 Web Programming Charles Frank.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
Web Programming Brian Toone 8/27/2014. Outline for today 1.Understanding the architecture of the web 2.Overview of programming languages – Client-side.
Active Server Pages Server-Side Scripting and Client-Side Scripting.
Schedule Introduction to Web & Database Integration Tools and Resources HTML and Styles Forms and Client-Side Scripts DB Engines Forms Processing and Server-Side.
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
Client-side & Server-side Scripting ©Richard L. Goldman August 5, 2003 Requires PowerPoint 2002 or later for full functionality.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Introduction and Principles Web Server Scripting.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
WEB SERVER SOFTWARE FEATURE SETS
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Introduction to the World Wide Web & Internet CIS 101.
6/28/ A global mesh of interconnected networks (internetworks) meets these human communication needs. Some of these interconnected networks are.
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.
Web Programming Language
WWW and HTTP King Fahd University of Petroleum & Minerals
Web Development Web Servers.
DT211/3 Internet Development Application
Presentation transcript:

DT211/3 Internet Development Application Internet Development Application

Lecturer Cindy Liu Room K201 Kevin Street Ext: Website:

Course To date, have looked at mostly “static” website HTML Client side javascript/ stylesheets etc This course focuses on enabling dynamic web applications

Learning outcomes Learn the concepts and the principles of WWW Be able to set up and maintain a web server Be able to develop database-driven Web applications using a formal design method

Learning outcomes Be able to construct and maintain a well designed web site Be use the state-of-the-art web application development tools and languages to develop web applications Be familiar with current issues and trends in web applications development technologies.

Course Outline Web servers: web servers in an internet architecture; installing and configuring a web server; servicing HTTP requests; features provided by a web server; comparing and contrasting different servers. Server Pages: developing a server side application using markup language embedded with programming code

Course Outline Accessing databases: connecting to a database, embedded SQL, available databases, database features necessary in a web application Server side technologies: overview of available server side technologies, CGI, Perl, PHP, Cold Fusion, ASP, JSP, Java servlets; contrasting comparing capabilities and functionality available for server side development; recent advances in server side technologies

Schedule Lecture and Lab Tuesdays in A308

Course Assessment 100% continue assessment 4 assignments – each will weight at 25%

Course Materials Lectures Notes on Books: “Internet and the world wide web – 2 nd edition” – Deitel, Deitel & Neito “Java server Pages” 2 nd edition – Hans Bergsten, O’Reilly Further book and web references throughout course Zip disks/ keys

DT211/3 Internet Development Application WWW and Client server model

World Wide Web (WWW) At a minimum, a website requires: A set of files, e.g. HTML files A piece of software residing on a computer connected to the internet which can display these files.. Web server Visitor’s computer called the client, which has software capable of displaying the web files.

Resources: Databases Application e.g. “Get me a webpage” Request e.g. “here’s the web page” Response Web Browse r Client Web Server WWW and Client-Server model

WWW In early days of WWW, simple relationship between the browser and a distant server User requests a web page via the browser Server received request, server sent back the page that you wanted Web sites were often limited to ‘brochureware’ static pages every user sees same pages Web sites heavily reliant on HTML to provide functionality

WWW Requirement grew for more sophisticated websites with dynamic content e.g. search engines, bulletin boards, shopping sites, personalisation ---  Users see different pages, depending on user input HTML and client technology insufficient Web pages need to be generated ‘on the fly’ or dynamically A range of server-side technologies now available, such as JSP, ASP, PHP, Cold Fusion, CGI

WWW – Client Server model World Wide Web uses Client Server Model –Client (browser) sends request to server (web server) for resource.. –Web server accesses resource –Web server responds to client with resource Browser/ web server communication: –Need a protocol to communicate –HTTP (Hyper Text Transfer Protocol)

Resources: Databases Application e.g. “Get me a webpage” Request e.g. “here’s the web page” Response Web Browse r Client Web Server WWW and Client-Server model

Need to understand the difference as each one has limitations and specific purposes Client side processing occurs on the client machine (i.e. machine that has requested the web page) Server side processing occurs on the server Client side versus server side processing

Client side processing Can perform functions without revisiting server – e.g. validation of user input on a form

Client technologies Client side technology (e.g. java script, HTML) is run on the client machine Used for : Presentation (I.e. text/images etc) Validation of user input Enhanced interactivity e.g. graphics, buttons Reduces the number of visits to the server – (e.g. user input can be validated without having to revisit the server)

The following technologies are run on the client machine by the web browser Markup Languages: e.g. HTML / XHTML /XML, Style Sheets Client Side Scriptings: e.g. JavaScript, VBScript /Jscript, Dynamic HTML Java Applets ActiveX Controls Plug Ins / Helpers Client-side technologies

HTML> Example error message display type = “text/javascript”> <!—- document writeln (“ you have not entered your name” 2); // - -> Simple Test … etc Example

Cannot implement functionality that requires returns customised information to the user – e.g. database searches Client machine/device must be sufficiently powerful (mobile devices) Need to ensure browser support client software Source code is visible Limitations of client-side technologies

Server-Side functionality Server-side functionality needed to: generate dynamic content from a database (as opposed to static HTML pages) –Process user requests/interactivity –Retrieve information from users –Manage sessions.. and more.

Server side processing

CGI – Common Gateway Interface Java Servlets ASP – Active Server pages JSP – Java Server pages PHP – Personal Home page Cold Fusion SSJS - Server side javascript Server extension APIs Common Server Technologies Server Side Technologies are those that run at the server side. Includes the following: Server side Scripting

Server-Side scripting Servers-side technologies include a range of scripting technologies Scripting: Where HTML is mixed with program code Only a small portion of the page is generated and templates or skeleton contain the headers, footers and other format information. The page contains scripting information - the web server has built-in interpreter to make the modifications to the page based on the scripting information Common sever-side scripting technologies are: Active Server Pages (microsoft), Java Server Pages (sun) PHP, Cold Fusion

Scripts Reside on server Greater flexibility/functionality supported (e.g. database access Runs exclusive on server -> not concerned with client browser support. Result is sent over the network to the client Script/code not visible to client – only HTML and client-side scripts sent to client machine Server-Side scripting

ASP Example 2 A= B= Active Server Page Example – HTMl page HTML Form Calls ASP page (on next page)

html> Results of Example 2 ASP Page Example Page <% dim A, B A=Request.form("ValueofA") B=Request.form("ValueofB") %> A+B= A-B= A*B= ASP Example – ASP page Script (Not sent to client… Not visible in “view source”)