SlideDeck.io – A repository of great HTML presentations
aft-php-introduction-slides
View Github Repository
Open presentation in a new window
phpleuven
See all presentation from phpleuven
aft-php-introduction-slides
0
0
aft-php-introduction-slides
Slides for the AFT-PHPLeuven PHP introduction
On Github
phpleuven / aft-php-introduction-slides
Introducing PHP
Personal Home Page / Forms Interpreter
PHP/FI 1 - By Rasmus Lerdorf released in 1995 (as old as you are!)
2.0 1997
3.0 1998
4.0 2004
5.0 2009
7.0 2015
PHP Hypertext Preprocessor!
FREE!
Loosely typed, interpreted at runtime, server side -language
No client installation needed
Procedural and Object Oriented
Not limited to, but commonly used to build web applications
Who uses PHP?
81,4% of the web runs PHP
Yahoo!
Facebook
Wikipedia
White house
How does PHP work?
Visitor Request
Server with PHP Response
The brain of the server
request received (URL and GET, POST, PUT, DELETE, ...)
access control (controller)
data written, read, validated (model)
response formed (200, 401, 500, ...) (view)
The brain of the server
response send
The response
html, xml, json, rss, ...
The response
How to write the code
Editors
Notepad
Nano
Notepad++
Sublime text
Eclipse, Aptana
PHPStorm
How to write the code
Frameworks
Silex (the one we will use today!)
Symfony
Zend
Slim
Lumen
Laravel
...
How to write the code
CMS
Drupal
Wordpress
October
Magento
...
More than code
Local user groups (PHP Leuven)
PHP Benelux
Conferences
PHPSTORM
Scenario
Web server is on remote host, files are accessible via FTP/SFTP/FTPS
Project
Project name: "workshop"
Deployment options: Custom
Deployment options
Upload changed files: On explicit save action
Parameters for server
Remote server root folder
Make "azure" the "Project Root"
Remote server root folder
Make "azure" the "Project Root"
Project web path
Leave it completely empty
Introducing PHP