SlideShare a Scribd company logo
1st step of programming with PHP
- Kanha Sahu
PHP Language
About PHP
 PHP is an acronym for "PHP: Hypertext Preprocessor"
 PHP is a widely-used, open source scripting language
 PHP is free to download and use
 PHP files can contain text, HTML, CSS, JavaScript, and PHP code
 PHP code are executed on the server, and the result is returned to the browser as plain HTML
 PHP files have extension ".php"
PHP
PHP is an amazing and popular language!
• It is powerful enough to be at the core of the biggest blogging system on the web (WordPress)!
• It is deep enough to run the largest social network (Facebook)!
• It is also easy enough to be a beginner's first server side language!
Software - to debug, compile and execute php code on server/your PC
 Xampp (Mac Os, Linux, Windows)
 Wamp (Windows)
 Lamp (Linux)
PHP Editor – to write a program
 Adobe Dreamweaver
 Eclipse
 Notepad++
 Aptana
 Sublime
Browser – to view output/result
 Mozilla Firefox
 Google Crome
 Internet Explorer
 Safari
 Comodo Dragon
Process of ExecutionPHP
Software
• API Tools or
Compiler
SRS
• System
Requirement
Specifications
Install
• Installation &
Configuration
Experiments
• Write a
Program
References
• Books, Tutorials
and Other Links
PHP
Windows
SRS
Cross Platform
Wamp
Xampp
Linux
Lamp
Mac
Linux
Widows
Xampp
PHP
About XAMPP
 XAMPP is an AMP stack which lets you install Apache, MySQL and
PHP in your computer together with some other useful software. It
has been designed to provide you an easy installation experience.
It’s free and available for Windows, Mac OS and Linux.
 XAMPP is the most popular PHP development environment
 XAMPP is a completely free, easy to install Apache distribution
containing MariaDB, PHP, and Perl. The XAMPP open source
package has been set up to be incredibly easy to install and to use.
XAMPP
About
• About Tool
Download
• Download XAMPP
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
Download XAMPP
 https://www.apachefriends.org/download.html
 https://sourceforge.net/projects/xampp/
XAMPP
About
• About Tool
Download
• Download XAMPP
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Installation About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Configuration
 To Start XAMP
start > All Programs > Xampp > Xampp Control Panel
 Apache : click start to start apache, It is useful for PHP coding, execution
 MySQL: click start to start MySQL, It is useful for MySQL connectivity with PHP
 Where to write a Code
By default Xampp installed in C:xampp, if you change than you cam go to
you drive:folder
drive:folderxampphtdocs<yourProjectFolder>
 Example : C;xampphtdocsbasics
 Creating PHP File
Use any text editor and write a php code and save it into your project folder with
“.PHP” extension. Example “index.php”
 How to Execute
 First start xampp apache, write a basic PHP program and save it “<filename>.php”.
 Open your browser and write in URL
“localhost/<yourProjectFolder>/<yourProjectFolder>/<filename>.php”
 Example : Mozzila Firefox -> localhost/basics/index.php
 Press Enter.
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
XAMPP
Experiment
 By using notepad or any other text editor write a basic program of
PHP
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
Source Code - Input
PHP
Experiment
 By using browser we can execute our PHP program
 Just like c & c++, “//.. ”, “/* … */” is a comment notation
About
• About Tool
Download
• Download MinGW
Install
• Installation & Configuration
Experiments
• Write a Program
References
• Books, Tutorials and Other Links
Result - Output
PHP
Development of software applications is always a complex and a time consuming process.
But thanks to those high-end PHP frameworks, that developing an agile application has now
become easier and faster.
PHP Frameworks :
When we use the terminology “Framework” we are more often talking about Web application
framework . A web application framework is simply based on coding. If you are a programmer or a web
developer that loves coding you often choose a Web application framework for your projects.
Content Management System(CMS):
A CMS is a “Content management framework” and it is based on the modules rather than code. Anyone
can handle a CMS as it doesn’t require any coding knowledge. Of course programmers can also choose
a CMS as they can do their job faster.
PHP
FRAMEWORK NAME MVC PHP4 PHP5 MULTIPLE DB'S TEMPLATES
Yii
ThinkPHP
CakePHP
Codeigniter
PHP Frameworks :
 Laravel
 Phalcon
 Symfony
 Yii Framework
 CakePHP
 Codignator
 Zend
