Complete PHP from scratch for Beginners
Section 1 : Introduction
Section 2 : Setting up the PHP Eenvironment
Chp 5 : Types of PHP Installation software
Types of Installation :
1) LAMP (Linux(os) + Apache(server) + MySQL(Database) + PHP(scripts))
2) MAMP (Mac(os) + Apache(server) + MySQL(Database) + PHP(scripts))
3) WAMP (Windows(os) + Apache(server) + MySQL(Database) + PHP(scripts))
Types of Installation Software :
1) AAMPS : supports all three os (Linux, Mac, Windows) recommended
2) MAMP : supports two os ( Mac, Windows) recommended for Mac PC
3) XAMPP :
4) WAMP : supports windows
Chp 9 : Choose your Favourite PHP Editor
Code Editor : Sublime , notepad ++
IDE : mpsoftware, PHPStorm, NetB eans
Chp 12 : PHP syntax
PHP code is written between
Opening tag : ”<?php” and closing tag “?>”
Every line must end with semi-colon
Echo/ print is the function is used to print data on browser
“<?=” is equal to “<?php echo”
You can skip “;” for the last statement
Single line comments : // or #
Multi-Line commment : /* */
Chp 18 : Certification Tips
Last Statement line does not require a semi-colon (;) and nor the “?>” closing tag
(Plain PHP Code)
<?php echo “we can omit last closing tag”;
Because there is nothing after “;”
Chp 24 : what is Request and ResponsePattern ?
Define simple request response :
Web Browser sends the request to Web Server to access the html page and Web
Server sends the HTML page as to Web Browser as a Response
Chp 25 : What is PHP ?
Documentation of PHP on : https://www.php.net/
What is PHP :
PHP stands for : “PHP: Hypertext Preprocessor”
1) It is server side scripting language
2) It is a interpreted language
3) It is use to create dynamic contetn by interactingwith the database
4) Php code is imbeded into HTML page which runs on the server
What you can do with PHP ?:
1) It can read data from the form submitted from the HTML Page
2) Read, Save, Update, Delete data from database
3) Send Emails
4) Accept cookies and set Cookies
5) Track the session of the user on the web Page
6) Restrict the user to access some pages on your website
7) Many other web page bbased backed transaction
Chp 26 : How PHP works
Web Browser requests the PHP file Web Server executes the PHP code and
generates the HTML File and send it to Web Browser
Chp 27 : Compare PHP with other Languages :
Characteristic of PHP:
1) Simplicity
2) Efficiency
3) Security
4) Flexibility
5) Familiarty
Chp 28 : PHP useful resourses:
References :
Books :
1) Learning PHPH, MySQL and javascript : Robin Nixon
2) Murach’s PHP and MySQL 3 rd edition
3) PHP programming with MySQL : The Web Technologies Series second edition :
Don Gosselin, Diana Kokoska, Robert Easterbrooks
4) PHP and MySQL for Dynamic Websites : Visual QuickPro Guide 4th edtion :
Larry Ullman
Sites :
Online resources :
https://www.php.net/
https://www.w3schools.com/
https://www.phptherightway.com/
His websites :
https://learnphponline.org/ (learn PHP in multiple Languages)
https://mmy.phpjobtraining.com/ (Job based PHP training)
https://forum.phpjobtraining.com/ (PHP forum)