PHP - History, Introduction, Summary, Extensions and Frameworks

5,014 views
4,862 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
5,014
On SlideShare
0
From Embeds
0
Number of Embeds
49
Actions
Shares
0
Downloads
63
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

PHP - History, Introduction, Summary, Extensions and Frameworks

  1. 1. PHP : Hypertext Preprocessor By Royston Olivera Xoriant Solutions www.roystonolivera.com
  2. 2. Background and History <ul><li>C not for Web </li></ul><ul><ul><li>Very clunky to program </li></ul></ul><ul><ul><li>No pre-written code </li></ul></ul><ul><li>PERL - Practical Extraction and Report Language </li></ul><ul><ul><li>Generic text processing language </li></ul></ul><ul><ul><li>Large number of built-in functions </li></ul></ul><ul><li>PERL being PERL-centric </li></ul><ul><ul><li>Embed HTML inside Perl script </li></ul></ul>
  3. 3. Introducing PHP <ul><li>PHP - Personal Home Page </li></ul><ul><li>PHP 3 - PHP : Hypertext Preprocessor </li></ul><ul><li>PHP 4 - The Zend Relationship and </li></ul><ul><li>Web Server Abstraction </li></ul><ul><li>PHP 5 - Language Maturity </li></ul>Rasmus Lerdorf Zeev Suraski Andi Gutmans
  4. 4. Summarizing PHP <ul><li>The HTML relationship </li></ul><ul><li>Interpreting versus Compiling </li></ul><ul><li>PHP is fast, capable, extendable, reliable </li></ul><ul><li>and advancing </li></ul><ul><li>When to and not to use PHP? </li></ul>
  5. 5. Extending PHP & Frameworks <ul><li>PHP Extensions </li></ul><ul><ul><li>Core Extensions </li></ul></ul><ul><ul><li>Bundled Extensions </li></ul></ul><ul><ul><li>PECL - PHP Extension Code Library </li></ul></ul><ul><ul><li>Third Party Extensions </li></ul></ul><ul><ul><li>DIY - Do It Yourself </li></ul></ul><ul><li>Frameworks </li></ul><ul><ul><li>CakePHP, PRADO, Symfony and Zend Framework </li></ul></ul>
  6. 6. Future of PHP <ul><li>Unicode </li></ul><ul><li>Namespace </li></ul><ul><li>APC – Alternate PHP Cache in the core </li></ul><ul><li>Function cleanup </li></ul>
  7. 7. Applications built using PHP <ul><li>User-facing portion of Facebook, Wikipedia (Mediawiki), Yahoo!, MyYearbook and Tagged. </li></ul><ul><li>Significant number of Content Management Systems including Wordpress, Joomla and Drupal </li></ul><ul><li>Other Important Websites: </li></ul><ul><ul><li>www.naukri.com </li></ul></ul><ul><ul><li>www.jeevansathi.com </li></ul></ul><ul><ul><li>www.shaadi.com </li></ul></ul><ul><ul><li>www.ibnlive.com </li></ul></ul><ul><ul><li>www.mtvindia.com </li></ul></ul><ul><ul><li>www.makaan.com </li></ul></ul><ul><ul><li>www.gaiaonline.com </li></ul></ul><ul><ul><li>www.education.com </li></ul></ul>
  8. 8. Getting Started… <ul><li>Download Apache and PHP </li></ul><ul><ul><li>www.apache.org & www.php.net </li></ul></ul><ul><li>XAMPP Package </li></ul><ul><ul><li>http://www.apachefriends.org/en/xampp.html </li></ul></ul><ul><li>Traditional first program </li></ul><ul><li><? echo “Hello World!” ; ?> </li></ul><ul><li>Extract Username & Domain from an Email ID </li></ul><ul><li><? $email_id = “contact_us@isaac08.info” ; </li></ul><ul><li>list ( $username , $domain ) = explode( “@” , $email_id ); </li></ul><ul><li>echo “Username is ” . $username . ” and Domain is ” . $domain ; ?> </li></ul>

×