Professional Documents
Culture Documents
for
Amendment Record
Version No.
1.0
Effective Date
September 2004
Change
New
Replaced Pages
-
Page No. 2 of 11
Table Of Contents
Sr.
No. 1. 2. 3. 4. 5. 6. Introduction Information on Module Session Allocation Week-wise Session Schedule Session Coverage Bibliography Solutions to Check Your Progress
Details
Page N o.
4 4 4 5 8 8
Page No. 3 of 11
1. Introduction The module contents aim at enabling students to understand the basics of PHP programming techniques. Hence, at the end of this module, the student will be able to: Discuss the need and history of PHP Use Form Handling in PHP Use Variables and Expressions in PHP Use various types of operators (Arithmetic, logical, relational, bitwise, assignment, string) in PHP Use conditional and flow control statements in PHP Use functions in PHP Create and use arrays in PHP Implement database management in PHP Use cookies in PHP Perform session management in PHP Manage e-mails using PHP Discuss OOPS concepts
2. Information on Session Allocation Module PHP Concept (No. of Hrs) 18 Lab (No. of Hrs) 18 Online (No. of Hrs) 8 Total (No. of Hrs) 44
3. Week-wise Session Schedule Week 1 2 3 5 6 7 A Session has duration of 2 hrs Concept is a theory class to be conducted in the classroom Lab is a hands-on session to be conducted in the computer lab Online session needs to be conducted in the lab where the teacher can teach and the students can practice the exercises as and when they are provided in the session Class/Online/Lab Session Session 1 PHP Online 1 Session 5 PHP Concept 2 Session 9 PHP Concept 4 Session 13 PHP Concept 6 Session 17 PHP Lab 7 Session 21 PHP Concept 9 Class/Online/Lab Session Session 2 PHP Online 2 Session 6 PHP Lab 2 Session 10 PHP Lab 4 Session 14 PHP Lab 6 Session 18 PHP Online 4 Session 22 PHP Lab 9 Class/Online/Lab Session Session 3 PHP Concept 1 Session 7 PHP Concept 3 Session 11 PHP Concept 5 Session 15 PHP Online 3 Session 19 PHP Concept 8 Class/Online/Lab Session Session 4 PHP Lab 1 Session 8 PHP Lab 3 Session 12 PHP Lab 5 Session 16 PHP Concept 7 Session 20 PHP Lab 8
Page No. 4 of 11
4. Session Coverage
Session-2
Session 2 (1-21)
Session-3
Session 3 (1-32)
Session-4 Session-5
PHP - Lab 1
All the topics from Session 4 of this book should be covered in this session. PHP Concept 2 All topics from Session 5 of the book should be covered in this session. Use Arithmetic operators Use Logical operators Use Relational operators Use Bitwise operators Use Assignment operators Use String operators Use Increment and Decrement operators
Session-6
PHP - Lab 2
All the topics from Session 6 of this book should be covered in this session.
Not Applicable
Page No. 5 of 11
Session-7
PHP Concept 3 All the topics from Session 7 of this book should be covered in this session.
Use the If statement Use the Switch statement Use the Ternary (?) operator
Session 7 (1-18)
Session-8 Session-9
PHP - Lab 3
All the topics from Session 8 of this book should be covered in this session.
Not Applicable
PHP Concept 4
All topics from Session 9 of the book should be covered in Session 9 (1-29) this session. Use Loops Use Jump statements PHP Lab 4 All topics from Session 10 of the book should be Not Applicable covered in this session. PHP Concept 5 All the topics from Session 11 of this book should be Session 11 (1-29) covered in this session. Define a function Use built-in PHP functions Create a user- defined function Pass arguments to a function Return values from a function Use a recursive function PHP Lab 5 All topics from Session 12 of the book should be Not Applicable covered in this session. PHP Concept 6 All topics from Session 13 of the book should be covered in Session 13 (1-28)
this session.
Session-10 Session-11
Session-12 Session-13
Session-14
Define an array Create and use arrays Merge arrays Use single and multidimensional arrays Use array- related functions PHP Lab 6 All topics from Session 14 of the book should be covered in this session.
Not Applicable
Page No. 6 of 11
Page No. 7 of 11
Session-15
PHP Online 3
All the topics from Session 15 of this book should be covered in this session. Discuss about Database APIs Connect to the database Use data access functions Perform SQL queries using PHP Build HTML tables using SQL queries PHP Concept 7 All topics from Session 16 of the book should be covered in this session. Set a cookie Retrieve a cookie in PHP Delete a cookie Identify problems with cookies PHP Lab 7 All topics from Session 17 of the book should be covered in this session. PHP Online 4 All the topics from Session 18 of this book should be covered in this session. Define a session Work with the session Start the session Register the session End the session Work with the php.ini file PHP Concept 8 All topics from Session 19 of the book should be covered in this session. Send e-mails Attach files with e-mails PHP Lab 8 All topics from Lab 20 of the book should be covered in this session. PHP Concept 9 All topics from Session 21 of the book should be covered in this session. Explain the OOP concepts Explain inheritances Create classes Create constructors Create and use objects PHP Lab 9 All topics from Session 22 of the book should be covered in this session.
Session 15 (1-24)
Session-16
Session 16 (1-24)
Session-17 Session-18
Session-19
Session 19 (1-17)
Session-20 Session-21
Session-22
Not Applicable
Page No. 8 of 11
5. Bibliography http://www.devshed.com/c/a/PHP/Website-Database-Basics-With-PHP-and-MySQL/ PHP Pocket Reference, Rasmus Lerdorf Professional PHP Programming, Jesus Castagnetto, Harish Rawat, Sascha Schumann, Chris Scollo & Deepak VeliathByron Gottfried Programming PHP, Rasmus Lerdorf & Kevin Tatroe 6. Solutions to Check Your Progress Session 1 1. 2. 3. 4. 5. HTML,PHP Search Engine Get,Display,Print Web server, variables PHPDebugger DBG 6. Linux
Session 2 1. 2. 3. 4. 5. Form Hyper Text Markup Language Action Attribute PHP ? 6. POST
Session 5 1. 2. 3. 4. 5. Operator % Relational || .= 6. 7. AND Shifts the bits of Operand1, Operand2 times to the left
Page No. 9 of 11
Session 7 1. 2. 3. 4. 5. Condition IF statement Switch statements Default statement Break 6. Ternary Operator
Session 11 1. 2. 3. 4. 5. underscore ord() seconds generates an user error remains unchanged outside the function 6. 7. & a function calling number of times itself
Session 13 1. 2. 3. 4. 5. array identifier array() function array_merge() sort() array_count_values() 6. 7. array_intersect() array_keys()
Page No. 10 of 11
Page No. 11 of 11