Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Técnicas de Util Prototype
Search
Matheus Monte
July 27, 2019
Programming
59
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Técnicas de Util Prototype
Descreve técnicas de como criar protótipos de forma otimizada e reaproveitáveis no futuro
Matheus Monte
July 27, 2019
More Decks by Matheus Monte
See All by Matheus Monte
I Forum carreira - FMM 2020
matheusmonte
0
80
Order the Chaos: How to organize your react code
matheusmonte
0
62
React-360 - Go beyond Final frontier
matheusmonte
0
42
Serverless - Basic Concepts
matheusmonte
0
47
PyDTN
matheusmonte
0
180
Using Angular and React in same context
matheusmonte
0
45
Async Renderer - What's next?
matheusmonte
0
56
Componentization with React
matheusmonte
0
310
Web API with Flash: Code fast, delivery faster
matheusmonte
0
42
Other Decks in Programming
See All in Programming
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
240
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
110
信頼性の目標を誰も求めてない
shubox
0
500
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
150
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
150
フロントエンドUIフレームワークのこれまでとこれから
ssssota
5
2.5k
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
470
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
4
1.1k
From 6 People Classroom Meetup to 100 People Regional Conference / FOSS4G Hiroshima 2026
furukawayasuto
0
140
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
120
LLMは4年分のCompose移行を再現できるのか?実プロダクト279件のXMLで探る自動化の境界線
makun
0
590
AWS DevOps Agentで インシデント対応をAIに任せたい
honmarkhunt
7
2.8k
Featured
See All Featured
Designing for humans not robots
tammielis
254
26k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
490
Fireside Chat
paigeccino
43
4k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
270
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.6k
エンジニアに許された特別な時間の終わり
watany
108
250k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Why Our Code Smells
bkeepers
PRO
340
58k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
30 Presentation Tips
portentint
PRO
1
390
So, you think you're a good person
axbom
PRO
2
2.1k
Transcript
Técnicas de util prototype
Pai, Agilista, desenvolvedor e nada fotogênico
Como nascem os aviões?
None
None
E o software?
Ideia
MVP
Valida a ideia
–Usuários, clientes e Steakholders “Sucesso!” “Adorei Isso” “Exatamente o que
eu queria” “Vai precisar aguentar 3 trilhões de usuários” “Novo unicórnio” “Precisa só mudar um pouco essa tela!”
None
None
Pode ser DIFERENTE
Peças
Componentes
Vantagens • Reaproveitamento máximo de código já desenvolvido • Mantém
a identidade visual dos produtos • Melhora a legibilidade e manutenção • Reduz o tempo de desenvolvimento
A parte chata • Por que fazer isso para um
teste? • Pensar em comportamentos variados • Construir o pacote inicial • Refino exagerado
Equilíbrio
Como fazer
Exemplo import React,{useState, useEffect} from "react"; import './Timer.css'; function Timer(props){
const [time, setTime] = useState(props.startTimer); useEffect(() =>{ let timerID = setInterval(() => tick(), 1000); return function cleanup(){ clearInterval(timerID); } }); function tick(){ if(time > 0){ setTime(time - 1); } } return( <div className="TimerContainer"> <p className="CountNumber">{time === 0 ? <marquee>{props.finishText}</marquee> : time }</p> </div> ) } export default Timer;
Exemplo <Timer startTimer={13} finishText="time is over"/> <Timer startTimer={13} finishText="time is
over"/> <Timer startTimer={13} finishText="time is over"/> <Timer startTimer={13} finishText="time is over"/> <Timer startTimer={13} finishText="time is over"/> <Timer startTimer={13} finishText="time is over"/>
Infraestrutura
Serverless
Vantagens • Foco nas regras de negócio • Abstração de
infraestrutura • Sua linguagem preferida • Atomico • Custo
A parte chata • Controle e organização de código •
Sem “Utils" • Atomicidade • Cold Time
Limite
Como fazer
Exemplo
Exemplo
Flexível
Mobile Híbrido
Vantagens • Agilidade • Manutenção • Code once • Bom
desempenho • Documentação disponível
A parte chata • Recursos nativos • Code once, maybe
run anywhere
Objetividade
Como fazer
Exemplo
Novidade rápida
None
Até o próximo voo
[email protected]
@matheuscsmonte M.: T.: matheusmonte G.: