Page 1 of 1

Module Code - Title:

CS4082 - INTRODUCTION TO WEB DEVELOPMENT

Year Last Offered:

2023/4

Hours Per Week:

Lecture

2

Lab

2

Tutorial

1

Other

0

Private

0

Credits

6

Grading Type:

Prerequisite Modules:

Rationale and Purpose of the Module:

This module will introduce students to the concepts and techniques underlying the World Wide Web, such that they will gain a working knowledge of how to structure and build websites. Students will be introduced to databases and SQL in order to create dynamic, data-driven web applications. Examples and project work will be relevant to each group of students in so far as possible.

Syllabus:

Introduction to the world wide web: web browsers, web serves and clients, uniform resource locators, the hypertext transfer protocol (HTTP), processing HTTP requests and responses, world wide web consortium (W3C), static and dynamic content. Document content and structure, mark-up languages, elements and attributes, document type definition (DTD), hypertext and hypermedia. Hypertext Mark0up Language (HTML); standard HTML document structure, HTML syntax, tags, text formatting, colours, images, hypertext links, absolute and relative referencing, list, tables, frames and forms. Considerations when including audio, video and graphics; differentiating between file formats. Embedding PHP in HTML; assigning and using variable values, saving form input in variables, simple data types, detecting the data type of a variable, using operators: arithmetic, relational, logical; string operators, auto increment/decrement operators, operator precedence; selection and looping constructs. Sessions and cookies: creating a session and registering session variables, destroying a session; setting cookies, retrieving cookie data, deleting cookies. File manipulation: reading data from and writing data to files. Introduction to relational databases: tables, records, fields, primary keys and foreign keys. Introduction to Structured Query Language (SQL); creating tables: specifying field data types, retrieving, inserting, editing and deleting records. Connecting to a database in PHP and executing SQL commands.

Learning Outcomes:

Cognitive (Knowledge, Understanding, Application, Analysis, Evaluation, Synthesis)

On successful completion of this module, students should be able to: 1. Differentiate between static and dynamic web pages. 2. Accept, validate and process user input submitted via online forms. 3. Read and parse text files. 4. Use functions and classes to build modular, reusable code. 5. Authenticate and track users with sessions and cookies. 6. Store data in and retrieve data from a database. 7. Perform efficient exception handling and error processing.

Affective (Attitudes and Values)

N/A

Psychomotor (Physical Skills)

N/A

How the Module will be Taught and what will be the Learning Experiences of the Students:

Research Findings Incorporated in to the Syllabus (If Relevant):

Prime Texts:

Jason W. Gilmore (2006) Beginning PHP and MySQL 5: From Novice to Professional (2nd edition) , Apress
Larry Ullman (2004) PHP for the World Wide Web (2nd Edition) , Peachpit Press

Other Relevant Texts:

Programme(s) in which this Module is Offered:

Semester - Year to be First Offered:

Module Leader:

Conor.Ryan@ul.ie