Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Introduction to PHP for complete beginners.

9 vues

Publié le

PHP (recursive form hypertext Preprocessor) is a widely-used open source general-purpose scripting language that's particularly suitable for web development and may be embedded into hypertext markup language (HTML).

It was originally created by Rasmus Lerdorf in late 1994 based on the C programming language. Current stable version (as of now June 2019) is 7.3.6.

Source: https://decodeweb.in/php/what-is-php/

Publié dans : Logiciels
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Introduction to PHP for complete beginners.

  1. 1. What is PHP PHP (recursive form hypertext Preprocessor) is a widely-used open source general-purpose scripting language that's particularly suitable for web development and may be embedded into hypertext markup language (HTML). It was originally created by Rasmus Lerdorf in late 1994 based on the C programming language. Current stable version (as of now June 2019) is 7.3.6. How PHP works ? In general terms, PHP as an engine interprets the content of PHP files (typically *.php, although alternative extensions are used occasionally) into an abstract syntax tree. The PHP engine then processes the translated AST and then returns the result given whatever inputs and processing are required.
  2. 2. Why is it used ? Primarily, everything that you just wish to try and do on an internet server, you'll be able to do with PHP. create a blog? Definitely. develop a full fledged software-as-a-service application? Why not !. Write a small script to fetch and calculate some information in a very few seconds? PHP is the best for that. Write an advanced set of scripts that accidentally becomes a winning software system business? PHP is used like that a lot. What are the features of PHP ? It is preferred and often used world wide scripting language, the main reason of recognition is; it's open source and really straightforward. ● Simple ● Faster ● Interpreted ● Open source ● Case Sensitive ● Simplicity ● Efficiency ● Platform independent ● Security ● Flexibility ● Familiarity ● Error reporting ● Loosely written Language ● Real-time Access observation
  3. 3. What is the difference between HTML and PHP ? HTML PHP HTML is a mark-up language which is used to create web pages. It is the backbone of the front end development PHP is a server side scripting language which is an open source and popular among web developers who develop dynamic websites and web applications. HTML is static, it always remains same everytime we open. PHP files are dynamic and output will depend on the database contents and conditions applied in the code. HTML is easy to learn, even a small mistake in the tags will get auto adjusted by it. PHP is also easy to learn but mistake in code will populate error in HTML structure so PHP will relatively take more time to learn. SYNTAX <​html​ !DOCTYPE html> <​head​>​Title​</​head​> <​body​>​Hello World​</​body​> </​html​> <?php //php code here ?> HTML files can be saved as .html or .htm extensions PHP files require .php extension only.
  4. 4. Is PHP a dying language ? Ok, PHP was first appeared 24 years ago in 1995. It may not be the most effective or the foremost trendy programming language, however that doesn’t mean it’s dead, and it’s pretty tough to argue with the PHP statistics here… First off, let’s check out what W3Techs has got to say. According to W3Techs’ information, PHP is employed by 78.9% of all websites with a famous server-side programming language. therefore nearly eight out of each ten websites that you simply visit on the web are using PHP in some way, that leads us to this truth. Source: https://medium.com/@decodeweb/what-is-php-and-how-it-works-6ec64ec27c07 https://decodeweb.in/php/what-is-php/ https://decodewebin.blogspot.com/2019/06/what-is-php.html

×