Introduction To Web Programming
Introduction To Web Programming
Objectives:
1. Discuss the relevance of knowing the Web based programming.
2. Installing local server and creating the first PHP program.
What is Website?
Website is composed of webpage document which include
information.
What is PHP programming?
PHP-PHP: Hypertext Preprocessor is a standard programming
language use to create a dynamic webpage.
Developed by Rasmus Lerdorf in 1994
PHP program is executable in SERVER.
Facebook is an example of website written in PHP.
What is SERVER?
Is one who accept the client request or needs. PHP is scripting
language that executable in server that’s why we need a server to
your computer.
Most example of server is IIS(Internet Information Service) and
Google Data Server but this server is PAYABLE, in the other hand
there’s a free server that can be install to your computer which
called local server.
XAMPP is the free and most common local server that we will going
to install in our personal computers. Download it and install.
IDE-Integrated Development that use in writing the code in PHP is
text editor like Notepad, Notepad ++, Sublime etc.
The output of PHP can be display or seen in the browser
like google chrome, Mozilla firefox, Opera and Safari.
<?php
echo”HELLO world:;
?>
PHP syntax enclosed in <?php open tag and ?>
Close tag see the example above: echo syntax means displaying the
output.
-PHP is also compatible in any Operating System
Create your own PHP program that display your Name and
Grade and Section. Write your code in a piece of paper