SYLLABUS

PROGRAMMING THE WEB

Subject Code
10CS73   
IA Marks
25
No. of Lecture Hrs./ Week
04
Exam Hours
03
Total No. of Lecture Hrs.
52
Exam Marks
100

PART - A
UNIT – 1                                                                                                                                 6 Hours
Fundamentals of Web, XHTML – 1: Internet, WWW, Web Browsers and Web Servers, URLs, MIME, HTTP, Security, The Web Programmers Toolbox. XHTML: Basic syntax, Standard structure, Basic text markup, Images, Hypertext Links.

UNIT – 2                                                                                                                                 7 Hours
XHTML – 2, CSS: XHTML (continued): Lists, Tables, Forms, Frames CSS: Introduction, Levels of style sheets, Style specification formats, Selector forms, Property value forms, Font properties, List properties, Color, Alignment of text, The box model, Background images, The <span> and <div> tags, Conflict resolution.

UNIT – 3                                                                                                                                  6 Hours
Javascript: Overview of Javascript, Object orientation and Javascript Syntactic characteristics, Primitives, operations, and expressions, Screen output and keyboard input, Control statements, Object creation and
modification, Arrays, Functions, Constructors, Pattern matching using regular expressions, Errors in scripts, Examples.

UNIT – 4                                                                                                                                 7 Hours
Javascript and HTML Documents, Dynamic Documents with Javascript: The Javascript execution environment, The Document Object Model, Element access in Javascript, Events and event handling, Handling events from the Body elements, Button elements, Text box and Password elements, The DOM
2 event model, The navigator object, DOM tree traversal and modification. Introduction to dynamic documents, Positioning elements, Moving elements, Element visibility, Changing colors and fonts, Dynamic content, Stacking elements, Locating the mouse cursor, Reacting to a mouse click, Slow
movement of elements, Dragging and dropping elements.


PART - B
UNIT – 5                                                                                                                                 6 Hours
XML: Introduction, Syntax, Document structure, Document type definitions, Namespaces, XML schemas, Displaying raw XML documents, Displaying  XML documents with CSS, XSLT style sheets, XML processors, Web services.

UNIT – 6                                                                                                                                 7 Hours
Perl, CGI Programming: Origins and uses of Perl, Scalars and their operations, Assignment statements and simple input and output, Control statements, Fundamentals of arrays, Hashes, References, functions, Pattern matching, File input and output; Examples. The Common Gateway Interface; CGI linkage; Query string format; CGI.pm module; A survey example; Cookies. Database access with Perl and MySQL

UNIT – 7                                                                                                                                 6 Hours
PHP: Origins and uses of PHP, Overview of PHP, General syntactic characteristics, Primitives, operations and expressions, Output, Control statements, Arrays, Functions, Pattern matching, Form handling, Files,
Cookies, Session tracking, Database access with PHP and MySQL.

UNIT – 8                                                                                                                                 7 Hours
Ruby, Rails: Origins and uses of Ruby, Scalar types and their operations, Simple input and output, Control statements, Arrays, Hashes, Methods, Classes, Code blocks and iterators, Pattern matching.
Overview of Rails, Document requests, Processing forms, Rails applications with Databases, Layouts.


Text Books:
1. Robert W. Sebesta: Programming the World Wide Web, 4h Edition, Pearson Education, 2008.
(Listed topics only from Chapters 1 to 9, 11 to 15)
Reference Books:
1. M. Deitel, P.J. Deitel, A. B. Goldberg: Internet & World Wide Web How to Program, 4th Edition,
Pearson Education, 2004.
2. Chris Bates: Web Programming Building Internet Applications, 3rd Edition, Wiley India, 2007.
3. Xue Bai et al: The web Warrior Guide to Web Programming, Cengage Learning, 2003.