SlideShare a Scribd company logo
INTRODUCTION TO WEB 
APPLICATION DEVELOPMENT 
BIT05206 
Web Application 
Development
Contents 
 Introduction to WWW 
Web Application Development
Introduction to WWW
WWW History 
 1989 - Birth of WWW 
◦ Tim Berners-Lee & his associates at CERN 
 1990 - First Web Browser 
◦ Used within CERN 
 1991 - Public offering of WWW 
 1993 - Birth of Mosaic 
◦ Graphical, multimedia browser from NCSA 
 1994 - First commercial browser 
◦ By Netscape communications founded by Jim 
Clark and Marc Andreessen
Web Advantages 
 Creates a virtual hyperspace 
◦ Beyond geographical constraints 
◦ Break computer hardware and software 
obstacles 
◦ Bring the whole world together 
 A low cost way to Share, maintain, and 
distribute 
 Information 
◦ Intranet 
◦ Electronic commerce 
◦ Customer support
Web Client (browser) 
 
Internet
Web Server
Web Surfing (Logical View)
Web Surfing (Network View)
Establishing Communication
Network Basis 
 TCP/IP protocol 
◦ Transmission Control Protocol and Internet 
Protocol 
◦ Specifies how two computer exchange data 
 HTML 
◦ Content-based or structural markup language, 
where the codes describe what the contents of 
the document are. 
◦ Codes are used to indicate the various parts of 
the document, such as headings, paragraphs, 
lists, etc 
 IP address 
◦ Every computer has a unique IP address 
◦ 32 bits in three 8 bit number groups 
◦ 131.96.142.17
Network Basis 
 Domain name system (DNS) 
◦ Symbolic name for IP address 
stm1.uum.edu.my 
◦ Communication is established by 
mapping a domain 
◦ name to its IP address 
 URL 
◦ Internet address consist of 
protocol 
host name 
path
URL 
Abbreviation of Uniform Resource Locator, the 
global address of documents and other resources 
on the World Wide Web. 
The first part of the address indicates what protocol 
to use, and the second part specifies the IP address 
or the domain name where the resource is located. 
For example, the two URLs below point to two 
different files at the domain pcwebopedia.com. The 
first specifies an executable file that should be 
fetched using the FTP protocol; the second 
specifies a Web page that should be fetched using 
the HTTP protocol: 
•ftp://www.bbc.com/stuff.exe 
•http://www.bbc.com/index.html
URL 
<protocol> <host name> <path> 
 HTTP--Hypertext Transfer Protocol 
◦ Protocol for accessing World Wide Web 
documents 
 FTP--File Transfer Protocol 
◦ Protocol for transferring files from one computer 
to another 
 Gopher 
◦ Protocol for accessing documents via Gopher 
menus (archaic; no longer widely used) 
 Telnet 
◦ Protocol that allows users to logon to a 
remote computer
URL Host Name 
<protocol> <host name> <path> 
<host>.<organization>.<org type> 
www.ucc.co.tz 
www.google.com 
www.acm.org 
www.jpa.gov.my
Organization Types 
 .org : non-profit organizations 
 .com : commercial hosts 
 .net : network hosts 
 .edu : educational institutions 
 .int : international treaty organizations 
 .gov : government agencies and 
organizations 
 .mil : U. S. military 
 .tz : represent country (Tanzania)
URL Examples 
 Full URL 
◦ http://www.uum.edu.my/welcome.htm 
◦ http://www.ucc.co.tz/services/index.ph 
p 
◦ http://www.w3schools.com/html/ 
 Not all characters can be used in 
URL
MIME Typing System 
 Multipurpose Internet Mail Extensions 
 A file type naming system on the 
Internet 
◦ .html (or .htm), .gif, .mpeg, .xls 
 Allow a browser to determine how to 
work correctly with given files 
◦ Handle by the browser itself 
◦ Call a helper application 
◦ Example: use Adobe Acrobat to read .PDF 
files 
use Microsoft Excel to read .xls 
files
Web Application 
Development
Static VS Dynamic 
 HTML documents are usually static 
 The contents can only be changed manually 
 There are needs for dynamic documents 
