Web Technology II
0%
Course Title: Web Technology II
Course No: CSIT.325
Nature of the Course: Theory + Lab
Semester: 6
Full Marks: 60 + 20 + 20
Pass Marks: 24 + 10 + 10
Credit Hours: 3
Course Description
Course Objectives
Course Contents
1. PHP Fundamentals
7 hrs
1.1. Introduction to PHP
- What is PHP?
- The history of PHP
- What does PHP do?
- PHP Installation and Configuration
1.2. Language Basics
- Lexical Structures
- Variables
- Data Types
- Expressions and Operators
1.3. Flow Controls
- if
- switch
- while
- for
- foreach
- try...catch
- declare
- exit
- return
- go to
1.4. Embedding PHP
- Including Code
- Different styles of Embedding PHP in Web Pages
2. Functions Strings
7 hrs
2.1. Functions
- Defining Function
- Calling Function
- Variable Scope
- Function Parameters
- Returning Values
- Variable Functions
- Anonymous Functions
2.2. String Basics
- String Constants
- Printing Strings
- Accessing Characters
- Cleaning Strings
2.3. String Operations
- Encoding and Escaping Strings
- Comparing Strings
- Manipulating and Searching Strings
- Regular Expression
3.1. Arrays
- Indexed Arrays
- Associative Arrays
- Accessing Array Elements
- Storing Data
- Extracting Multiple Values
- Multidimensional Arrays
3.2. Array Operations
- Converting between Arrays and Variables
- Different Ways of Traversing Arrays
- Sorting
- Acting on Arrays
3.3. Objects and Classes
- Creating Objects
- Accessing Properties and Methods
- Declaring Classes
3.4. OOP Concepts
- Constructors
- Destructors
- Inheritance
- Interfaces
- Abstract Classes
4. Form Processing
6 hrs
4.1. HTTP and Server
- HTTP Basics
- Server Variables
- Getting Server Information
4.2. Forms and Uploads
- PHP Get & POST
- Form Processing
- Methods
- Form Parameters
- Form Validation
- File Uploads
- Setting Response Headers
4.3. Cookies and Sessions
- Working with cookies
- Setting cookie values
- Reading cookie values
- Unsetting cookie values
- Working with sessions
- SSL
5.1. PHP and Database Access
- Using PHP to access Database
- Relational Databases and SQL
- PHP Data Objects
5.2. MySQL Interface
- MySQL Object Interface
- Retrieving Data for Display
- SQLite
5.3. Database Operations
- Performing basic database operation (DML) (Insert, Delete, Update, Select)
- Setting query parameter
- Executing query
5.4. Advanced Queries
- Cartesian Product and Join Operations
- Prepared Statements
6.1. Graphics Basics
- Embedding Images
- Basic Graphics Concepts
- Creating and Drawing Images
- Images with Text
6.2. Advanced Graphics
- Dynamically Generated Buttons
- Scaling Images
- Color Handling
6.3. Security
- Filter Input
- Cross-Site Scripting
- Escape Output
- Session Fixation
- File Upload
- File Access
7. Framework and CMS
6 hrs
7.1. PHP Frameworks
- Introduction of CodeIgniter
- Cake PHP
7.2. Content Management Systems
- Introduction of Wordpress
- Joomla
- Drupal
- Magento
7.3. WordPress in Depth
- Using domain names
- Hosting Options
- Dashboard
- Pages
- Directory Permissions
- Tags
- Settings
Laboratory Works
- 1.PHP Scripts
Text Books
- 1.Kevin Tatore, Peter MacIntyre, Ramus Lerdorf, 'Programming PHP', O'Reilly Media, Third Edition, 2013
Reference Books
- 1.David Sklar, 'Learning PHP 5, A Pain-Free Introduction to Building Interactive Web Sites', O'Reilly Media
- 2.Robin Nixon, 'Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5'
- 3.Luke Welling, 'PHP and MySQL Web Development', Addison-Wesley Professional, O'Reilly Media