1 PHP Programming Intro (1)
1 PHP Programming Intro (1)
Programming
Introduction
At the end of this lesson…
What is PHP?
PHP Pre-requisites
Uses of PHP
To further fortify your trust in PHP, here are a few applications of this amazing scripting
language:
It can be used to create Web applications like Social Networks(Facebook, Digg),
Blogs(Wordpress, Joomla), e-Commerce websites (OpenCart, Magento etc.) etc.
Command Line Scripting. You can write PHP scripts to perform different operations
on any machine, all you need is a PHP parser for this.
Create Facebook applications and easily integrate Facebook plugins in your
website, using Facebook's PHP SDK.
Sending Emails or building email applications because PHP provides with a robust
email sending function.
Wordpress is one of the most used blogging(CMS) platform in the World, and if you
know PHP, you can try a hand in Wordpress plugin development.
Introduction
• PHP Parser
• Web Server
• Database
Introduction
What is XAMPP?
XAMPP stands for:
The installation process is simple and once installed you will see a small
window like this, showing the status of various services which are
running.
You can easily control, stop and restart, various services using the XAMPP Control Panel.
Upon successful installation, a folder with name xampp will be created in the C drive(by
default). In the folder xampp there are many sub-folders like apache, cgi-bin,
FileZillaFTP etc., but the most important sub-folders are:
Introduction
htdocs: This is the folder in which we will keep all our PHP files.
mysql: This folder contains all the files for the MySQL database.
By default the MySQL database runs on port number 3306.
php: This folder holds all the installation files for PHP. All the
configurations for the current PHP installation is saved in php.ini
file which is stored in this folder.
If everything seems fine and the apache server is
running(check in the XAMPP control panel), open your Web
browser and enter localhost in the address bar and hit enter.
You will see the default page of Apache web server.
Introduction
Both the PHP and JSP are server-side scripting languages. Both the languages involve HTML
source code in order to create web pages. The best part is that they both are of free of cost
and support Unicode encoding. PHP is abbreviated as Hypertext processor whereas JSP is
abbreviated as java server pages. PHP and JSP were developed by PHP Group and SUN
Microsystems respectively. PHP is a scripting language that is widely used in the area of
Web development. It lets the web developers to rapidly jot down dynamically generated
pages. On the other hand, JSP is Java Server Pages. It is a technical modernization from JAVA
that allows designers and web developers to build up and keep up, dynamic Web pages that
are prosperous in information which in turn, empower systems.
Introduction
Java servlet is a part of java language that allows you to handle http
requests, it is similar to php which is a scripting language for web
applications. they both serve same purpose ie. serving web pages
and both require a server container to work… like apache.
THANK YOU!