Course Duration:
Routing Mode: 2 Months, 5 days in a week, 2 hours a day
Rapid Mode: 1 Month, 5 days a week, 4 hours a day
Fees:
Domestic: INR 10,000/- International: USD 221
Amounts listed are the total of tuition, lab and study material fees, exam fee.
GST extra, Fees are subject to change.
Introduction to Php++
GMAC Php Programming course provides the knowledge necessary to design and develop dynamic, database-driven web pages. PHP is a language written for the web, quick to learn, easy to deploy and provides substantial functionality required for e-commerce. This course introduces the PHP framework and syntax and covers in depth the most important techniques which are used to build dynamic websites.
Pre-Requisites:
A basic working knowledge of HTML is presumed. Some conceptual knowledge of how web servers and web browsers (clients) interact using HTTP. A working knowledge of at least one scripting/programming language or evidence of strong capabilities in relevant areas of mathematical/logical reasoning
Course Contents:
Session 1: PHP and Web Programming - Overview
- How PHP compares with other approaches: JavaScript, Flash, CGI/Perl, Microsoft's ASP, and Sun's Java Server Pages
- PHP Pros and Cons
- PHP: past, present and future (PHP 3.0, PHP 4.0, and PHP 5)
- The road ahead...
- Modular application design
- Learning to create and use code libraries
- Object Oriented PHP
- Separating front and back ends (MVC pattern)
- Setting up your environment
- Directory structure
- Error handling and
-
-
-
-
-
-
-
-
-
-
-
-
-
Session 2: Elements of PHP - Review
- PHP variables and arrays Control flow
- Patterns for processing HTML forms
- Understanding $_GET, $_POST, $_SESSION and other PHP super-arrays
- Dynamically generating HTML - example: self-populating forms
-
-
-
-
-
-
-
-
-
-
-
-
-
Session 3: Functions
- How to think about PHP's many utility functions
- Examples with numbers, strings and dates
- Discussion: string functions vs. regular expressions
User-defined functions: units of code
Functional overview...
- Return values
- Parameters: Passing 'by value' vs. 'by reference'
- Variable scope
Arranging function in separate 'include' files: code libraries. Looking ahead: what is an 'Object'? More about debugging and error handling
Session 4: Introduction to PHP and MySQL
PHP's customized MySQL functions
A simple database-driven application: message board
- Creating the database schema
- Connecting to the database
- Inserting and Updating data
-
-
-
-
-
-
-
-
-
-
-
-
-
Session 5: Object-oriented PHP
What is O-O programming, and why is it cool?
Understanding how using objects can improve PHP programs
Understanding how objects work in PHP
- References vs. values
- PHP 4 vs. PHP 5
Re-using existing objects: Example of the PEAR:: DB interface
Creating and programming with objects: Example of object-oriented version of message board
Session 6: String
- Quoting String Constants
- Printing Strings
- Table of Contents
- Accessing Individual Characters
- Cleaning Strings
- Encoding and Escaping
- Comparing Strings
- Manipulating and Searching Strings
- Regular Expressions
- POSIX-Style Regular Expressions
- Perl-Compatible Regular Expressions
-
-
-
-
-
-
-
-
-
-
-
-
-
Session 7: Arrays
- Indexed Versus Associative Arrays
- Identifying Elements of an Array
- Storing Data in Arrays
- Multidimensional Arrays
- Extracting Multiple Values
- Converting Between Arrays and Variables
- Traversing Arrays
- Sorting
- Acting on Entire Arrays
- Using Arrays
-
-
-
-
-
-
-
-
-
-
-
-
-
Session 8: Object
- Terminology
- Creating an Object
- Accessing Properties and Methods
- Declaring a Class
- Introspection
- Serialization
-
-
-
-
-
-
-
-
-
-
-
-
-
Session 9: Introduction to CMS (Joomla)
- Building a CMS through Php
- Joomla -Introduction to cutting-edge content Week
-
-
-
-
-
-
-
-
-
-
-
-
-
Session 10: Bringing It All Together
- In the final week, we apply many of the concepts studied so far to develop a complete, well-architected web application component: a simple online shopping cart using cookies, sessions and the database.
- PHP and web application security
- More about objects
Course Duration:
Routing Mode: 2 Months, 5 days in a week, 2 hours a day
Rapid Mode: 1 Month, 5 days in a week, 4 hours a day