◦ Search results 
◦ Database access 
◦ Context sensitive reply 
 Static 
◦ page appears exactly as it was encoded, nothing 
changes 
 Dynamic 
◦ page is compiled, or able to be changed
Dynamic Web pages 
Applications executed by the 
server at run-time to process 
client input or generate 
document in response to client 
request 
Generating dynamic Web 
pages requires programming
Scripts: Server-Side VS Client- 
Side 
 Server-side 
◦ the first type possible on the Web 
◦ action occurs at the server 
 Client-side 
◦ generally easier to implement 
◦ may be prepared and implemented 
offline 
◦ action occurs on the client side 
(browser)
Client-Side Scripting 
 Client side scripts are embedded inside 
HTML document. They are interpreted by 
browser. 
 When Web browser encounters a script, it 
calls a scripting interpreter, which parses 
and deciphers the scripting code. 
 Provide response to questions and queries 
without interventions from the server 
◦ Validate user data 
◦ Calculate expressions 
◦ Link to other applications
Client-Side Scripting 
 Client side advantages 
◦ Faster response 
time 
◦ Better animation 
◦ Simpler server 
programs 
 Client side disadvantages 
◦ Longer load time 
◦ Browser compatibility 
◦ Complexity in web page 
design
JavaScript 
JavaScript (most common) 
–a scripting language for Web pages, developed 
by Netscape in 1995 
–JavaScript code is embedded directly in HTML 
(interpreted by browser) 
–good for adding dynamic features to Web page, 
controlling forms and GUI 
 Advantage 
◦ Easy to learn and use 
◦ Wide browser support 
◦ Protection of local 
resources 
 Disadvantage 
