Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to PHP Sergey Gorstka Fastw3b. What does PHP stand for? Partnership for Peace People Helping People Power Hybrid Package Hypertext Processor.

Similar presentations


Presentation on theme: "Introduction to PHP Sergey Gorstka Fastw3b. What does PHP stand for? Partnership for Peace People Helping People Power Hybrid Package Hypertext Processor."— Presentation transcript:

1 Introduction to PHP Sergey Gorstka Fastw3b

2 What does PHP stand for? Partnership for Peace People Helping People Power Hybrid Package Hypertext Processor

3 What is PHP? PHP is a server-side scripting language PHP supports many databases PHP is an open source software PHP is free to download and use

4 When was PHP designed? Just before Joomla was released In 19th century Right after Joomla was released In 1994.

5 Who designed PHP? Eminem Johnny English Rasmus Lerdorf Bruce Willis

6 Does it get you any further in using PHP?

7 First application Get a server Install PHP Create some php file (index.php) Write your code Upload it Execute the file Don’t forget about security

8 Example 1

9 Example 2 <?php /* * File: hellojdayuk.php * Session: Introduction to PHP * Event: Joomla Day UK * Date: 24 September 2011 * Author: Sergey Gorstka*/ ?> …

10 PHP class A class is a collection of variables and functions working with these variables. Variables are defined by var and functions by functions. <?php class Cart { var $items; function add_item(…) { … } function remove_item(…) { … } } ?>

11 Helpful Joomla! PHP classes JText JRequest JArrayHelper JURI JHTML JMenu JRouter JApplication JFactory

12 Where you can use basic PHP knowledge? Ask a question Understand books, forums, articles, videos Read the code Tweak templates Tune modules Alter component views Go to the next level

13 Thank you for your attention! Special thanks to Fastw3b team and Gregory Palchikovsky You can always reach me at ceo@fastw3b.net ceo@fastw3b.net Please send your questions/comments/ideas!


Download ppt "Introduction to PHP Sergey Gorstka Fastw3b. What does PHP stand for? Partnership for Peace People Helping People Power Hybrid Package Hypertext Processor."

Similar presentations


Ads by Google