SlideShare a Scribd company logo
1 of 149
Download to read offline
PHP PRESTA?
ENTÃO PROVE
ZAEDY SAYÃO @zaedysayao
PHP...
...
NÃO
PRESTA
É RUIM
É UMA
DROGA
É COISA DE
SOBRINHO
É COISA DE
AMADOR
É COISA DE
NOOB
É IMATURO
NÃO TEM OO
NÃO TEM
TRY/CATCH
NÃO TEM AMBIENTE
DECENTE DE
DESENVOLVIMENTO
NÃO TEM
TESTES
NÃO ESCALA
NÃO TEM
PADRÃO
É FÁCIL
DEMAIS
NÃO PERMITE
USAR DESIGN
PATTERN
VAI MORRER,
VAI ACABAR
É INSEGURO
É BUGADO
SÓ SERVE
PARA FAZER
BLOG
NÃO TEM
ORM
TEM QUE
FAZER TUDO
NA MÃO
SÓ SERVE
PARA FAZER
SITEZINHO
PHP PRESTA?
ENTÃO PROVE
ZAEDY SAYÃO @zaedysayao
Zaedy Dantas Sayão
@zaedysayao
@javamanrj
@javamanrj
@WORKS
http://about.me/zaedy
#1
OOP
#1
2006
#1
HERANÇA
#1
INTERFACE
#1
TRAITS
#1
SOBRECARGA
#1
VISIBILIDADE
#2
TRY
CATCH
#2
<2004
#3
AMBIENTE DE
DESENVOLVIMENTO
#3
NETBEANS
#3
ECLIPSE
#3
APTANA
#3
ZEND
STUDIO
#3
PHP
STORM
#3
XDEBUG
#3
VAGRANT
#3
BUILD
AUTOMÁTICO
#3
PHING
#3
CAPISTRANO
#3
#3
#3
USE
TDD
#4
É DESIGN
#4
FAZER TESTES
NÃO É FAZER
TDD
#4
PHPUnit
#4
MOCKERY
#4
SimpleTest
#4
CodeCoverage
#4
#4
INTEGRAÇÃO
CONTÍNUA
#4
JENKINS
#4
PHPCI
#4
BDD
#4
PHPSpec
#4
BEHAT
#4
CODEEXCEPTION
#4
MINK
#4
SELENIUM
#5
ESCALABILIDADE
#5
APC
#5
XCACHE
#5
MEMCACHED
#5
REDIS
#5
MONGO
#5
NÃO USE
AUTOLOAD!
#5
SIM, __autoload É
RUIM! (RASMUS)
#5
PONTEIROS
#5
FUNÇÕES
NATIVAS
#5
VARNISH
#6
FRAMEWORKS
#6
FAÇA O SEU
#6
JOGUE FORA
#6
USE UM DO
MERCADO
#6
CONSTRUA O
SEU BASEADO
EM UM DO
MERCADO
#6
LEIA O
CÓDIGO
#6
#7
PADRÕES
#7
FIG
FRAMEWORK
INTEROP GROUP
#7
PSR’s
PHP STANDARDS
RECOMMENDATION
#7
MEU PADRÃO
É MELHOR
#7
NÃÃÃÃÃ
#7
ÃÃÃÃÃÃ
#7
ÃÃÃÃÃÃ
#7
ÃÃÃÃÃÃ
#7
ÃO.
#7
VOCÊ NÃO
É MELHOR
#8
FACILIDADE
FRACO
#8
#8
A LINGUAGEM
NÃO TEM
CULPA
#8
#9
DEPENDÊNCIAS
#9
#9
PEAR
#10
VAI ACABAR
#10
75% DA WEB
BY GOOGLE
#10
GOOGLE APP
ENGINE
#11
PATTERNS
#11
DECORATOR
FACADE
FACTORY
NAMESPACE
SINGLETON
OBSERVER
COMPOSITE
STRATEGY
DI
PROTOTYPE
ADAPTER
POR AÍVAI
#12
ORM
#12
DOCTRINE
#12
PROPEL
#12
REDBEAN
#12
PDO
#13
CMS
#13
PHP É RUIM
MAS...
#13
... USA
WORDPRESS!
#13
WORDPRESS
#13
JOOMLA!
#13
DRUPAL
#13
ATUALIZE
#14
SEGURANÇA
#14
NOVA API DE
HASH
#14
DEPENDE DE
VOCÊ
PROBLEMA ESTÁ EM
VOCÊ
GANHAR
MAIS??
SAIA DA ZONA DE
CONFORTO
OUTRAS
LINGUAGENS
#1
.NET
JAVA
RUBY
PYTHON
PERL
SCALA#1
FACEBOOK
#2
RELATÓRIOS
#3
DOCUMENTAÇÃO
#4
SOBRINHOS!!!!
PHPDOC
#4
DESACOPLAMENTO
#5
MVC
#5
TEMPLATE
ENGINE
#5
MÉTRICAS
#6
PRODUTIVIDADE
#6
RESOLVE OS
PROBLEMAS
#7
MANUTENÇÃO
#8
NEGÓCIO
#9
GTK
#10
OBRIGADO!
@zaedysayao

