Your SlideShare is downloading. ×
Introduction to PHP (Casino Affiliate Convention 2008)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Introduction to PHP (Casino Affiliate Convention 2008)

1,628
views

Published on

Short introductory session on PHP, PHP projects and tools. Presentation held at the Casino Affiliate Convention 2008 in Amsterdam

Short introductory session on PHP, PHP projects and tools. Presentation held at the Casino Affiliate Convention 2008 in Amsterdam

Published in: Technology

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,628
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. An introduction to PHP Ivo Jansch <ivo@ibuildings.com> Casino Affiliate Convention 2008 - Amsterdam
  • 2. About me
    • CTO at Ibuildings
      • Development using PHP (websites, applications)
      • Big projects (high traffic, multi-tier, clusters, high availability, large teams)
      • Consultancy (training, audits)
      • Partner of Zend Technologies
      • European focus (from offices in NL and UK)
    • Geek!
      • Author of several Open Source projects
      • Interested in PHP, Web 2.0, Science
    Tuesday, February 26, 2008
  • 3. What is PHP?
    • PHP: Hypertext Preprocessor
    • Open Source web scripting language
    • Created in 1994
    • Backed by Zend
    • Syntax inherited from C, Java, Perl
    • Powerful, flexible, easy to learn
    Tuesday, February 26, 2008
  • 4. PHP History # PHP Internet Domains 20M 15M 10M 5M Rasmus Lerdorf Introduces PHP/FI Zeev Suraski, Andi Gutmans lead development of PHP 3 PHP 4 Released
    • 1M Internet domains
    • Zend Engine
    • Zend Founded
    Yahoo! Standardizes on PHP
    • PHP 5.0
    • XML, SOAP, OOP
    • Zend Studio
    IBM, Oracle Endorse PHP 1995 1997 1999 2000 2002 2004 2005 2006 > 20M domains
  • 5. Who is using PHP? Tuesday, February 26, 2008
  • 6. Who’s supporting it? Tuesday, February 26, 2008
  • 7. Why use PHP?
    • Used by more than 25 million domains
    • Open Source
    • Documentation
    • Platform independent (Linux, Windows, Unix, …)
    • Backed by Zend and others
    • Easy to learn
    • Versatile
    • Short time-to-market
    Tuesday, February 26, 2008
  • 8. Why use PHP
    • Example of easy syntax:
    Tuesday, February 26, 2008
  • 9. Available CMS systems
    • Joomla
      • http://www.joomla.org
    • Drupal
      • http://www.drupal.org
    • ezPublish
      • http://ez.no/ezpublish
    • Typo3
      • http://www.typo3.org/
    Tuesday, February 26, 2008
  • 10. Other useful PHP software
    • Blog - Wordpress
      • http://wordpress.org
    • Forum - vBulletin
      • http://www.vbulletin.com
    • Wiki – Mediawiki
      • http://www.mediawiki.org
    • CRM – SugarCRM
      • http://www.sugarcrm.com
    • Template engine – Smarty
      • http://smarty.php.net
    Tuesday, February 26, 2008
  • 11. PHP Frameworks
    • Why use a framework?
      • Don’t reinvent the wheel
      • Good programmers are lazy
      • Even quicker time to market
      • Provides structure
      • Proven concepts
    Tuesday, February 26, 2008
  • 12. PHP Frameworks
    • Zend Framework
      • http://framework.zend.com
      • Component framework
      • “ Use at will architecture”
    • Symfony
      • http://symfony-project.org
      • Full Stack framework
      • Doesn’t reinvent the wheel
    • ATK
      • http://www.achievo.org/atk
      • Backend framework
      • Code minimization
    Tuesday, February 26, 2008
  • 13. Useful tools
    • Eclipse PDT
      • http://www.zend.com/en/community/pdt
    Tuesday, February 26, 2008
  • 14. Useful tools
    • Zend Studio
      • http://www.zend.com/studio
    Tuesday, February 26, 2008
  • 15. Useful tools
    • Zend Platform
      • http://www.zend.com/platform
    Tuesday, February 26, 2008
  • 16. PHP powers Web 2.0
    • AJAX
    • XML
    • Web Services
      • SOAP
      • REST
    Tuesday, February 26, 2008
  • 17. Common misconceptions
    • “ PHP is for hobbyists”
      • Low learning curve
      • Proper software engineering => proper quality
    • “ PHP is insecure”
      • PHP is a language; it’s the programmer that implements security
    • “ PHP is not a real language”
      • It’s a scripting language; but a powerful one
    Tuesday, February 26, 2008
  • 18. Important guidelines
    • Don’t mix HTML with code
      • Template Engines
      • MVC (Model, View, Controller)
    • Learn Object Oriented programming
      • Cleaner code
      • Improved code reuse
      • More robust applications
    • Keep security in mind
      • Don’t ever trust user input
      • Sanitize output
    Tuesday, February 26, 2008
  • 19. Resources
    • The official PHP website
      • http://www.php.net
    • Learn from the PHP community
      • http://planet-php.net
      • http://phpdeveloper.org
    • Zend
      • http://www.zend.com
    • Ibuildings
      • http://www.ibuildings.com
    • My blog
      • http://www.jansch.nl
    Tuesday, February 26, 2008
  • 20. Questions? http://www.slideshare.net/ijansch http://www.ibuildings.com [email_address] Two slides were adapted (with permission) from Bruno Pedro’s “PHP and Webservices” presentation. (http://slideshare.net/bpedro)