FAST PHP Tutorial (Part 1)

Preface:

I had received many requests from many newbies and my main website i.e http://www.fastcreators.com/ users to write some solid articles to help newbies to get  quick start with PHP. I have had written some articles on PHP on different websites but now I have decided to start a brand new series of PHP Tutorials by the name “Fast PHP Tutorial” in which I will start teaching PHP from scratch and will go to the extreme limit of PHP programming including its working with other tools like XML, cURL, AJAX, SOAP and WSDL etc.

Fast PHP Tutorial Series Articles:

I have created an especial category for Fast PHP Tutorial Articles here and you can follow all articles by that category. I will be posting all related articles under that category. A new article is supposed to be publish every 24 hours but please don’t get mad if I fail to write some any day as I remain very busy with my web projects and I am writing this series of PHP Articles volunteerly.

Request To Publishers:

The sole purpose of this PHP tutorial series is to teach new php developers the best techniques quickly and to help beginners get around with php coding. Illegal and unauthorized publishing of this Fast PHP Tutorial Series is prohabited. If you want to publish my tutorials on your website and or in printed form then please take written Permission from me.

Lets get started,

Birth Of PHP:

In 1995 Rasmus Lerdorf made a set of scripts based on PERL to access his resume and named it as PHP / FI stands for Personal Home Page / Forms Interpreter. In 1997 Rasmus released PHP / FI 2.0 with a large C-implementation and it received rapid fame due to its ease of use and C like syntax as it was easy for C programmers to adopt and its programming rules were compartively simple than C language. After some beta versions of PHP / FI 2.0 finally Alpha PHP 3.0 was released later.

In 1997 Andi Gutmans and Zeev Suraski worked together with Rasmus to completey rewrite the language and introduce a more powerful language known as PHP 3.0. Shortly after PHP 3.0 in 1998 PHP 4 came on the screen with improved performance for complex applications and in 2004 finally PHP 5.0 was released with a new object model and plenty of new features.

If you want to get more information on PHP history then please visit http://www.zend.com/zend/future.php 

PHP Certification:

Yes, like CCNA for CISCO, MCSE for Microsoft and RHCE for Redhat linux Zend (derived from Zeev and Andi names and the company that is responsible for PHP development) offers ZCE (Zend Certified Engineer) certification.  It is very easy to apply for and fairly affordable too.

You have to buy a Certification Voucher first that costs US$ 125 (at the time of writing this tuorial) then you can schedule your online exam in your nearest Authorized PHP Examination Centre and can conduct exam. Zend also provide a Examination Guide that increases your chances to pass the exam for US$ 32.99 and you can also get online Zend training for US$ 599.

To get full information on other ZCE please visit Zend Offiical Site http://www.zend.com/education/zend_php_certification

Now lets move further with our FAST PHP Tutorial and answer the most common questions that a new PHP user can ask.

What is PHP? 

PHP , now, stands for Hypertext Preprocessor and is a server-side scripting language. Please remember that there are two types of scripting languages on web ,

a) Client Side: the languages that helps you perform different tasks on the client side for example Javascript helps you to validate your forms and show message accordingly to your users without submitting page to your server on the client side. VB Script and Client Side XSLT are other examples.

b) Server Side Languages:

Server side langauges make your website dynamic and intellegent. You can take input from your users and can perform certain operations on the input to generate desired output. For example Online Shopping Stores, Online Examination Applications, Online Reservation Systems, Database driven websites are a few examples of the applications powered by Server Side Languages.

PHP is a server side language and it helps you to make your site intellegent  to provide dynamic features to your users. Other examples of server side languages are ASP, PERL, Cold Fusions and Server Side Java etc.

Why PHP?

If you are still confused that why you should use PHP then answer is very straight forward - if you want to make a web application that can take input from users and can process it to generate certain output then you will need PHP to work for you on server side and response to different events generated from client side accordingly. For example if you want to make an Online Shopping Store for your Video Games business where people can browse different categories of games and can shop of their choice and finally can pay you online in real time.

What do I need to make PHP based Applications?

PHP is a server side scripting language so your users don’t need any software to install however you should have PHP installed on your server where you are going to host your website. PHP support is mentioned as a shared-hosting feature on different web hosts and if you have a dedicated server then you may need to ask your server Administrator to setup PHP for you. Latest version of PHP is 5.2.0 that is released a few weeks ago from the time writing this tutorial.

Fast PHP Tutorial (Part 2):

Today we discussed the History, background and use of PHP and by now you should feel yourself friendly with PHP. In Fast PHP Tutorial Part 2 I will show you how to install PHP on Windows and Linux systems and how to setup your web server to execute your PHP code  on your PC. Also we will discuss some very useful technical terms that one must know as a PHP developer.

 

 

2 Comments

  1. Articles Repository » Blog Archive » Loops in PHP said,

    January 20, 2007 at 11:55 pm

    […] FAST PHP Tutorial (Part 1) How to Install PHP on Windows (Fast PHP Tutorial Part 2) How To Install PHP On LinuxHow To Install Apache on WindowsEasy Installers to Install PHP, MySQL, Apache on Windows PHP Programming BasicsOperators in PHPDecision Making using IF-ELSE in phpDecision Making using PHP Switch Statement […]

  2. Articles Repository » Blog Archive » Detailed Guide To Arrays In PHP said,

    January 29, 2007 at 1:13 pm

    […] FAST PHP Tutorial (Part 1) How to Install PHP on Windows (Fast PHP Tutorial Part 2) How To Install PHP On Linux How To Install Apache on Windows Easy Installers to Install PHP, MySQL, Apache on Windows PHP Programming Basics Operators in PHP Decision Making using IF-ELSE in php Decision Making using PHP Switch Statement Loops In PHP […]

Post a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word