Autumn 2014
See online syllabus at:
http://cgi.csc.liv.ac.uk/~martin/teaching/comp519/
Course goals:
understand the technology and protocols underlying the World Wide Web
become familiar with common tools and techniques for developing Web-based
applications, both client-side and server-side
develop a working knowledge of HTML, JavaScript, Perl and PHP as languages for
developing Web applications
Reasonable Questions
What is the World Wide Web?
Web Internet
Internet : a physical network connecting millions of computers using the same protocols for
sharing/transmitting information (TCP/IP)
in reality, the Internet is a network of smaller networks
World Wide Web: a collection of interlinked multimedia documents that are stored on the
Internet and accessed using a common protocol (HTTP)
Internet Growth
throughout the 70's, the size of the ARPANET doubled every year
Computers
on
the Internet
(at any one
time?)
2011
~605,000,000
2006
439,286,364
2004
285,139,107
2002
162,128,493
2000
93,047,785
1998
36,739,000
1996
12,881,000
1994
3,212,000
1992
992,000
1990
313,000
1988
56,000
1986
5,089
1984
1,024
1982
235
Web Growth
Stats from
Netcraft Web Server Survey.
Year
Google Chrome
Firefox
Safari
IE, Opera
Netscape
Mosaic
Computers on
the Internet
Web Servers on
the Internet
2011
~605,000,000
~250,000,000
2008
??????
172,338,726
2006
439,286,364
85,541,228
2004
285,139,107
56,923,737
2002
162,128,493
33,082,657
2000
93,047,785
18,169,498
1998
36,739,000
4,279,000
1996
12,881,000
300,000
1994
3,212,000
3,000
1992
992,000
50
A 2012 estimate suggests 30-35 billion Web pages! (Googles estimated index
size is about 30 billion webpages.) (WorldWideWebSize.com)
as the Web continues to move towards more and more online services and ecommerce continues to grow, Web pages must also provide dynamic content
pages can be fluid, changeable (e.g., rotating banners)
must be able to react to the user's actions, request and process info, tailor services
e.g., amazon.com
Client-Side Programming
can download program with Web page, execute on client machine
simple, generic, but sometimes insecure (e.g. cross-site scripting attacks)
JavaScript
good for adding dynamic features to Web page, controlling forms and GUI
requires users to have this technology enabled on their browsers
see http://www.w3schools.com/js/
JQuery, first released in 2006, is a library to help with cross-browser compatibility issues and
is used by more than 60% of the 10,000 most visited websites (source: SimilarTech)
Java applets
Server-Side Programming
can store and execute program on Web server, link from Web page
more complex, requires server privileges, but can still be (mostly) secure
Active Server Pages (ASP), Java Servlets, PHP, Server Side Includes, Ajax
Exercise
pick some of your favorite Web sites and try to identify
static components?
dynamic components?
client-side? JavaScript? Java applet?
server-side? CGI? ASP?
e.g.,
www.liv.ac.uk
www.amazon.co.uk
gmail (uses Ajax for lots of its dynamic functions)