PHP Mar/2015 Beginner’s workshop Rafael Pinto André Aleixo
André Aleixo PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Lead Developer at FixeAds Who are we? http://pt.linkedin.com/in/andrealeixo http://github.com/ajaaleixo ajaaleixo@gmail.com
Rafael Pinto PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Lead Architect at FixeAds Who are we? http://pt.linkedin.com/in/pintorafael http://github.com/pintorafael santospinto.rafael@gmail.com
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Programming Languages that you know? Who are you?
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 PHP has come a long way since its birth in the mid-1990's. From humble beginnings to becoming one of the most prominent languages powering the web, the evolution of PHP is a geek's fairy tale. history “ Source: php.net
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 facts
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 facts • Free • Open Source • Server-side language • Huge community support • Not pre-compiled language
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Client – Server workflow client server
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 PHP setup • HTTP Server (Apache) • Apache Modules (mod_php, etc) • PHP 5+ • Database Engine • And more +
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Web basics • HTTP • Sessions • Cookies • SQL Injection
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 PHP101 Index.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Syntax - types Index.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Syntax – Types (other) Index.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Syntax - functions Index.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Syntax - classes Person.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 class/function loading Index.phpPerson.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Conditions & loops Index.phpPerson.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 namespaces MyClass.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Class autoloading Index.phpMyAutoloader.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Class autoloading Index.phpMyAutoloader.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Super globals Index.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 DB access Index.php
PHP Beginner’s workshop - Rafael Pinto & André Aleixo – 2015 Exercises • Simple Hello World • Output HTML from file • Access request (GET and POST) parameter • Session handling • Data access with mysql • SQL injection avoiding • Simple login • CRUD operation • ALPHA usage  • http://github.com/alpha-php/alpha

PHP - Beginner's Workshop

  • 1.
  • 2.
    André Aleixo PHP Beginner’sworkshop - Rafael Pinto & André Aleixo – 2015 Lead Developer at FixeAds Who are we? http://pt.linkedin.com/in/andrealeixo http://github.com/ajaaleixo ajaaleixo@gmail.com
  • 3.
    Rafael Pinto PHP Beginner’sworkshop - Rafael Pinto & André Aleixo – 2015 Lead Architect at FixeAds Who are we? http://pt.linkedin.com/in/pintorafael http://github.com/pintorafael santospinto.rafael@gmail.com
  • 4.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Programming Languages that you know? Who are you?
  • 5.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 PHP has come a long way since its birth in the mid-1990's. From humble beginnings to becoming one of the most prominent languages powering the web, the evolution of PHP is a geek's fairy tale. history “ Source: php.net
  • 6.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 facts
  • 7.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 facts • Free • Open Source • Server-side language • Huge community support • Not pre-compiled language
  • 8.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Client – Server workflow client server
  • 9.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 PHP setup • HTTP Server (Apache) • Apache Modules (mod_php, etc) • PHP 5+ • Database Engine • And more +
  • 10.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Web basics • HTTP • Sessions • Cookies • SQL Injection
  • 11.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 PHP101 Index.php
  • 12.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Syntax - types Index.php
  • 13.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Syntax – Types (other) Index.php
  • 14.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Syntax - functions Index.php
  • 15.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Syntax - classes Person.php
  • 16.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 class/function loading Index.phpPerson.php
  • 17.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Conditions & loops Index.phpPerson.php
  • 18.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 namespaces MyClass.php
  • 19.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Class autoloading Index.phpMyAutoloader.php
  • 20.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Class autoloading Index.phpMyAutoloader.php
  • 21.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Super globals Index.php
  • 22.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 DB access Index.php
  • 23.
    PHP Beginner’s workshop- Rafael Pinto & André Aleixo – 2015 Exercises • Simple Hello World • Output HTML from file • Access request (GET and POST) parameter • Session handling • Data access with mysql • SQL injection avoiding • Simple login • CRUD operation • ALPHA usage  • http://github.com/alpha-php/alpha

Editor's Notes

  • #7 Server side language Open Source Huge community Fast learning (learning curve) Not pre-compiled language (interpreted)
  • #8 Server side language Open Source Huge community Fast learning (learning curve) Not pre-compiled language (interpreted)
  • #9 Server side language Open Source Huge community Fast learning (learning curve)
  • #10 Server side language Open Source Huge community Fast learning (learning curve)