HTMLL
HTMLL
HTMLL
HTML is the lingua franca for publishing hypertext on the World Wide Web Define tags <html><body> <head>.etc Allow to embed other scripting languages to manipulate design layout, text and graphics Platform independent Current version is 4.x and in February W3C released the first draft of a test suite 4.01 For more info: http://www.w3.org/MarkUp/
Common features
Tables Frame Form Image map Character Set Meta tags Images, Hyperlink, etc
File Extensions:
HTML, HTM
Recent recommendation of W3C is XHTML 1.0 combines the strength of HTML 4 with the power of XML. XHTML 1.0 is the first major change to HTML since HTML 4.0 was released in 1997 More info: http://www.w3.org/TR/xhtml1/
Simple mechanism for adding style to web page Code be embedded into the HTML file HTML tag:
<style type=text/css>CODE</style>
Controls format:
Font, color, spacing Alignment User override of styles Aural CSS (non sighted user and voice-browser) Layers
More info:
http://www.w3.org/Style/CSS/ http://www.w3schools.com/css/css_intro.asp
10
11
JavaScript
Compact object-based scripting language Code be embedded into HTML file HTML tag
<script language=javascript>CODE</script>
12
JavaScript
Main objectives:
User interface, CGI capabilities without involving server
Client side compilation Server provides no support Security hazard for clients computer SCS websites JavaScript's Examples
http://www.cs.cmu.edu
13
VBScripts
Microsofts share of scripting language Similar objectives as JavaScript and any other scripting language Similar to Visual Basic
<SCRIPT LANGUAGE="VBScript">CODE</script>
VBScript is integrated with WWW and web browsers Other Microsoft developer tools
14
PHP- HTML-embedded scripting language Syntax looks like C, JAVA, and PERL File extension: FILENAME.php Main Objective:
Server side loadable module Server side execution Current version and release: 4.3.x More info: http://www.php.net
15
Sample Code
<HTML> <head><title> PHP Sample Code</title></head> <body bgcolor = "#000000"> <font color = "#ffffff"><h1> This is a PHP TEST</h1> <p> <?php $cnt=0; while($cnt <= 4) { $cnt++; echo "Hello World<P>"; } ?> </body></HTML>
16
17
PHP is getting really popular in the web developers community ODBC support PHP developer community think this is the web future SCS Undergraduate sites; done in PHP:
http://www.ugrad.cs.cmu.edu/
Drawback:
18
Standard for external gateway programs to interface with information servers such as HTTP servers Real-time execution Main Objective:
19
PERL; most popular and widely used Server side execution Script runs as a stand alone process unlike PHP Basic difference with PHP is the execution approach
20
21
https://superman.web.cs.cmu.edu/cgi-bin/printenv
22
Drawback:
23
Module that brings together the power of PERL and Apache HTTP server PERL interpreter embedded in Web Server Can provide 100x speedups for CGI scripts execution due to Apache::Registry module Reduce load on server Less coordination of server process More info:
http://perl.apache.org/ http://www.modssl.org/docs/2.8/ssl_intro.html
24
Provide strong cryptography for web server Mod_ssl is the module for Apache to enable encrypted web connection Use Secured Socket Layer (SSL v2/v3) and Transport Layer Security Two categories of cryptographic algorithms
25
Conventional or Symmetric
Sender and Receiver share a key Solve the key exchange issue A certificate associates a public key with the real identity of an individual, server Includes the identification and signature of the Certificate Authority that issued the certificate
Certificate
26
27
One time authentication process Typically username/password-based central authentication Use standard web browser Eventually the session time-out Commonly uses double encryption
28
Pubcookie
Main Model:
Example: https://wonderwoman.web.cs.cmu.edu/Reports
29
30
Cookies
Web cookies are simply bits of software placed on your computer when you browse websites WebISO (Pubcookie) use cookie implementation to keep track of a user Drawback:
Security
31
Kerberos
Network authentication protocal Developed in MIT Strong cryptography Private (shared) key Use ticket to authenticate Never sends password over the network Single sign-on approach for network authentication
32
Database driven backend infrastructure Content is independent from design CGI and PHP are widely used Provide the flexibility of data storage Popular database for web systems:
MYSQL, MSQL, Cold Fusion, MS-ACCESS, ORACLE
SCS database driven sites USE MYSQL Example of SCS database driven sites
33
View Multi-master replication Locking Support for sub quires Character set handling
34
XSLT is designed for use as part of XSL Stylesheet language for XML XSLT is also designed to be used independently of XSL Work under the umbrella of XML Example:
http://wonderwoman.web.cs.cmu.edu:8888/xml/
35
JAVA Applets
The class is executed by clients browsers JVM (Java Virtual Machine) JAR (Java Archive) Bundle multiple files into a single archive file More info: http://java.sun.com/applets/
36
Flash
Multimedia web development Audio, video, animation really flashy web content 3D graphics More info:
http://www.macromedia.com/devnet/mx/flash/
37
Servers
SUN, High-end INTEL
Operating Systems:
Solrais, Linux, Windows
Web Server
Apache, IIS, Enterprise, SUN ONE
Load Balancing
Commercial vs Non-commercial product
38
Audio Dialog that feature synthesized speech Digitized audio Recognition of spoken and DTMF(Dual-tone-multifrequency) key input Recording of spoken input Telephony Mixed initiative conversation
http://www.w3.org/TR/voicexml20/ http://www.voicexml.org/
39
40