North Maharashtra University, Jalgaon
Faculty of Science and Technology
BACHELOR OF COMPUTER APPLICATIONS (BCA)
BCA 604 - Server Side Scripting using PHP
w.e.f. 2019-20
Total Lectures: 60
[Total Marks: 60 External + 40 Internal =100 Marks]
Objective: To impart the knowledge of web development in students in by using PHP
Unit – 1 Introduction to PHP [10L][15M]
1.1 Web architecture, web Server (xamp Server, apache server)
1.2 Installation and Configuration of PHP (php.ini, httpd.conf)
1.3 History, Features & Drawbacks of PHP
Unit - 2 The Basics of PHP [10L][15M]
2.1 Introduction to PHP
2.2 Data types in PHP
2.3 Lexical Structure of PHP
2.3.1 Structure & Syntax of PHP
2.3.2 PHP with HTML
2.3.3 Comments
2.3.4 Variables
2.3.5 Literals
2.3.6 Operator
2.3.7 Operator Precedence
2.4 Flow Control Statements
2.4.1 Conditional Statements
2.4.2 Looping Statements
2.4.3 Exit, Return, Die, Include and Require Statements
Unit – 3 Array, Function and String [10L][15M]
3.1 Introduction to Array
3.1.1 Index Vs Associative Array
3.1.2 Multidimensional Array
3.1.3 Different array function in PHP
3.2 Introduction to Function
3.2.1 Defining and Calling a function
3.2.2 Scope of variables in function
3.2.3 Function Parameters
3.2.4 Returning Values from a function
3.2.5 Recursive Functions
3.3 Types of strings in PHP
3.4 Printing functions
3.5 Comparing strings
3.6 Manipulating and Searching strings
3.7 Regular Expressions
Unit – 4 Object-Oriented PHP [10L][15M]
4.1 Introduction and Benefits of OOPs
4.2 Creating a Class
4.3 Creating an Object
4.3.1 Adding a Method
4.3.2 Adding a Properties
4.3.3 Visibility (Public, Private and Protected)
4.4 Constructor and Destructors
4.5 Inheritance (Extending a class)
4.6 Abstract classes, Final classes
4.7 Interfaces
4.8 Exception handling
Unit - 5 Web Techniques [10L][15M]
5.1 Introduction
5.2 HTTP Basics
5.3 Processing Forms
5.3.1 Using PHP $_GET
5.3.2 Using PHP $_POST
5.3.3 GET vs. POST
5.3.4 File Uploads
5.3.5 Form Validation
5.4 Maintaining State
5.4.1 Cookies
5.4.2 Sessions
Unit - 6 PHP with MySQL [10L][15M]
Introduction to MySQL
Interaction between PHP and MySQL
Connecting to a Database
Execute SQL Statements
Reference Books
1. Beginning PHP and MySQL, 3rd Ed., W. Jason Gilmore, A press Publication.
2. PHP 5.1 for Beginners, Ivan Bayross and Sharnam Shah, SPD Publication
3. Beginning PHP5 Dave Mercer et al. Wrox Press
4. PHP for Beginners [Book] / auth. Ivan Bayross, Sharnam Shah, THE X Team. - [s.l.]: SPD.
Websites:
1. http://www.php.net.in
2. http://www.w3c.org