CMS :
 Druple
 Joomla
 Wordpress
 Magento
 TikiWiki
 Wolf CMS
References
 Downloads :
 https://www.apachefriends.org/download.html
 https://sourceforge.net/projects/xampp/
 Official Site:
1. http://www.php.net/
 Books:
 http://www.w3schools.com/php/
 http://www.tutorialspoint.com/php/index.htm
 https://kaslab.blogspot.in/search/label/PHP
 https://kaslab.blogspot.in/2015/03/mysql-notes.html
 https://kaslab.blogspot.in/2015/03/css-notes.html
 https://kaslab.blogspot.in/2015/03/html-notes.html
PHP

More Related Content

What's hot

Ako na vlastne WP temy
Ako na vlastne WP temyAko na vlastne WP temy
Ako na vlastne WP temy
Juraj Kiss
 
Theming Wordpress for Your Showcases
Theming Wordpress for Your ShowcasesTheming Wordpress for Your Showcases
Theming Wordpress for Your ShowcasesJun Hu
 
Xampp Workshop
Xampp WorkshopXampp Workshop
Xampp Workshop
Anuchit Chalothorn
 
Install Drupal on Wamp Server
Install Drupal on Wamp ServerInstall Drupal on Wamp Server
Install Drupal on Wamp Server
Vineet Kumar Saini
 
Hhvm and wordpress
Hhvm and wordpressHhvm and wordpress
Hhvm and wordpress
Mark Kelnar
 
2013 - Dustin whittle - Escalando PHP en la vida real
2013 - Dustin whittle - Escalando PHP en la vida real2013 - Dustin whittle - Escalando PHP en la vida real
2013 - Dustin whittle - Escalando PHP en la vida realPHP Conference Argentina
 
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Andrea Cardinali
 
Php hypertext Preprocessor
Php hypertext PreprocessorPhp hypertext Preprocessor
Php hypertext Preprocessor
MrsRLakshmiIT
 
Re-imaginging CakePHP
Re-imaginging CakePHPRe-imaginging CakePHP
Re-imaginging CakePHP
Graham Weldon
 
Jakarta WordPress Meetup #9: Introducing VVV 2
Jakarta WordPress Meetup #9: Introducing VVV 2Jakarta WordPress Meetup #9: Introducing VVV 2
Jakarta WordPress Meetup #9: Introducing VVV 2
WordPress
 
Online publishing with wordpress(installation)
Online publishing with wordpress(installation)Online publishing with wordpress(installation)
Online publishing with wordpress(installation)
Ankit Sigdel
 
Overview of Web Technology Intro
Overview of Web Technology Intro Overview of Web Technology Intro
Overview of Web Technology Intro webhostingguy
 
"Ensuring chances of theme acceptance in wordpress.org directory" on WordCamp...
"Ensuring chances of theme acceptance in wordpress.org directory" on WordCamp..."Ensuring chances of theme acceptance in wordpress.org directory" on WordCamp...
"Ensuring chances of theme acceptance in wordpress.org directory" on WordCamp...
Sudeep Balchhaudi
 
RPC-CMS-Blog-Platforms
RPC-CMS-Blog-PlatformsRPC-CMS-Blog-Platforms
Install Word Press with xampp
Install Word Press with xamppInstall Word Press with xampp
Install Word Press with xampp
Mehdi Sharifirad
 
Laravel Dusk
Laravel DuskLaravel Dusk
Laravel Dusk
kingvish
 
wp cli- don’t fear the command line
wp cli- don’t fear the command linewp cli- don’t fear the command line
wp cli- don’t fear the command line
Dwayne McDaniel
 
The Ultimate WordPress Development Environment
The Ultimate WordPress Development EnvironmentThe Ultimate WordPress Development Environment
The Ultimate WordPress Development Environment
Matt Geri
 

What's hot (20)

Ako na vlastne WP temy
Ako na vlastne WP temyAko na vlastne WP temy
Ako na vlastne WP temy
 
