Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PHP Moderno
Search
Jonata Weber
October 23, 2017
Programming
0
100
PHP Moderno
Jonata Weber
October 23, 2017
Tweet
Share
More Decks by Jonata Weber
See All by Jonata Weber
PHPStan - Analisador Estático
jonataa
0
110
TemDendê: Desenvolvimento PHP a Moda Baiana
jonataa
0
45
Programação Reativa com RxJS
jonataa
0
130
O que esperar de um profissional de TI
jonataa
0
37
A onda agora é função como serviço
jonataa
0
32
Programação Funcional com Acarajé e Dendê
jonataa
0
55
Curso de Programação Funcional com JavaScript
jonataa
0
150
Medindo a Performance de Códigos PHP
jonataa
0
62
5 motivos para você participar de eventos
jonataa
0
150
Other Decks in Programming
See All in Programming
オンコール⼊⾨〜ページャーが鳴る前に、あなたが備えられること〜 / Before The Pager Rings
yktakaha4
2
1.2k
効率的な開発手段として VRTを活用する
ishkawa
1
180
Bedrock AgentCore ObservabilityによるAIエージェントの運用
licux
8
360
リッチエディターを安全に開発・運用するために
unachang113
1
270
QA x AIエコシステム段階構築作戦
osu
0
210
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
520
iOS開発スターターキットの作り方
akidon0000
0
210
Gemini CLIの"強み"を知る! Gemini CLIとClaude Codeを比較してみた!
kotahisafuru
2
200
Vibe Codingの幻想を超えて-生成AIを現場で使えるようにするまでの泥臭い話.ai
fumiyakume
18
9.5k
Prompt Engineeringの再定義「Context Engineering」とは
htsuruo
0
110
Streamlitで実現できるようになったこと、実現してくれたこと
ayumu_yamaguchi
2
230
MCPで実現できる、Webサービス利用体験について
syumai
7
2.2k
Featured
See All Featured
Building Applications with DynamoDB
mza
95
6.5k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Site-Speed That Sticks
csswizardry
10
720
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
Six Lessons from altMBA
skipperchong
28
3.9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
The Cult of Friendly URLs
andyhume
79
6.5k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
390
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Transcript
PHP Moderno <?= 'Jonata Weber' ?>
@JonataWeber
Versões Suportadas
PSRs PHP Standards Recommendations 1 - Basic Coding Standard 2
- Coding Style Guide 3 - Logger Interface 4 - Autoloading Standard 6 - Caching Interface 7 - HTTP Message Interface 11 - Container Interface 13 - Hypermedia Links 16 - Simple Cache
composer.json { "require": { "monolog/monolog": "1.0.*" } } php composer.phar
install http://www.packagist.org
None
Monolog github.com/Seldaek/monolog IFTTT, SendGrid, Slack, NewRelic, Redis, Mongo, etc...
www.phptherightway.com
Model-View-Controller
foo.php
models/FooModel.php views/foo-list.php
Anonymous Functions http://php.net/manual/pt_BR/function s.anonymous.php
Anonymous Class https://secure.php.net/manual/pt_BR /language.oop5.anonymous.php
Traits http://php.net/manual/pt_BR/languag e.oop5.traits.php
Namespaces http://php.net/manual/pt_BR/languag e.namespaces.php
Generators https://secure.php.net/manual/pt_BR /language.generators.php
SPL Standard PHP Library • Estrutura de Dados • Iteradores
• Interfaces • Exceções • Manipulação de Arquivos • Classes e Interfaces Genéricas
Buit in server PHP >= 5.4 (2012) $ php -S
localhost:8000
PHP 7 https://secure.php.net/manual/pt_BR/migration7 0.new-features.php • Scalar Type Hints • Return
Type Declarations • Spaceship Operator (<=>) • Null Coalesce Operator (??) • Arrays Constantes • Performance
Types
Microframeworks • Silex - silex.sensiolabs.org • Slim - slimframework.com •
Lumen - lumen.laravel.com • Zend Expressive
Servers • PaaS - Plataform as a Service • Virtual
ou Dedicated Servers • nginx e PHP-FPM • Docker e Vagrant
Deployment • Rocketeer • Phing • Deployer
Livecoding
Perguntas? @JonataWeber bit.ly/ws-cursos
Referências • phptherightway.com • Livro PHP Moderno - O'Reilly •
https://www.youtube.com/watch?v=ZQVztAwoHUA