PHP Introduction#

Background Information#

Original Name: Personal Home Page

Now: PHP: Hypertext Preprocessor

Created by Rasmus Lerdorf in 1994

Official website: www.php.net

Open Source Project

Why Use PHP#

  • PHP is to learn and use.

  • Written specifically for dynamic web page creation

  • It’s free

  • Multi-platformed

  • It’s the most popular language in use.

PHP Version#

Version 8

  • Note Version 4 is not compatible with versions 5+

    • Scripted language

    • There is no version 6

  • It often works in conjunction with Javascript (client side)

    • Server Side Program –

  • PHP only performs actions on the server.

    • Cross-Platformed

  • Runs on Unix, Windows, Apple, and other operating systems

PHP Alternatives#

  • CGI Scripts (Common Gateway Interface – usually written in Perl)

  • ASP.NET – Microsoft and runs on an IIS server

  • ColdFusion - Adobe

  • JSP – Java Server Pages

  • Ruby on Rails

How It Works#

PHP Web Servers#

Editors#

  • NetBeans

  • Adobe Dream Weaver

  • PSPad, Notepad++

  • Textwrangler

  • Mac

  • VS Code

  • Your favorite highlighter

MySQL#

MySQL is (as of March 2014) the world’s second most[a] widely used open-source relational database management system (RDBMS). It is named after co-founder Michael Widenius’s daughter, My. The SQL phrase stands for Structured Query Language.

The MySQL development project has made its source code available under the terms of the GNU General Public License, as well as under a variety of proprietary agreements. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation.

https://en.wikipedia.org/wiki/MySQL

MariaDB#

MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system (RDBMS), intended to remain free and open-source software under the GNU General Public License. Development is led by some of the original developers of MySQL, who forked it due to concerns over its acquisition by Oracle Corporation in 2009.[6]

MariaDB is intended to maintain high compatibility with MySQL, with library binary parity and exact matching with MySQL APIs and commands, allowing it in many cases to function as drop-in replacement for MySQL. However, new features are diverging.[7] It includes new storage engines like Aria, ColumnStore, and MyRocks.

MariaDB is named after Widenius’ younger daughter, Maria.

https://en.wikipedia.org/wiki/MariaDB