Theming Wordpress for Your Showcases
Theming Wordpress for Your ShowcasesTheming Wordpress for Your Showcases
Theming Wordpress for Your Showcases
 
Xampp Workshop
Xampp WorkshopXampp Workshop
Xampp Workshop
 
Xampp Ppt
Xampp PptXampp Ppt
Xampp Ppt
 
Install Drupal on Wamp Server
Install Drupal on Wamp ServerInstall Drupal on Wamp Server
Install Drupal on Wamp Server
 
Hhvm and wordpress
Hhvm and wordpressHhvm and wordpress
Hhvm and wordpress
 
2013 - Dustin whittle - Escalando PHP en la vida real
2013 - Dustin whittle - Escalando PHP en la vida real2013 - Dustin whittle - Escalando PHP en la vida real
2013 - Dustin whittle - Escalando PHP en la vida real
 
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
 
Php hypertext Preprocessor
Php hypertext PreprocessorPhp hypertext Preprocessor
Php hypertext Preprocessor
 
Re-imaginging CakePHP
Re-imaginging CakePHPRe-imaginging CakePHP
Re-imaginging CakePHP
 
Jakarta WordPress Meetup #9: Introducing VVV 2
Jakarta WordPress Meetup #9: Introducing VVV 2Jakarta WordPress Meetup #9: Introducing VVV 2
Jakarta WordPress Meetup #9: Introducing VVV 2
 
Xampp installation
Xampp installation Xampp installation
Xampp installation
 
Online publishing with wordpress(installation)
Online publishing with wordpress(installation)Online publishing with wordpress(installation)
Online publishing with wordpress(installation)
 
Overview of Web Technology Intro
Overview of Web Technology Intro Overview of Web Technology Intro
Overview of Web Technology Intro
 
"Ensuring chances of theme acceptance in wordpress.org directory" on WordCamp...
"Ensuring chances of theme acceptance in wordpress.org directory" on WordCamp..."Ensuring chances of theme acceptance in wordpress.org directory" on WordCamp...
"Ensuring chances of theme acceptance in wordpress.org directory" on WordCamp...
 
RPC-CMS-Blog-Platforms
RPC-CMS-Blog-PlatformsRPC-CMS-Blog-Platforms
RPC-CMS-Blog-Platforms
 
Install Word Press with xampp
Install Word Press with xamppInstall Word Press with xampp
Install Word Press with xampp
 
Laravel Dusk
Laravel DuskLaravel Dusk
Laravel Dusk
 
wp cli- don’t fear the command line
wp cli- don’t fear the command linewp cli- don’t fear the command line
wp cli- don’t fear the command line
 
The Ultimate WordPress Development Environment
The Ultimate WordPress Development EnvironmentThe Ultimate WordPress Development Environment
The Ultimate WordPress Development Environment
 

Viewers also liked

Php a dynamic web scripting language
Php   a dynamic web scripting languagePhp   a dynamic web scripting language
Php a dynamic web scripting language
Elmer Concepcion Jr.
 
Basics PHP
Basics PHPBasics PHP
Unit 2 Principles of Programming Languages
Unit 2 Principles of Programming LanguagesUnit 2 Principles of Programming Languages
Unit 2 Principles of Programming LanguagesVasavi College of Engg
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming languageVasavi College of Engg
 
Programming languages
Programming languagesProgramming languages
Programming languages
Asmasum
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languagesVarun Garg
 

Viewers also liked (7)

Php a dynamic web scripting language
Php   a dynamic web scripting languagePhp   a dynamic web scripting language
Php a dynamic web scripting language
 
Basics PHP
Basics PHPBasics PHP
Basics PHP
 
Unit 2 Principles of Programming Languages
Unit 2 Principles of Programming LanguagesUnit 2 Principles of Programming Languages
Unit 2 Principles of Programming Languages
 
Unit1 principle of programming language
Unit1 principle of programming languageUnit1 principle of programming language
Unit1 principle of programming language
 
Php Ppt
Php PptPhp Ppt
Php Ppt
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Lect 1. introduction to programming languages
Lect 1. introduction to programming languagesLect 1. introduction to programming languages
Lect 1. introduction to programming languages
 

