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
56
Programação Reativa com RxJS
jonataa
0
140
O que esperar de um profissional de TI
jonataa
0
40
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
170
Medindo a Performance de Códigos PHP
jonataa
0
72
5 motivos para você participar de eventos
jonataa
0
150
Other Decks in Programming
See All in Programming
CSC307 Lecture 03
javiergs
PRO
1
490
AI巻き込み型コードレビューのススメ
nealle
0
120
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
5.9k
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
Implementation Patterns
denyspoltorak
0
280
SourceGeneratorのススメ
htkym
0
190
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
AI時代の認知負荷との向き合い方
optfit
0
150
AtCoder Conference 2025
shindannin
0
1k
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
970
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Ruling the World: When Life Gets Gamed
codingconduct
0
140
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
310
Between Models and Reality
mayunak
1
180
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
72
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
110
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
WENDY [Excerpt]
tessaabrams
9
36k
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