Bachelors Level/Third Year/Fifth Semester/Science bit/fifth semester/web technology ii/syllabus

Bachelors In Information Technology

Institute of Science and Technology, TU

Nature of the course: (Theory+Lab)

F.M: 60+20+20 P.M: 24+8+8

Credit Hrs: 3Hrs

Web Technology II [BIT301]
Course Objective
i.
The main objective of this course is to provide basic concepts of PHP including handling of functions, arrays, strings, class and objects, forms, databases, cookies, sessions, exceptions and file handling so that students should be able to develop dynamic web applications.
Course Description

This course covers the concepts of server side scripting using the PHP programming language.

S1:Introduction[8]
1
Server Side Scripting, Introduction to PHP, Language Basics: Lexical Structure, Data Types, Variables, Expression and Operators, Flow Control Statements, Including PHP Code, Embedding PHP in Web Pages
S2:Functions[5]
1
Functions, Defining and Calling Functions, Variable Scope, Function Parameters, Return Values, Variable Functions, Anonymous Functions, Date and Time functions
S3:Strings and Arrays[8]
1
String Constants, Printing Strings, Accessing Characters in Strings, Cleaning Strings, Encoding and Escaping, Comparing, Manipulating and Searching Strings, Regular Expressions, Array, Indexed vs. Associative Arrays, Defining Array, Storing Data in Array, Multidimensional Array, Extracting Multiple Values, Conversion between Array and Variables, Traversing Arrays
S4:Objects[6]
1
Objects, Creating Object, Accessing Properties and Methods, Declaring Class, Anonymous Class, Examining Class and Object
S5:Handling Forms[4]
1
Building forms, Retrieving Form Data, Processing Forms, Setting Response Headers
S6:Working with Database[5]
1
Using PHP to Access Database, Querying a Database with PHP, CRUD Operations Using Forms
S7:Cookies, Sessions and Authentication[3]
1
Using Cookies in PHP, HTTP Authentication, Using Sessions
S8:Debugging PHP[3]
1
The PHP.ini Settings, Error Handling, Error Reporting, Exceptions, Error Suppression, Triggering Errors, Error Handlers, Error Logs
S9:File Handling[3]
1
File Read, Write, Close, File upload, Parsing CSV File, Parsing JSON File
References
1.
Kevin Tatroe , Peter MacIntyre, Programming PHP: Creating Dynamic Web Pages, O′Reilly, 2021
2.
Robin Nixon , Learning PHP, MySQL & JavaScript: A Step-by-Step Guide to Creating Dynamic Websites, O'Reilly Media, 2021
Labrotary Work
Laboratory work includes implementing all of the concepts in each chapter. Students have to create a dynamic website using core PHP concepts studied in this course.