More Related Content

More from javamanrj

Como fazer uma aplicação com Sencha Touch e Phonegap - Mobile Conf 2014
Como fazer uma aplicação com Sencha Touch e Phonegap - Mobile Conf 2014Como fazer uma aplicação com Sencha Touch e Phonegap - Mobile Conf 2014
Como fazer uma aplicação com Sencha Touch e Phonegap - Mobile Conf 2014javamanrj
 
Desenvolvendo Jogos com HTML5
Desenvolvendo Jogos com HTML5Desenvolvendo Jogos com HTML5
Desenvolvendo Jogos com HTML5javamanrj
 
Construindo aplicações Desktop com HTML, CSS e JS - Rio.JS Conference 2013
Construindo aplicações Desktop com HTML, CSS e JS - Rio.JS Conference 2013Construindo aplicações Desktop com HTML, CSS e JS - Rio.JS Conference 2013
Construindo aplicações Desktop com HTML, CSS e JS - Rio.JS Conference 2013javamanrj
 
Palestra Sencha Touch + Phonegap
Palestra Sencha Touch + PhonegapPalestra Sencha Touch + Phonegap
Palestra Sencha Touch + Phonegapjavamanrj
 
Palestra sobre Sencha Touch + Phonegap
Palestra sobre Sencha Touch + PhonegapPalestra sobre Sencha Touch + Phonegap
Palestra sobre Sencha Touch + Phonegapjavamanrj
 
Workshop ExtJS4
Workshop ExtJS4Workshop ExtJS4
Workshop ExtJS4javamanrj
 

More from javamanrj (6)

Como fazer uma aplicação com Sencha Touch e Phonegap - Mobile Conf 2014
Como fazer uma aplicação com Sencha Touch e Phonegap - Mobile Conf 2014Como fazer uma aplicação com Sencha Touch e Phonegap - Mobile Conf 2014
Como fazer uma aplicação com Sencha Touch e Phonegap - Mobile Conf 2014
 
Desenvolvendo Jogos com HTML5
Desenvolvendo Jogos com HTML5Desenvolvendo Jogos com HTML5
Desenvolvendo Jogos com HTML5
 
Construindo aplicações Desktop com HTML, CSS e JS - Rio.JS Conference 2013
Construindo aplicações Desktop com HTML, CSS e JS - Rio.JS Conference 2013Construindo aplicações Desktop com HTML, CSS e JS - Rio.JS Conference 2013
Construindo aplicações Desktop com HTML, CSS e JS - Rio.JS Conference 2013
 
Palestra Sencha Touch + Phonegap
Palestra Sencha Touch + PhonegapPalestra Sencha Touch + Phonegap
Palestra Sencha Touch + Phonegap
 
Palestra sobre Sencha Touch + Phonegap
Palestra sobre Sencha Touch + PhonegapPalestra sobre Sencha Touch + Phonegap
Palestra sobre Sencha Touch + Phonegap
 
Workshop ExtJS4
Workshop ExtJS4Workshop ExtJS4
Workshop ExtJS4
 

Recently uploaded

costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 

Recently uploaded (20)

costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 

PHP Presta? Então prove! - The Developers Conference - TDC2013