PHP Basics and Conditional Logic
Learning Objectives - In this module, we will understand what PHP &MySQL is and why it is so popular. You will learn PHP basics, installation setup, data types, arrays and decision making statements.
Topics- PHP introduction, Environment setup in different platforms, Script syntax, How to declare variable and data types, Constants, Arrays, Strings, Web concepts, Decision making statements, loop types, operators, Annie’s Quizzes, LAB, Q & A and Quick Recap.
Functions and Error Handling
Learning Objectives - In this module, we will learn about the functions. Next, we will learn about how to send mails using PHP. In addition, we will learn regular expressions, predefined functions and its uses. We will also understand how to manipulate with system files, error handling and debugging.
Topics- What is Functions , Creating PHP functions, PHP functions with parameters, Argument by reference, setting default values for function parameters, dynamic function calls, PHP mails, how to send text mail, how to send html emails , how to send attachments with emails, regular expressions, POSIX regular expressions, predefined character ranges, Regexp POSIX functions, PERL style regular expressions, Regexp PERL compatible functions, Date and time functions,Built-in functions, file inclusion, file manipulations, exception handling, bugs debugging, Annie’s Quizzes, LAB, Q & A and Quick Recap.
Object-Oriented Programming
Learning Objectives - In this module, we will learn how to define classes, how to create object for the class and how to invoke methods and functions. Next, we will learn the object oriented functionalities like inheritance, method overriding, interfaces, constants, Access Specifiers and abstract classes.
Topics- What is Object-Oriented Concepts, Defining classes, Creating Objects, Member functions, Constructor and Destructor, Inheritance, Function overriding, Access Specifiers- private, public and protected members, Interfaces, Constants, Abstract Classes, Static keyword, Final keyword, calling parent constructors, Annie’s Quizzes, LAB, Q & A and Quick Recap.
MySQL Installation and Basics
Learning Objectives - In this Module, We will discuss what is database and database terminology. Then we will see how to install MySQL in our system. We will see how to connect with MySQL. Then we will discuss about syntax, database creation and create tables inside database and database manipulations like add, edit, and delete.
Topics- Database Introduction, MySQL installation on various platforms, MySQL connection, Database creation, Database Manipulations- Add, Edit, Retrieve and Delete. Table creation and table manipulations- Add Edit, Retrieve and Delete Annie’s Quizzes, LAB, Q & A and Quick Recap.
Advanced Queries and Data Manipulation using PHP
Learning Objectives - In this module, we will learn advanced queries and SQL injection concepts. We will discuss about Like clause, how to sort values, how to fetch using joins, how to handle NULL values, Regular expressions, Transactions and alter command. We will also discuss Indexes of the table, temporary tables and clone tables. Then we will see duplicate tables and SQL Injection. We will learn how to retrieve and manipulate data using PHP.
Topics- LIKE clause, Sorting, Joins, Handling NULL Values, Regular Expressions, Transactions, ALTER Command, Indexes, Temporary Tables, Clone Tables, Database, Information, Sequences, Handling Duplicates, SQL Injections, Select, insert, update and delete using PHP script, Annie’s Quizzes, Q & A,Quick Recap.
MVC Infrastructure Basics & Introduction to CakePHP
Learning Objectives - In this module we will learn the MVC terminology, advantages of MVC. We will learn how to install and configure CakePHP on top of existing PHP apache web server we will also see CakePHP folder structure and important configuration.
Topics- Introduction to MVC, What are Model-View-Controller, Why use framework in the project (conventional vs. MVC project), Installation of CakePHP, CakePHP folder structure, File naming conventions, Important config file (core.php, database.php), Annie’s Quizzes, Q & A, Quick Recap.
CakePHP Controller, Views and Layout
Learning Objectives - In this module we will learn how to create controllers and views. We will learn how URLs are mapped to the controllers and views. We will learn how the controller and view interacts and exchanges data between them.
Topics- Application flow - How Controller and view interacts/ exchanges data, What are CakePHP helpers?, Most commonly used helpers like Form, HTML, Session, Cookie etc, Create a controller and how URLs mapped to controller and views, Create views and layouts, Annie’s Quizzes, Q & A, Quick Recap.
Models and Database Interaction in CakePHP
Learning Objectives - In this module we will learn models in detail. How to define models, use it for database access and manipulation. How to use basic SQL queries in models.
Topics- Models: What are models and how they interact with database?, Accessing and manipulating table data using find, save, update methods of the model, Joining tables, conditions, conditions other than =(LIKE, BETWEEN,), order by in CakePHP models, Change database dynamically using the definitions in database.php config file, Annie’s Quizzes, Q & A, Quick Recap.
Creating Dynamic Forms using CakePHP Html Helpers
Learning Objectives - In this module, we will learn about how to generate forms using CakePHP html helper, validate forms using model definitions, difference between get and post methods, cookies , uses of cookies, how to set and retrieve cookies, what is sessions, how to start and destroy sessions, automatically start sessions and use sessions without cookies, file uploading and predefined variables.
Topics- Introduction to basic html form, get, post methods, Generate form elements like input boxes, dropdowns, radio buttons, and links using CakePHP html helper, Form validation using Model validation definitions, Create, retrieve and delete cookies, Create, retrieve and delete session variables, File handling in CakePHP (create, delete, read files), CakePHP Global variables and their use, Annie’s Quizzes, Q & A, Quick Recap
Using MVC & CakePHP to develop a website
Learning Objectives - In this module we will see some other frameworks available in PHP like Zend, CodeIgniter, Laravel. We will see the comparison between the frameworks. We will also discuss the project details.
Topics- Project 1: Create a basic HTML registration form using CakePHP helpers. Post data to the database and send an email Project 2: The main aim of the project is to develop an online website, which will cover details about institutes, courses and student information using CakePHP
- Create a basic layout for the website.
- Add/Edit/View/Delete institute details
- Add/Edit/View/Delete course details
- Add/Edit/View/Delete student information