Similar to First steps of programming with php

Php
PhpPhp
Php hypertext pre-processor
Php   hypertext pre-processorPhp   hypertext pre-processor
Php hypertext pre-processorSiddique Ibrahim
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
JIGAR MAKHIJA
 
Php unit i
Php unit i Php unit i
Php unit i
prakashvs7
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuis Rodríguez Castromil
 
Php introduction and configuration
Php introduction and configurationPhp introduction and configuration
Php introduction and configuration
Vijay Kumar Verma
 
Php intro
Php introPhp intro
Php intro
sana mateen
 
Introduction to PHP.pptx
Introduction to PHP.pptxIntroduction to PHP.pptx
Introduction to PHP.pptx
MarianJRuben
 
Learning to code
Learning to codeLearning to code
Learning to code
Sara-Jayne Terp
 
PHP.ppt
PHP.pptPHP.ppt
a brief introduction to PHP and how to use it.
a brief introduction to PHP and how to use it.a brief introduction to PHP and how to use it.
a brief introduction to PHP and how to use it.
Raihan Mistry
 
PHP LICTURES ..........
PHP LICTURES ..........PHP LICTURES ..........
PHP LICTURES ..........
Rashid Ahmad
 
Php training in bhubaneswar
Php training in bhubaneswar Php training in bhubaneswar
Php training in bhubaneswar
litbbsr
 
Php training in bhubaneswar
Php training in bhubaneswar Php training in bhubaneswar
Php training in bhubaneswar litbbsr
 
WordPress Manual in Compatible with XAMPP
WordPress Manual in Compatible with XAMPPWordPress Manual in Compatible with XAMPP
WordPress Manual in Compatible with XAMPP
Indian Institute of Management Ahmedabad
 
Php tutorial
Php tutorialPhp tutorial
Php tutorialNiit
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
sushil kumar
 

Similar to First steps of programming with php (20)

Php
PhpPhp
Php
 
Php hypertext pre-processor
Php   hypertext pre-processorPhp   hypertext pre-processor
Php hypertext pre-processor
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 
Php unit i
Php unit i Php unit i
Php unit i
 
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDaysLuisRodriguezLocalDevEnvironmentsDrupalOpenDays
LuisRodriguezLocalDevEnvironmentsDrupalOpenDays
 
Php introduction and configuration
Php introduction and configurationPhp introduction and configuration
Php introduction and configuration
 
Php intro
Php introPhp intro
Php intro
 
Php.ppt
Php.pptPhp.ppt
Php.ppt
 
Introduction to PHP.pptx
Introduction to PHP.pptxIntroduction to PHP.pptx
Introduction to PHP.pptx
 
Php
PhpPhp
Php
 
Learning to code
Learning to codeLearning to code
Learning to code
 
PHP.ppt
PHP.pptPHP.ppt
PHP.ppt
 
a brief introduction to PHP and how to use it.
a brief introduction to PHP and how to use it.a brief introduction to PHP and how to use it.
a brief introduction to PHP and how to use it.
 
Lamp
LampLamp
Lamp
 
PHP LICTURES ..........
PHP LICTURES ..........PHP LICTURES ..........
PHP LICTURES ..........
 
Php training in bhubaneswar
Php training in bhubaneswar Php training in bhubaneswar
Php training in bhubaneswar
 
Php training in bhubaneswar
Php training in bhubaneswar Php training in bhubaneswar
Php training in bhubaneswar
 
WordPress Manual in Compatible with XAMPP
WordPress Manual in Compatible with XAMPPWordPress Manual in Compatible with XAMPP
WordPress Manual in Compatible with XAMPP
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 

Recently uploaded

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 

Recently uploaded (20)

Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 

