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
110
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
120
TemDendê: Desenvolvimento PHP a Moda Baiana
jonataa
0
53
Programação Reativa com RxJS
jonataa
0
130
O que esperar de um profissional de TI
jonataa
0
39
A onda agora é função como serviço
jonataa
0
33
Programação Funcional com Acarajé e Dendê
jonataa
0
60
Curso de Programação Funcional com JavaScript
jonataa
0
160
Medindo a Performance de Códigos PHP
jonataa
0
68
5 motivos para você participar de eventos
jonataa
0
150
Other Decks in Programming
See All in Programming
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
5
1.5k
Python札幌 LT資料
t3tra
7
1.1k
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
150
JETLS.jl ─ A New Language Server for Julia
abap34
2
470
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
170
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
240
クラウドに依存しないS3を使った開発術
simesaba80
0
200
GISエンジニアから見たLINKSデータ
nokonoko1203
0
190
愛される翻訳の秘訣
kishikawakatsumi
3
360
Navigating Dependency Injection with Metro
l2hyunwoo
1
200
[AI Engineering Summit Tokyo 2025] LLMは計画業務のゲームチェンジャーか? 最適化業務における活⽤の可能性と限界
terryu16
1
180
Basic Architectures
denyspoltorak
0
150
Featured
See All Featured
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
590
Utilizing Notion as your number one productivity tool
mfonobong
2
190
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
330
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
37
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
2k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
61
47k
Tell your own story through comics
letsgokoyo
0
770
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
So, you think you're a good person
axbom
PRO
0
1.9k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
74
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
260
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