So you would like to learn PHP, the popular scripting language used to run countless websites?
When PHP first came out it originally stood for Personal Home Page. Over 10 years ago, 1994 to be exact, a man named Ramus Lerdorf created PHP to track visitors who viewed his online resume. As time progressed and PHP's features were expanded on, it got a new name: PHP: Hypertext Preprocessor.
PHP allows you to embed PHP code directly into HTML web pages. HTML is the markup language web pages use to display content to the user. PHP is a scripting language and not a programming language.
PHP is also a server-side technology. What this means is that PHP handles all tasks on the server and outputs as HTML. A web visitor would not be able to tell if the web page was written in PHP since all the code the web browser has is HTML. The opposite to servier-side is client-side technology. All those nifty mouseovers, browser-resizing, etc... features are handled on the users browser (i.e the client) via JavaScript. The nice thing about PHP is you can send JavaScript code to the browser all while using PHP.
Another benefit of PHP is that it is cross-platform. Meaning it runs on all sorts of operating systems. PHP can work with Linux, Windows, Mac OSX, any BSD variant, Solaris, etc... Again, we are talking about the server's operating system, not the client's. This means you don't have to worry about whether or not the user has "X" feature enabled on their browser. All the code is interpreted before the user has a chance to see it.
The differences between these three types of languages are:
There are countless reasons to use PHP, although a few popular reasons are:
This guide makes a few basic assumptions about the knowledge of the reader.
So let's get started shall we?
Comments
Post new comment