Getting Started with PHP

Naman Gupta
2 min readDec 4, 2018

--

Hey everyone!!!

Without wasting any time let’s get you started with PHP.

What is PHP?

PHP (recursive acronym for PHP: Hypertext Preprocessor, which by the way doesn’t make much sense) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Why PHP?

PHP is a general-purpose language best suited to server-side web development. But, today PHP has grown into something that can do much more. WordPress is one of the best examples for this.

Is PHP a dying language?

If you are new to the world of Web-Dev you must have heard that “PHP is a dying language?”

Now, this question needs to be answered before going ahead, because if PHP is really dead then there is no need to go ahead with this guide.

So, first of all, what is a dying language? A programming language can go one of two ways: First, stay in use despite its falling popularity or Second, run out of applications entirely. That being said, yes, PHP’s popularity is falling down with Python and Javascript trying to capture the world, but it is nowhere near being dead. You ask why? Because these are the Google results for the websites and applications that are still running on PHP:

This makes it clear that PHP is not yet dead. But the fact that PHP is losing its popularity. So for using PHP in competition to other languages, you need to explore the language to the fullest.

How to get started with PHP?

Pre-Requisites

PHP is a server-side language so you need to be familiar with frontend development, i.e., HTML and CSS. Also if you want to use database functionalities you can learn SQL, which is considered best suited to PHP.

Resources

  1. https://www.w3schools.com/php/
  2. https://www.youtube.com/watch?v=qVU3V0A05k8&list=PL0eyrZgxdwhwBToawjm9faF1ixePexft-
  3. https://websitesetup.org/php-cheat-sheet/

CRUD Project

Once you feel confident with all this you can try exploring this CRUD (Create, Read, Update, Delete) Project.

https://github.com/naman-gupta99/PHP-Starter-Project

--

--

Naman Gupta
Naman Gupta

Written by Naman Gupta

SDE-2 at Navi Technologies, Web Developer and Self-Driving Cars Enthusiast

No responses yet