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
11
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
Vibe NLP for Applied NLP
inesmontani
PRO
0
590
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
480
第3木曜LT会 #28
tinykitten
PRO
0
120
10 Tips of AWS ~Gen AI on AWS~
licux
5
540
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
140
実用!Hono RPC2026
yodaka
2
300
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
190
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
750
AIを導入する前にやるべきこと
negima
2
330
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
360
空間オーディオの活用
objectiveaudio
0
120
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
490
Bash Introduction
62gerente
615
210k
Google's AI Overviews - The New Search
badams
0
1k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Six Lessons from altMBA
skipperchong
29
4.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
The Spectacular Lies of Maps
axbom
PRO
1
730
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
300
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
330
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