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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Guilherme Augusto
June 01, 2025
Programming
10
0
Share
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
15
React além desse mundo
nikolayevsk404
0
12
Testes Unitários em PHP Laravel: Começando com TDD
nikolayevsk404
0
13
SEMINÁRIO VIVAWORKS: Como a IA me ajuda a evitar erros e melhorar meu código
nikolayevsk404
0
12
Other Decks in Programming
See All in Programming
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.9k
Vibe NLP for Applied NLP
inesmontani
PRO
0
400
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
400
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
170
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
850
Codex CLIのSubagentsによる並列API実装 / Parallel API Implementation with Codex CLI Subagents
takatty
2
910
一度始めたらやめられない開発効率向上術 / Findy あなたのdotfilesを教えて!
k0kubun
4
2.9k
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
200
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
3分でわかるatama plusのQA/about atama plus QA
atamaplus
0
160
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
510
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2.1k
Test your architecture with Archunit
thirion
1
2.2k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
We Are The Robots
honzajavorek
0
210
Crafting Experiences
bethany
1
110
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
118
110k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
890
The browser strikes back
jonoalderson
0
960
The Invisible Side of Design
smashingmag
302
51k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
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