php presta? então prove! - the developers conference - tdc2013

149
PHP PRESTA? ENTÃO PROVE ZAEDY SAYÃO @zaedysayao

Upload: javamanrj

Post on 22-Jun-2015

3.649 views

Category:

Technology


0 download

DESCRIPTION

É sabido que PHP, infelizmente, é mal visto por muitos, principalmente no mundo corporativo. Na palestra, veremos como a comunidade pode fazer para mudar esse cenário, mostrando os pontos fortes da linguagem e como contornar os pontos ruins. Ainda, discutiremos em que pontos a comunidade PHP a nível nacional vem errando e como fazer para que consigamos, juntos, vender melhor o PHP, para que isso se reflita em melhoras para todos, como no tão amado salário.

TRANSCRIPT

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

PHP PRESTA?

ENTÃO PROVEZAEDY SAYÃO @zaedysayao

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

PHP...

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

...

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

NÃO PRESTA

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

É RUIM

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

É UMA DROGA

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

É COISA DE SOBRINHO

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

É COISA DE AMADOR

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

É COISA DE NOOB

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

É IMATURO

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

NÃO TEM OO

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

NÃO TEM TRY/CATCH

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

NÃO TEM AMBIENTE DECENTE DE

DESENVOLVIMENTO

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

NÃO TEM TESTES

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

NÃO ESCALA

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

NÃO TEM PADRÃO

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

É FÁCIL DEMAIS

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

NÃO PERMITE USAR DESIGN

PATTERN

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

VAI MORRER, VAI ACABAR

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

É INSEGURO

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

É BUGADO

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

SÓ SERVE PARA FAZER

BLOG

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

NÃO TEM ORM

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

TEM QUE FAZER TUDO

NA MÃO

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

SÓ SERVE PARA FAZER SITEZINHO

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

PHP PRESTA?

ENTÃO PROVEZAEDY SAYÃO @zaedysayao

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

Zaedy Dantas Sayão@zaedysayao@javamanrj@javamanrj

@WORKS

http://about.me/zaedy

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

#1OOP

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

#12006

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

#1HERANÇA

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

#1INTERFACE

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

#1TRAITS

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

#1SOBRECARGA

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

#1VISIBILIDADE

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

#2TRY

CATCH

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

#2<2004

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

#3AMBIENTE DE

DESENVOLVIMENTO

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

#3NETBEANS

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

#3ECLIPSE

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

#3APTANA

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

#3ZEND

STUDIO

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

#3PHP

STORM

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

#3XDEBUG

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

#3VAGRANT

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

#3BUILD

AUTOMÁTICO

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

#3PHING

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

#3CAPISTRANO

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

#3

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

#3

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

#3USE

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

TDD

#4

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

É DESIGN

#4

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

FAZER TESTES NÃO É FAZER

TDD#4

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

PHPUnit

#4

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

MOCKERY

#4

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

SimpleTest

#4

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

CodeCoverage

#4

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

#4INTEGRAÇÃO CONTÍNUA

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

#4JENKINS

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

#4PHPCI

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

#4BDD

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

#4PHPSpec

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

#4BEHAT

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

#4CODEEXCEPTION

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

#4MINK

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

#4SELENIUM

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

#5ESCALABILIDADE

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

#5APC

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

#5XCACHE

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

#5MEMCACHED

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

#5REDIS

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

#5MONGO

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

#5NÃO USE

AUTOLOAD!

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

#5SIM, __autoload É RUIM! (RASMUS)

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

#5PONTEIROS

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

#5FUNÇÕES NATIVAS

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

#5VARNISH

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

#6FRAMEWORKS

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

#6FAÇA O SEU

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

#6JOGUE FORA

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

#6USE UM DO MERCADO

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

#6CONSTRUA O SEU BASEADO

EM UM DO MERCADO

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

#6LEIA O

CÓDIGO

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

#6

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

#7PADRÕES

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

#7FIG

FRAMEWORK INTEROP GROUP

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

#7PSR’s

PHP STANDARDS RECOMMENDATION

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

#7MEU PADRÃO

É MELHOR

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

#7NÃÃÃÃÃ

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

#7ÃÃÃÃÃÃ

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

#7ÃÃÃÃÃÃ

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

#7ÃÃÃÃÃÃ

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

#7ÃO.

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

#7VOCÊ NÃO É MELHOR

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

#8FACILIDADE

Page 96: PHP Presta? Então prove! - The Developers Conference - TDC2013
Page 97: PHP Presta? Então prove! - The Developers Conference - TDC2013
Page 98: PHP Presta? Então prove! - The Developers Conference - TDC2013

FRACO

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

#8

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

#8A LINGUAGEM

NÃO TEM CULPA

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

#8

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

#9DEPENDÊNCIAS

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

#9

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

#9PEAR

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

#10VAI ACABAR

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

#1075% DA WEBBY GOOGLE

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

#10GOOGLE APP

ENGINE

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

#11PATTERNS

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

#11DECORATOR

FACADEFACTORY

NAMESPACESINGLETONOBSERVER

COMPOSITESTRATEGY

DIPROTOTYPEADAPTERPOR AÍ VAI

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

#12ORM

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

#12DOCTRINE

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

#12PROPEL

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

#12REDBEAN

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

#12PDO

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

#13CMS

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

#13PHP É RUIM

MAS...

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

#13... USA

WORDPRESS!

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

#13WORDPRESS

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

#13JOOMLA!

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

#13DRUPAL

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

#13ATUALIZE

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

#14SEGURANÇA

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

#14NOVA API DE

HASH

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

#14DEPENDE DE

VOCÊ

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

PROBLEMA ESTÁ EM VOCÊ

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

GANHAR MAIS??

Page 127: PHP Presta? Então prove! - The Developers Conference - TDC2013
Page 128: PHP Presta? Então prove! - The Developers Conference - TDC2013

SAIA DA ZONA DE CONFORTO

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

OUTRAS LINGUAGENS

#1

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

.NETJAVARUBY

PYTHONPERL

SCALA#1

Page 131: PHP Presta? Então prove! - The Developers Conference - TDC2013
Page 132: PHP Presta? Então prove! - The Developers Conference - TDC2013

FACEBOOK

#2

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

RELATÓRIOS

#3

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

DOCUMENTAÇÃO

#4

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

SOBRINHOS!!!!

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

PHPDOC

#4

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

DESACOPLAMENTO

#5

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

MVC

#5

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

TEMPLATE ENGINE

#5

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

MÉTRICAS

#6

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

PRODUTIVIDADE

#6

Page 142: PHP Presta? Então prove! - The Developers Conference - TDC2013
Page 143: PHP Presta? Então prove! - The Developers Conference - TDC2013

RESOLVE OS PROBLEMAS

#7

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

MANUTENÇÃO

#8

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

NEGÓCIO

#9

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

GTK

#10

Page 147: PHP Presta? Então prove! - The Developers Conference - TDC2013
Page 148: PHP Presta? Então prove! - The Developers Conference - TDC2013
Page 149: PHP Presta? Então prove! - The Developers Conference - TDC2013

OBRIGADO!

@zaedysayao