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
Técnicas de Util Prototype
Search
Matheus Monte
July 27, 2019
Programming
1
50
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
Tweet
Share
More Decks by Matheus Monte
See All by Matheus Monte
I Forum carreira - FMM 2020
matheusmonte
0
76
Order the Chaos: How to organize your react code
matheusmonte
0
53
React-360 - Go beyond Final frontier
matheusmonte
0
36
Serverless - Basic Concepts
matheusmonte
0
43
PyDTN
matheusmonte
0
180
Using Angular and React in same context
matheusmonte
0
38
Async Renderer - What's next?
matheusmonte
0
51
Componentization with React
matheusmonte
0
310
Web API with Flash: Code fast, delivery faster
matheusmonte
0
32
Other Decks in Programming
See All in Programming
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
600
CSC307 Lecture 01
javiergs
PRO
0
690
MUSUBIXとは
nahisaho
0
130
CSC307 Lecture 07
javiergs
PRO
0
550
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
680
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
Architectural Extensions
denyspoltorak
0
280
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.2k
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
CSC307 Lecture 03
javiergs
PRO
1
490
ThorVG Viewer In VS Code
nors
0
770
Data-Centric Kaggle
isax1015
2
770
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Bash Introduction
62gerente
615
210k
Color Theory Basics | Prateek | Gurzu
gurzu
0
200
Scaling GitHub
holman
464
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How to build a perfect <img>
jonoalderson
1
4.9k
Writing Fast Ruby
sferik
630
62k
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.: