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
Frontend responsável: Técnicas com JavaScript p...
Search
Guilherme Augusto
June 01, 2025
Programming
14
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Frontend responsável: Técnicas com JavaScript para descarregar o Backend
DevParaná 30/05/2025
Guilherme Augusto
June 01, 2025
More Decks by Guilherme Augusto
See All by Guilherme Augusto
Event Driven Architecture
nikolayevsk404
0
20
React além desse mundo
nikolayevsk404
0
18
Testes Unitários em PHP Laravel: Começando com TDD
nikolayevsk404
0
20
SEMINÁRIO VIVAWORKS: Como a IA me ajuda a evitar erros e melhorar meu código
nikolayevsk404
0
20
Other Decks in Programming
See All in Programming
Agentic UI
manfredsteyer
PRO
0
160
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
770
AI 時代のソフトウェア設計の学び方
masuda220
PRO
29
12k
Language Server 使ってる? 〜VSCode と Zed の場合〜 / Are you using a Language Server? ~For VS Code and Zed~
handlename
0
780
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.1k
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
260
Inside Stream API
skrb
1
710
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
260
そのテスト、説明できますか?~LWテスト戦略FW~のご紹介
nakahara
0
130
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
350
Javaの型とAI時代に型が大事な理由 / java types and type in AI era
kishida
2
140
Webフレームワークの ベンチマークについて
yusukebe
0
170
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
YesSQL, Process and Tooling at Scale
rocio
174
15k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
Test your architecture with Archunit
thirion
1
2.3k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
320
Building Adaptive Systems
keathley
44
3.1k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Designing for Performance
lara
611
70k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
390
Transcript
FRONTEND FRONTEND RESPONSÁVEL RESPONSÁVEL COMEÇAR!!! TÉCNICAS COM JAVASCRIPT TÉCNICAS COM
JAVASCRIPT PARA DESCARREGAR O BACKEND PARA DESCARREGAR O BACKEND
DISCLAIMER
GUILHERME AUGUSTO GUILHERME AUGUSTO ADS, DBA, GAME DEV ADS, DBA,
GAME DEV Dev Gamer Guitar Player @NIKOLAYEVSK404 @NIKOLAYEVSK404
Unreal Engine 5
Phaser JS
FUNÇÃO DO FUNÇÃO DO FROINT-END? FROINT-END? PERGUNTA
Coletar e Validar Dados Gerenciar Estado Melhorar Performance Comunicar Backend
UX Exibir Interface Resposta
None
MISSÃO MISSÃO BACKEND SOBRECARREGADO!!! CROP DE IMAGENS ENVIO DE ARQUIVOS
GERAÇÃO DE RELATÓRIOS VALIDAÇÕES
FASE 1 FASE 1 CROP E RESIZE
Crop e Resize Corta e redimensiona imagem ANTES do envio
Menos banda + menos CPU no backend Exemplo: canvas, cropperjs CONQUISTA: CROP NO FRONT!
FASE 2 FASE 2 GERAÇÃP DE PDF
Geração de PDF Relatórios gerados no browser Evita que o
backend processe e armazene arquivos Exemplo: jspdf, pdf-lib CONQUISTA: PDF NO FRONT!
FASE 3 FASE 3 GERAÇÃO DE EXCEL
Geração de Excel Planilhas montadas no browser com SheetJS Backend
não sofre gerando .xlsx pesado Exemplo: SheetJS (.xlsx) CONQUISTA: EXCEL NO FRONT!
FASE 4 FASE 4 VALIDAÇÕES
Validações Validar CPF/CNPJ, e-mails, etc no client Bate no backend
apenas quando preciso Exemplo: Regex CONQUISTA: VALIDAÇÃO NO FRONT!
FASE 5 FASE 5 COMPRESSÃO
Compressão Comprime arquivos antes de enviar Ajuda a aliviar a
rede e o processamento do backend Exemplos: browser-image-compression, JSZip CONQUISTA: COMPRESSÃO NO FRONT!
FASE EXTRA FASE EXTRA SUGESTÕES?
Cache Debounce Paginação CSS/JS .min Lazy Loading Banco de dados
Sugestões?
Corte Resolução Formatação Compressão ERICK WENDEL Js
CHEFÃO CHEFÃO LIVE CODING https://frontend-responsa.web.app
Conclusão MISSÃO CONCLUÍDA Cada tarefa feita pelo front = menos
carga para o backend Frontend moderno poderoso (não apenas estética) Faça o backend focar em se comunicar com o banco de dados
MUITO MUITO OBRIGADO!!! OBRIGADO!!! PERGUNTAS? DARK-WEB-STUDIO.WEB.APP DARK-WEB-STUDIO.WEB.APP