PHP For Beginners - Lesson 1


1. PHP is available for Windows, Mac OS X, and Linux/Unix computers.
2. PHP is compiled only at runtime, effectively making it a scripted language.
3. You can include as many sections of PHP as you like in an HTML document.
4. You must place a $ character in front of all PHP variables.
5. PHP supports both procedural and object-oriented programming (OOP).
6. You should give PHP documents the file extension .php (although servers can be configured to use PHP with any file extension).
7. The five main browsers with which you should test your PHP programs are Microsoft Internet Explorer, Apple Safari, Google Chrome, Mozilla Firefox, and Opera. You should also test your programs on tablets and mobile devices, too, if your target market uses them.
8. You can write and edit PHP programs using a plain text editor, but for better control and handy development tools you may prefer to use a program editor, or an integrated development environment (IDE).
9. There are several PHP server suites (also known as stacks) on the Internet. I recommend XAMPP, which is easy to download, install, and use right away.
10. After installing a web server such as Apache (included with XAMPP), your PHP files should be placed in its document root folder, whose location will vary according to operating system.

PHP For Beginners - Lesson 1

No comments:

Post a Comment