Brief Introduction to PHP Programming Language For Beginners
Objective of the
post Brief Introduction to PHP Programming Language For Beginners is to provide beginners as well as
professionals a ready reckoner of PHP. We will try to provide
the necessary knowledge of PHP Programming by this post.
Introduction To PHP Programming Language
In today's time knowledge of HTML is not enough to develop good webpages.We can develop only static webpages. But now a days the user need much more than
that. User needs that which can virtually interact with it or the website which
can communicate as well as fulfill all the demands of the user and also looking
dashing page means more decorative page.
All the above can be possible because of the one major thing that is –“PHP Programming Language”
Moreover Along with PHP you have to
gain the knowledge of CSS and Javascript ...
Brief Introduction to PHP Programming For Beginners |
Big Question- WHAT IS THIS PHP PROGRAMING ?
PHP stands for recursive backronym called as hypertext pre-processor.
This is the open source software and it is
easily available. PHP stands for hypertext processor.
PHP
is used for creating,designing website. Basically, PHP is a web
server-side scripting language.
In PHP the scripts are executed
at the web server and their output comes in requesting browser that may be
internet explorer,google etc.
For executing PHP in system we
need web-servor in which we executes apache and sql for using PHP
language.
Infact PHP can connect many database engines such as my sql,
oracle, postgre, Sqlite etc.
Now a days PHP is widely used for
creating interactive, needed websites
and E-commerce or driven websites are crafting by the use of only PHP.
In HTML only structure of website is created and database is not required but
in PHP
data is stored in database.
Basically, If I Say PHP
Programming
is programming
which deals with the Server or which do the Server side Scripting.
WHAT IS THIS SERVER SIDE MEANS?
Server side means that
when the website fetches and store the date from the web server…
Now u
can understand why you have the need of leaning PHP programming…
Now lets us start talk
about PHP programming…
HISTORY OF PHP Programming Language
PHP COMES TO AN EXISTENCE IN 1994
AS IT IS A PRIVATE PROJECT OF RASMUS LERDORF…ACTUALLY RASMUS LERDORF IS
CALLED AS THE FATHER OF PHP…WHO HAD CREATED A SERIES OF PERL SCRIPTS
WHICH IS KNOWN AS THE "PERSONAL
HOME PAGE" FOR THE PRESERVATION OF HIS OWN WEB PAGE.
In 1995 these tools were
packaged and released as CGI binaries as the "Personal Home Page/Forms
Interpreter", which included support for web forms and communication with
databases.
VERSIONS OF PHP Programming Language
1.) THE FIRST VERSION OF THIS GRANT LANGUAGE WAS
PHP/FI WHICH COMES IN 1995.
THE FULL FORM OF
THE PHP/FI IS PERSONAL
HOMEPAGE TOOLS/ FORM INTERPRETER.
2.)
NOW TO OVERCOME THE FLAUS OF THE PHP/FI
WITH PHP/FI 2 full form is PERSONAL HOMEPAGE TOOLS/ FORM INTERPRETER-2.
3.)
NOW, THE NEXT VERSION NAME IS PHP-3
4.)
THAN AGAIN COMES THE NEXT
VERSION NAMED AS PHP-4.
WHERE TO USE...
*
By using PHP PROGRAMMING
we can perform basic opertionslike
create, open, read, write, and close files.
*
if you want to modify existing database you can easily
create,add,modifyyour database by using PHP PROGRAMMING.
*
Using PHP PROGRAMMING,
you can restrict users to access some pages of your website.
All PHP
code must be included inside one of the three special markup tags :-
Advantages of PHP Programming Language
# COST EFFECTIVE :-- As PHP is open source
and easily available Programing
language. So it makes Cost
effective.
# PLATFORM INDEPENDENT:-- One of the main advantage of PHP
Programing is that it can work on any platform whether it is window or it linux
or any other.
#RISKLESS :--PHP programing Supports many
layers which can supposed to be very riskless.
# EASILY CONNECTS WITH DATABASE :- One of the essential feature of PHP
Programing is that it can support connectivity with all the major database such
as MYSOL, PLSQL , ORACLE, ETC….
# GREAT GUI :-- As User Wants much more than Simple
user Interface so PHP provides the best Graphical User Interface………….
READY TO GO…
Now
after reading all the above material you
are ready to go…
SO,THE BASIC SYNTAX OF PHP IS…
#SYNTAX OF PHP:---
<? PHP
----------
-------------
?>
# WHERE TO PUT THE PHP PROGRAMMING CODE….
The
PHP
script can be put under body tag or under the head tag. The script start
with <?PHP and closed with the ?> tag.
Post Contributed By: Shivam Prabhakar, Rudrax and Rashmi.
Post Contributed By: Shivam Prabhakar, Rudrax and Rashmi.