◦ Browser compatibility 
issues 
◦ Not object oriented 
◦ Unable to gain access to 
local resources
Java Applet 
Java applets 
– (can be server-side or client-side_ 
–can define small, special-purpose programs in Java 
called applets 
–provides full expressive power of Java (but more 
overhead) 
–applets are included in Web pages using special 
HTML tags 
–interpreted by the Java Virtual Machine embedded in 
the browser 
–good for more complex tasks or data heavy tasks, 
such as graphics
 Example 
Visit this site 
Java Applet 
Java Script
Java Applet 
 Advantage 
◦ High functionality 
◦ Object oriented and full 
graphics functionality 
◦ Protection of local 
resources 
◦ Wide Browser support 
◦ With Java2, be able to 
gain access to local 
resources with signed 
applets 
 Disadvantage 
◦ JVM compatibility issues 
◦ Difficulty to install and 
configure for local 
access 
◦ Loading time and 
performance may be 
poor for large 
application.
Server-Side Scripting 
Advantages 
 Allows creation of 
dynamic web pages 
 Modifies HTML code on 
the server before sent to 
client 
 Uses databases such as 
Access and Oracle 
 Responds to user input 
Disadvantages 
 More complicated then 
HTML (with debugging) 
 Slower to load on the 
server 
 Harder to learn 
 Web server must be 
enabled
Examples of Server-Side 
Scripts 
 CGI (Common Gateway Interface) 
◦ A standard for interfacing external applications with 
information servers, such as HTTP or Web servers 
◦ CGI program is any program designed to accept and 
return data that conforms to the CGI specification 
◦ CGI program can be written in any language that 
allows it to be executed on the system, such as: 
C/C++, Fortran, PERL, TCL, Any Unix shell, Visual 
Basic, AppleScript etc. 
 PHP (Hypertext Preprocessor ) 
Widely-used Open Source general-purpose 
scripting language that is especially suited 
for Web development and can be embedded into 
HTML.
Examples of Server-Side 
Scripts 
 Active Server Pages (Microsoft) 
◦ ASP is a Microsoft Technology and 
run on IIS (Internet Information 
Server) & PWS (Personal Web 
Server) 
 Java Server Pages (Sun) 
◦ Sun's solution for developing dynamic 
web sites 
◦ JSP enable the developers to directly 
insert java code into jsp file, this makes 
the development process very simple and 
its maintenance also becomes very easy
Web Development Tools 
 Many high-level tools exist for creating 
Web pages 
◦ e.g., Microsoft FrontPage, Netscape 
Composer, Adobe PageMill, Macromedia 
DreamWeaver, 
◦ also, many applications have "save to 
HTML" options (e.g., Word)
RESOURCES 
http://www.w3schools.com/html/ 
http://www.w3.org/standards/webdesign/htmlcss

More Related Content

PDF
Linux Hosting Training Course [Level 1] - Lec 7
PPTX
Web Technology Fundamentals
PDF
Understanding the Web through HTTP
PDF
5. HTML5
PPTX
PPT
Web Fundamentals
ODP
Web Server-Side Programming Techniques
PPTX
HTML 5
Linux Hosting Training Course [Level 1] - Lec 7
Web Technology Fundamentals
Understanding the Web through HTTP
5. HTML5
Web Fundamentals
Web Server-Side Programming Techniques
HTML 5

What's hot (20)

PPT
Introduction to web technology
PPTX
Web browser architecture
PDF
PDF
Communicating on the web
PPTX
Web server
PPT
Web browser architecture.87 to 88
PPT
Busy Architects Guide to Modern Web Architecture in 2014
PPSX
Web server
PPTX
Introduction to Web Architecture
PPTX
Web Architecture
PDF
1. web technology basics
PPT
Web servers – features, installation and configuration
PDF
Server-side Java Programming
PPTX
Design-Time Properties in Custom Pipeline Components
PDF
Basic web architecture
PPT
Web Tech
ODP
PHP Training: Module 1
PPT
Web Servers, Browsers, Server - Browser Interaction, Web Surfing
PDF
Local Storage for Web Applications
Introduction to web technology
Web browser architecture
Communicating on the web
Web server
Web browser architecture.87 to 88
Busy Architects Guide to Modern Web Architecture in 2014
Web server
Introduction to Web Architecture
Web Architecture
1. web technology basics
Web servers – features, installation and configuration
Server-side Java Programming
Design-Time Properties in Custom Pipeline Components
Basic web architecture
Web Tech
PHP Training: Module 1
Web Servers, Browsers, Server - Browser Interaction, Web Surfing
Local Storage for Web Applications
Ad

Viewers also liked (20)

PPTX
STR: Hotel Industry Overview
PPTX
E commerce
PPT
Cost of Capital
PPTX
Hotel Performance FINAL
PPS
Measuring Performance by Irfanullah
PPTX
The e – commerce sector
PPT
PDF
How it works internet standards setting icann53
DOCX
Scope & growth of e commerce_gitanjali maria
PPTX
Webinar - Leverage Integrated Hotel Systems to Boost Revenue Per Guest
PPTX
Best practices for increasing revenue per guest
PPT
Financial Plan
PPT
Hypertext presentation
PPTX
departmental accounting ppt
PPT
TSM 341: Financial Accounting and Management For Hospitality and Tourism
PPT
Uniform system of accountancy
PPT
PDF
Hopitality accounting
PPSX
Hotel Management & Accounting
PPT
STR: Hotel Industry Overview
E commerce
Cost of Capital
Hotel Performance FINAL
Measuring Performance by Irfanullah
The e – commerce sector
How it works internet standards setting icann53
Scope & growth of e commerce_gitanjali maria
Webinar - Leverage Integrated Hotel Systems to Boost Revenue Per Guest
Best practices for increasing revenue per guest
Financial Plan
Hypertext presentation
departmental accounting ppt
TSM 341: Financial Accounting and Management For Hospitality and Tourism
Uniform system of accountancy
Hopitality accounting
Hotel Management & Accounting
Ad

Similar to introduction to web application development (20)

PPTX
WP Chap 1 & 2.pptx
PPT
02 intro
PDF
Cs8591 Computer Networks - UNIT V
PPTX
05.m3 cms list-ofwebserver
PPTX
Web Browsers.pptx
PDF
Cloud Computing in Systems Programming Curriculum
PDF
Fundamental Internet Programming.pdf
PDF
Javascript - Getting started | DevCom ISITCom
PPT
World Wide Web(WWW)
PPT
5-WebServers.ppt
PPT
Javauserguide
PPT
ppttips
PPT
ppttips
PPT
ppttips
PPT
ppttips
PPT
ppt tips
PPT
PPT
JavaInternetlearning
PPT
Internetandjava
PPT
Internetandjava
WP Chap 1 & 2.pptx
02 intro
Cs8591 Computer Networks - UNIT V
05.m3 cms list-ofwebserver
Web Browsers.pptx
Cloud Computing in Systems Programming Curriculum
Fundamental Internet Programming.pdf
Javascript - Getting started | DevCom ISITCom
World Wide Web(WWW)
5-WebServers.ppt
Javauserguide
ppttips
ppttips
ppttips
ppttips
ppt tips
JavaInternetlearning
Internetandjava
Internetandjava

More from FLYMAN TECHNOLOGY LIMITED (20)

PPTX
Flyman Technology Limited Introduction Presentation
PDF
Flyman Technology Limited (Mzumbe University Tanzania)
PDF
Flyman Technology Limited Tanzania
PPTX
Saadani national park 2015
PDF
Uuzaji wa mazao ya kuku wa asili
PDF
Entrepreneurship manual BIT
PPT
Security chapter6
PPT
introduction to the document object model- Dom chapter5
PPT
PPT
internet intranet and extranet
PPTX
Marketing management
PPTX
Marketing communications
PPT
Marketing analysis
PPTX
Market segmentation
PPT
Consumer markets
PDF
ENTREPRENEURSHIP MANUAL
PPTX
THINGS NOT TO DO IN A JOB INTERVIEW!
PPT
TAXATION CONCEPTS
PDF
PPTX
SYSTEM MODELLING
Flyman Technology Limited Introduction Presentation
Flyman Technology Limited (Mzumbe University Tanzania)
Flyman Technology Limited Tanzania
Saadani national park 2015
Uuzaji wa mazao ya kuku wa asili
Entrepreneurship manual BIT
Security chapter6
introduction to the document object model- Dom chapter5
internet intranet and extranet
Marketing management
Marketing communications
Marketing analysis
Market segmentation
Consumer markets
ENTREPRENEURSHIP MANUAL
THINGS NOT TO DO IN A JOB INTERVIEW!
TAXATION CONCEPTS
SYSTEM MODELLING

Recently uploaded (20)

PPTX
Chapter-7-The-Spiritual-Self-.pptx-First
PPTX
Attitudes presentation for psychology.pptx
PPTX
Understanding the Self power point presentation
PPTX
PERDEV-LESSON-3 DEVELOPMENTMENTAL STAGES.pptx
PPTX
show1- motivational ispiring positive thinking
PDF
The Zeigarnik Effect by Meenakshi Khakat.pdf
PPTX
Pradeep Kumar Roll no.30 Paper I.pptx....
PDF
Red Light Wali Muskurahat – A Heart-touching Hindi Story
PPTX
Learn how to prevent Workplace Incidents?
PDF
My 'novel' Account of Human Possibility pdf.pdf
PPTX
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
PPTX
Presentation on interview preparation.pt
PPT
proper hygiene for teenagers for secondary students .ppt
PDF
SEX-GENDER-AND-SEXUALITY-LESSON-1-M (2).pdf
PDF
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
PPTX
Learn numerology content and join tarot reading
PPTX
diasspresentationndkcnskndncelklkfndc.pptx
PPTX
Learn how to use Portable Grinders Safely
PPTX
cấu trúc sử dụng mẫu Cause - Effects.pptx
PPTX
Learn about numerology and do tarot reading
Chapter-7-The-Spiritual-Self-.pptx-First
Attitudes presentation for psychology.pptx
Understanding the Self power point presentation
PERDEV-LESSON-3 DEVELOPMENTMENTAL STAGES.pptx
show1- motivational ispiring positive thinking
The Zeigarnik Effect by Meenakshi Khakat.pdf
Pradeep Kumar Roll no.30 Paper I.pptx....
Red Light Wali Muskurahat – A Heart-touching Hindi Story
Learn how to prevent Workplace Incidents?
My 'novel' Account of Human Possibility pdf.pdf
SELF ASSESSMENT -SNAPSHOT.pptx an index of yourself by Dr NIKITA SHARMA
Presentation on interview preparation.pt
proper hygiene for teenagers for secondary students .ppt
SEX-GENDER-AND-SEXUALITY-LESSON-1-M (2).pdf
The Spotlight Effect No One Is Thinking About You as Much as You Think - by M...
Learn numerology content and join tarot reading
diasspresentationndkcnskndncelklkfndc.pptx
Learn how to use Portable Grinders Safely
cấu trúc sử dụng mẫu Cause - Effects.pptx
Learn about numerology and do tarot reading

introduction to web application development

  • 1. INTRODUCTION TO WEB APPLICATION DEVELOPMENT BIT05206 Web Application Development
  • 2. Contents  Introduction to WWW Web Application Development
  • 4. WWW History  1989 - Birth of WWW ◦ Tim Berners-Lee & his associates at CERN  1990 - First Web Browser ◦ Used within CERN  1991 - Public offering of WWW  1993 - Birth of Mosaic ◦ Graphical, multimedia browser from NCSA  1994 - First commercial browser ◦ By Netscape communications founded by Jim Clark and Marc Andreessen
  • 5. Web Advantages  Creates a virtual hyperspace ◦ Beyond geographical constraints ◦ Break computer hardware and software obstacles ◦ Bring the whole world together  A low cost way to Share, maintain, and distribute  Information ◦ Intranet ◦ Electronic commerce ◦ Customer support
  • 6. Web Client (browser)  Internet
  • 11. Network Basis  TCP/IP protocol ◦ Transmission Control Protocol and Internet Protocol ◦ Specifies how two computer exchange data  HTML ◦ Content-based or structural markup language, where the codes describe what the contents of the document are. ◦ Codes are used to indicate the various parts of the document, such as headings, paragraphs, lists, etc  IP address ◦ Every computer has a unique IP address ◦ 32 bits in three 8 bit number groups ◦ 131.96.142.17
  • 12. Network Basis  Domain name system (DNS) ◦ Symbolic name for IP address stm1.uum.edu.my ◦ Communication is established by mapping a domain ◦ name to its IP address  URL ◦ Internet address consist of protocol host name path
  • 13. URL Abbreviation of Uniform Resource Locator, the global address of documents and other resources on the World Wide Web. The first part of the address indicates what protocol to use, and the second part specifies the IP address or the domain name where the resource is located. For example, the two URLs below point to two different files at the domain pcwebopedia.com. The first specifies an executable file that should be fetched using the FTP protocol; the second specifies a Web page that should be fetched using the HTTP protocol: •ftp://www.bbc.com/stuff.exe •http://www.bbc.com/index.html
  • 14. URL <protocol> <host name> <path>  HTTP--Hypertext Transfer Protocol ◦ Protocol for accessing World Wide Web documents  FTP--File Transfer Protocol ◦ Protocol for transferring files from one computer to another  Gopher ◦ Protocol for accessing documents via Gopher menus (archaic; no longer widely used)  Telnet ◦ Protocol that allows users to logon to a remote computer
  • 15. URL Host Name <protocol> <host name> <path> <host>.<organization>.<org type> www.ucc.co.tz www.google.com www.acm.org www.jpa.gov.my
  • 16. Organization Types  .org : non-profit organizations  .com : commercial hosts  .net : network hosts  .edu : educational institutions  .int : international treaty organizations  .gov : government agencies and organizations  .mil : U. S. military  .tz : represent country (Tanzania)
  • 17. URL Examples  Full URL ◦ http://www.uum.edu.my/welcome.htm ◦ http://www.ucc.co.tz/services/index.ph p ◦ http://www.w3schools.com/html/  Not all characters can be used in URL
  • 18. MIME Typing System  Multipurpose Internet Mail Extensions  A file type naming system on the Internet ◦ .html (or .htm), .gif, .mpeg, .xls  Allow a browser to determine how to work correctly with given files ◦ Handle by the browser itself ◦ Call a helper application ◦ Example: use Adobe Acrobat to read .PDF files use Microsoft Excel to read .xls files
  • 20. Static VS Dynamic  HTML documents are usually static  The contents can only be changed manually  There are needs for dynamic documents ◦ Search results ◦ Database access ◦ Context sensitive reply  Static ◦ page appears exactly as it was encoded, nothing changes  Dynamic ◦ page is compiled, or able to be changed
  • 21. Dynamic Web pages Applications executed by the server at run-time to process client input or generate document in response to client request Generating dynamic Web pages requires programming
  • 22. Scripts: Server-Side VS Client- Side  Server-side ◦ the first type possible on the Web ◦ action occurs at the server  Client-side ◦ generally easier to implement ◦ may be prepared and implemented offline ◦ action occurs on the client side (browser)
  • 23. Client-Side Scripting  Client side scripts are embedded inside HTML document. They are interpreted by browser.  When Web browser encounters a script, it calls a scripting interpreter, which parses and deciphers the scripting code.  Provide response to questions and queries without interventions from the server ◦ Validate user data ◦ Calculate expressions ◦ Link to other applications
  • 24. Client-Side Scripting  Client side advantages ◦ Faster response time ◦ Better animation ◦ Simpler server programs  Client side disadvantages ◦ Longer load time ◦ Browser compatibility ◦ Complexity in web page design
  • 25. JavaScript JavaScript (most common) –a scripting language for Web pages, developed by Netscape in 1995 –JavaScript code is embedded directly in HTML (interpreted by browser) –good for adding dynamic features to Web page, controlling forms and GUI  Advantage ◦ Easy to learn and use ◦ Wide browser support ◦ Protection of local resources  Disadvantage ◦ Browser compatibility issues ◦ Not object oriented ◦ Unable to gain access to local resources
  • 26. Java Applet Java applets – (can be server-side or client-side_ –can define small, special-purpose programs in Java called applets –provides full expressive power of Java (but more overhead) –applets are included in Web pages using special HTML tags –interpreted by the Java Virtual Machine embedded in the browser –good for more complex tasks or data heavy tasks, such as graphics
  • 27.  Example Visit this site Java Applet Java Script
  • 28. Java Applet  Advantage ◦ High functionality ◦ Object oriented and full graphics functionality ◦ Protection of local resources ◦ Wide Browser support ◦ With Java2, be able to gain access to local resources with signed applets  Disadvantage ◦ JVM compatibility issues ◦ Difficulty to install and configure for local access ◦ Loading time and performance may be poor for large application.
  • 29. Server-Side Scripting Advantages  Allows creation of dynamic web pages  Modifies HTML code on the server before sent to client  Uses databases such as Access and Oracle  Responds to user input Disadvantages  More complicated then HTML (with debugging)  Slower to load on the server  Harder to learn  Web server must be enabled
  • 30. Examples of Server-Side Scripts  CGI (Common Gateway Interface) ◦ A standard for interfacing external applications with information servers, such as HTTP or Web servers ◦ CGI program is any program designed to accept and return data that conforms to the CGI specification ◦ CGI program can be written in any language that allows it to be executed on the system, such as: C/C++, Fortran, PERL, TCL, Any Unix shell, Visual Basic, AppleScript etc.  PHP (Hypertext Preprocessor ) Widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
  • 31. Examples of Server-Side Scripts  Active Server Pages (Microsoft) ◦ ASP is a Microsoft Technology and run on IIS (Internet Information Server) & PWS (Personal Web Server)  Java Server Pages (Sun) ◦ Sun's solution for developing dynamic web sites ◦ JSP enable the developers to directly insert java code into jsp file, this makes the development process very simple and its maintenance also becomes very easy
  • 32. Web Development Tools  Many high-level tools exist for creating Web pages ◦ e.g., Microsoft FrontPage, Netscape Composer, Adobe PageMill, Macromedia DreamWeaver, ◦ also, many applications have "save to HTML" options (e.g., Word)