PHP - PowerPoint PPT Presentation

About This Presentation
Title:

PHP

Description:

PHP is an acronym for "PHP: Hypertext Pre-processor". PHP is a script on the server side used for the creation of Static or Dynamic Web sites or Web applications. PHP is a pre-processor for hypertext, which used to stand for home pages.  – PowerPoint PPT presentation

Number of Views:11
Slides: 14
Provided by: HimaniKathal
Tags:

less

Transcript and Presenter's Notes

Title: PHP


1
Submitted by Himani Kathal
  • Power Point Presentation
  • on
  • Topic PHP

2
What is PHP?
  • PHP is an acronym for "PHP Hypertext
    Preprocessor"
  • PHP is a script on the server side used for the
    creation of Static or Dynamic Web sites or Web
    applications.
  • PHP is a pre-processor for hypertext, which used
    to stand for home pages. 
  • The software used to build web applications is an
    open source, server-side, scripting language.
  • PHP can be inserted into HTML.
  • PHP scripts are executed on the server
  • PHP is free to download and use

3
What are the uses of PHP?
  • PHP can generate dynamic page content.
  • PHP can create, open, read, write, delete, and
    close files on the server.
  • PHP can collect form data.
  • PHP can add, delete, modify data in your
    database.
  • PHP can be used to control user-access.
  • PHP can encrypt data.

4
What can PHP do?
  • Generate dynamic web pages.
  • Collect form data from the web page.
  • Send or receive cookies.
  • And, anything which any other CGI (Common Gateway
    Interface) programming language can do.
  • There are three main fields where these scripts
    are used
  • Server Side Scripting 
  • This is the traditional purpose of why it is
    built used, for generating dynamic content. For
    this, you need a PHP Parser, a web server, and a
    web browser.

5
  • Command line Scripting 
  • This is where PHP acts as just any other
    scripting language wherein you can run your PHP
    scripts using a PHP Parser.
  • Client-side GUI 
  • This is where you can build application
    software (with GUIs) using PHP-GTK. It is not the
    best-fit language for the purpose though.

6
What are the characteristics of PHP?
  • It is simple and easy to use.
  • It is efficient and able to connect the database
    and load the application faster.
  • It provides more security to the web application
    with help of using PHP frameworks.
  • It is more familiar for the developers and online
    support is being provided for the beginners.
  • It shows flexibility and ability to get
    integrated with another programming language.
  • It is open source and free of cost.

7
What are the applications based on PHP?
  • Web-based applications and development of web
    pages
  • E-commerce websites and applications.
  • Data Analytics and Representation
  • Processing of Images.
  • Graphical User interface design based
    applications.
  • Developing the features of Flash
  • Graphic designing.
  • School and college websites.
  • Small video games.

8
What are the advantages of PHP?
  • The most important advantage of PHP is that it is
    open source and free of cost. It can be
    downloaded anywhere and readily available to use
    for the development of web applications.
  • It is platform independent. PHP based
    applications can run on any operating system like
    UNIX, Linux and windows, etc.
  • The PHP based application can easily be loaded
    and connected to the database.
  • It helps in managing the code easily.

9
What are the disadvantages of PHP?
  • It is not that secure because of its open-source,
    as the source code can be easily available.
  • It is not suitable for large content-based web
    applications.
  • It has a weak type, which may lead to incorrect
    data and information to the user.
  • PHP frameworks need to learn to use the PHP
    built-in functionalities to avoid writing
    additional code.
  • PHP do not allow the change or modification in
    core behavior of the web applications.
  • The PHP frameworks are not the same in
    behavior so does their performance and features.

10
How PHP works?
11
  • Example
  • lt!DOCTYPE htmlgt
  • lthtmlgt
  • ltbodygt
  • lt? php
  • echo Hello World!
  • ?gt
  • lt/bodygt
  • lt/htmlgt
  • Output
  • Hello World!

12
  • A Php script starts with 
  • lt?php and ends with ?gt
  • The default file extension for PHP files is
    ".php".
  • CODE
  • lt?php // PHP code goes here ?gt

13
Thank you
Write a Comment
User Comments (0)
About PowerShow.com