First steps of programming with php

  • 1. 1st step of programming with PHP - Kanha Sahu PHP Language
  • 2. About PHP  PHP is an acronym for "PHP: Hypertext Preprocessor"  PHP is a widely-used, open source scripting language  PHP is free to download and use  PHP files can contain text, HTML, CSS, JavaScript, and PHP code  PHP code are executed on the server, and the result is returned to the browser as plain HTML  PHP files have extension ".php" PHP PHP is an amazing and popular language! • It is powerful enough to be at the core of the biggest blogging system on the web (WordPress)! • It is deep enough to run the largest social network (Facebook)! • It is also easy enough to be a beginner's first server side language!
  • 3. Software - to debug, compile and execute php code on server/your PC  Xampp (Mac Os, Linux, Windows)  Wamp (Windows)  Lamp (Linux) PHP Editor – to write a program  Adobe Dreamweaver  Eclipse  Notepad++  Aptana  Sublime Browser – to view output/result  Mozilla Firefox  Google Crome  Internet Explorer  Safari  Comodo Dragon
  • 5. Software • API Tools or Compiler SRS • System Requirement Specifications Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links PHP
  • 8. About XAMPP  XAMPP is an AMP stack which lets you install Apache, MySQL and PHP in your computer together with some other useful software. It has been designed to provide you an easy installation experience. It’s free and available for Windows, Mac OS and Linux.  XAMPP is the most popular PHP development environment  XAMPP is a completely free, easy to install Apache distribution containing MariaDB, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use. XAMPP About • About Tool Download • Download XAMPP Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links
  • 9. Download XAMPP  https://www.apachefriends.org/download.html  https://sourceforge.net/projects/xampp/ XAMPP About • About Tool Download • Download XAMPP Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links
  • 10. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 11. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 12. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 13. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 14. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 15. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 16. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 17. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 18. Installation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 19. Configuration  To Start XAMP start > All Programs > Xampp > Xampp Control Panel  Apache : click start to start apache, It is useful for PHP coding, execution  MySQL: click start to start MySQL, It is useful for MySQL connectivity with PHP  Where to write a Code By default Xampp installed in C:xampp, if you change than you cam go to you drive:folder drive:folderxampphtdocs<yourProjectFolder>  Example : C;xampphtdocsbasics  Creating PHP File Use any text editor and write a php code and save it into your project folder with “.PHP” extension. Example “index.php”  How to Execute  First start xampp apache, write a basic PHP program and save it “<filename>.php”.  Open your browser and write in URL “localhost/<yourProjectFolder>/<yourProjectFolder>/<filename>.php”  Example : Mozzila Firefox -> localhost/basics/index.php  Press Enter. About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links XAMPP
  • 20. Experiment  By using notepad or any other text editor write a basic program of PHP About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links Source Code - Input PHP
  • 21. Experiment  By using browser we can execute our PHP program  Just like c & c++, “//.. ”, “/* … */” is a comment notation About • About Tool Download • Download MinGW Install • Installation & Configuration Experiments • Write a Program References • Books, Tutorials and Other Links Result - Output PHP
  • 22. Development of software applications is always a complex and a time consuming process. But thanks to those high-end PHP frameworks, that developing an agile application has now become easier and faster. PHP Frameworks : When we use the terminology “Framework” we are more often talking about Web application framework . A web application framework is simply based on coding. If you are a programmer or a web developer that loves coding you often choose a Web application framework for your projects. Content Management System(CMS): A CMS is a “Content management framework” and it is based on the modules rather than code. Anyone can handle a CMS as it doesn’t require any coding knowledge. Of course programmers can also choose a CMS as they can do their job faster. PHP FRAMEWORK NAME MVC PHP4 PHP5 MULTIPLE DB'S TEMPLATES Yii ThinkPHP CakePHP Codeigniter
  • 23. PHP Frameworks :  Laravel  Phalcon  Symfony  Yii Framework  CakePHP  Codignator  Zend CMS :  Druple  Joomla  Wordpress  Magento  TikiWiki  Wolf CMS
  • 24. References  Downloads :  https://www.apachefriends.org/download.html  https://sourceforge.net/projects/xampp/  Official Site: 1. http://www.php.net/  Books:  http://www.w3schools.com/php/  http://www.tutorialspoint.com/php/index.htm  https://kaslab.blogspot.in/search/label/PHP  https://kaslab.blogspot.in/2015/03/mysql-notes.html  https://kaslab.blogspot.in/2015/03/css-notes.html  https://kaslab.blogspot.in/2015/03/html-notes.html PHP