DEV Community

Mikoyoarts
Mikoyoarts

Posted on

2 2

Getting Started with PHP for WEB

What is PHP:
PHP stands for Hypertext Preprocessor. It is an open source server side programming language which is used to create responsive and interactive web pages and websites. PHP is used to write and execute scripts on web servers. A PHP script can contain HTML, CSS and JavaScript codes and when the script is to be saved, it is saved with a .php extension.

PHP Web Architecture:
PHP codes are executed on a web server after which the result of the executed code is returned in html format i.e. when a user makes a request that is interactive or responsive in nature, php takes that request to the web server and looks for the particular script that is to process such a request and after the request is being processed, its result is returned to the user in html format.

Overview of PHP Platform:
PHP can be used to generate dynamic page content, create, open, read, write, delete, and close files on the server. It can also be used to collect form data, can send and receive cookies, modify data in a database, control user-access and can also enable a user to encrypt data.

Origin of PHP in the Open Source Community:
PHP was developed by Rasmus Lerdorf and it's first version was released in 1994. It started out as a small open source project that transformed over time as more and more people found out how useful it was.

Why we use PHP?:
PHP runs on multiple platforms such as (Windows, Linux, Unix, Mac OS X, etc.), it is compatible with almost all servers used today (Apache, IIS, etc.), it supports a variety of databases, it is free to use and very easy to learn.

PHP's Strengths:
It is used by "WordPress", the core of the biggest blogging system on the web.
It is deep enough to run "Facebook", the largest social network on the web.
It is very easy for a beginner to learn as his/her first server side programming language.

Installing as a module for Apache Web Server:
Apache web server is an open source web server which is widely used on the web toady. it comprises of a number of software technologies, thereby making it easy for web developers to just download and use the Apache software bundle without going through the stress of configuring the individual software's they need for their web development. It comprises of a number of software's among which are PHP, My SQL, Maria DB and many more...

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

While many AI coding tools operate as simple command-response systems, Qodo Gen 1.0 represents the next generation: autonomous, multi-step problem-solving agents that work alongside you.

Read full post →

Top comments (2)

Collapse
 
syntaxseed profile image
SyntaxSeed (Sherri W)

PHP is much more than a scripting language these days. And modern PHP developers do not have JS & HTML within their PHP application code.

There are many robust PHP frameworks which follow SOLID principals & use best design practices.

It is not the language it was 5 or 10 years ago.

Collapse
 
mikoyoarts profile image
Mikoyoarts

Thanks for the update, I want to dive into PHP fully. Are you good with php, if yes how can you help me.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay