Tribhuvan University
Faculty of Management
Office of the Dean
Bachelor of Information Management (BIM)
Course Description
:This course covers different concepts of server-side Web development using PHP, MySQL, and server-side frameworks.
Course Objective
:The main objective of this course is to provide students both theoretical and practical knowledge of different technologies that are used for server-side Web development.
Course Contents:
Lecture hours show the approximate classroom time allocated to each unit.
Unit 1.Introduction
- Server-side Scripting
- Setting Up Development Server
- PHP Basics: Introduction, Syntax, Comments, Output, Variables, Constants, Data Types, Operators
- Control Statements (if, switch, for, for each, while, do -while, break, and continue)
- Functions (Defining Functions, Passing Arguments, Returning Value from Functions)
- Including and Requiring Files
- PHP Super global.
Unit 2.Strings and Arrays
- String and String Functions
- Array (Definition, Numerically Indexed Array, Associative Array, Multidimensional Array, Using for each loop, Multidimensional Arrays, Array Functions)
- Regular Expressions.
Unit 3.Object-Oriented Programming
- OOP Terminologies
- Defining Classes
- Creating Objects
- Constructor and Destructor
- Access Modifiers
- Inheritance
- Constants
- Abstract Classes
- Interfaces
- Static Methods and Properties
- Namespace
- Exception Handling.
Unit 4.File and Form Handling
- Reading and Writing Files
- Building forms
- Retrieving and Processing Form Data.
Unit 5.Working with Database
Using PHP to Create Connection with Databases, Querying Database s, CRUD Operations Using Forms.
Unit 6.Cookies, Sessions and Authentication
- Setting, Accessing, and Destroying Cookies
- HTTP Authentication
- Using Sessions (Starting, Ending, Setting a Timeout, and Session Security).
Unit 8.Server-Side Web Framework
Basics of any one Server-Side Web Framework. Laboratory Works: The laboratory work includes creating dynamic web pages using PHP, MySQL, and server -side web frameworks.
Suggested Readings:
Learning PHP, MySQL and JavaScript: A Step -by-Step Guide to Creating Dynamic Websites , Robin Nixon, O’reilly. PHP & MYSQL: Server-side Web Development, Jon Duckett, John Wiley & Sons, Inc. Murach’s PHP and MySQL, Joel Murach and Ray Harris, Mike Murach and Associates, Inc. Programming PHP: Creating Dynamic Web Pages, Kevin Tatroe , Peter MacIntyre, O′reilly. www.w3schools.com