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
Frontend responsável: Técnicas com JavaScript p...
Search
Guilherme Augusto
June 01, 2025
Programming
25
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
36
React além desse mundo
nikolayevsk404
0
26
Testes Unitários em PHP Laravel: Começando com TDD
nikolayevsk404
0
26
SEMINÁRIO VIVAWORKS: Como a IA me ajuda a evitar erros e melhorar meu código
nikolayevsk404
0
30
Other Decks in Programming
See All in Programming
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
140
Next.js: The final boss of Web Performance
guaca
0
370
GraphQL の onError と Nullability のこれから
quramy
0
200
月間100万人のサービス刷新で、 技術選定をHonoに振り切った話
yutobara
8
7.1k
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.4k
LLM 101
dalinaum
0
360
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
120
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
1.6k
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
5
1.3k
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
340
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
200
AI-Powered Domain-Driven Design
ziobrando
0
360
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
How to Ace a Technical Interview
jacobian
280
24k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
340
Utilizing Notion as your number one productivity tool
mfonobong
4
630
RailsConf 2023
tenderlove
30
1.6k
sira's awesome portfolio website redesign presentation
elsirapls
0
480
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
590
Large-scale JavaScript Application Architecture
addyosmani
516
110k
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