SlideShare a Scribd company logo
1 of 48
Download to read offline
14/04/2014
Mobile first
um novo paradigma
Alexandre Magno
Monday, May 12, 2014
Desenvolver para celular primeiro?
Pensando Mobile Firstcomo melhor estratégia de desenvolvimento
Monday, May 12, 2014
Alexandre Magno
Quem sou eu?
Monday, May 12, 2014
Autor
Monday, May 12, 2014
Otima referência
www.lukew.com/about
Monday, May 12, 2014
Quebrar paradigmas
Monday, May 12, 2014
Quebrar paradigmas
Monday, May 12, 2014
Mas por que devo fazer isto?
antes
Agora
Monday, May 12, 2014
Depois
Monday, May 12, 2014
Estatísticas
Monday, May 12, 2014
Ignore desktopaté ter uma versão mobile
http://cochichous.herokuapp.com
Monday, May 12, 2014
Contexto antigo
http://www.slideshare.net/bradfrostweb
Monday, May 12, 2014
Novo contexto
Monday, May 12, 2014
Exemplo Antes
10%
80%
Monday, May 12, 2014
Exemplo Agora
10%
80%
Monday, May 12, 2014
Monday, May 12, 2014
Internet no celular
http://exame.abril.com.br/tecnologia/noticias/25-dos-brasileiros-entram-
mais-na-internet-pelo-celular
Monday, May 12, 2014
Mobile Web x Mobile App
✤ Um não exclui o outro
✤ Internet é feita de links(URI)
✤ A web é multiplataforma
✤ A web reside no browsers
✤ Apps apontam para sites
✤ Apps exploram recursos do dispositivo até o limite
Monday, May 12, 2014
Como fazer?
Fonte: Google
Monday, May 12, 2014
RESS Responsive design server side
✤ Resolve vários problemas do responsive
✤ Imagens já adaptadas no servidor
✤ Use com moderação
✤ Não altere o conteúdo
Monday, May 12, 2014
Unidades relativas
✤ Vamos voltar a usar o EM
✤ Porcentagens
✤ Pense fluido
✤ Fim do pixel perfect
Monday, May 12, 2014
De páginas a sistema
✤ Seja Fluido sempre
✤ Componentes de
sistema e não de
páginas
✤ Atomic Design
Monday, May 12, 2014
Atomic Design
Monday, May 12, 2014
Style tiles
Monday, May 12, 2014
Mobile First é só a ponta
Monday, May 12, 2014
Tem mais...
Monday, May 12, 2014
Sua preocupação agora é outra
Monday, May 12, 2014
Pare de assumir pelo usuário
“Usuários do celular não fazem isto”
Mentiroso
Monday, May 12, 2014
Tudo começa aqui
<meta name="viewport" content="width=device-
width, initial-scale=1" />
Monday, May 12, 2014
Desktop first x Mobile First
/* Desktop-first styles: Avoid */
.column {
float: left;
width: 50%;
}
@media all and (max-width: 50em) {
.column {
float: none;
width: auto;
}
}
/* Mobile-first styles FTW */
@media all and (min-width: 50em) {
.column {
float: left;
width: 50%;
}
}
Monday, May 12, 2014
Desktop first x Mobile First
/* Desktop-first styles: Avoid */
a:hover {
color: red;
}
@media all and (max-width: 50em) {
a:hover {
color: blue;
}
} /* Mobile-first styles FTW */
@media all and (min-width: 50em) {
a:hover {
color: red;
}
}
Monday, May 12, 2014
Pense no dispositivo
<a href=”tel:+552197654324”>
Ligar para mim
</a>
Monday, May 12, 2014
Design no browser
✤ Vá para o browser o quanto
antes!
✤ Faça protótipos utilizando
algum framework
Monday, May 12, 2014
Frameworks
Monday, May 12, 2014
Photoshop morreu?
Monday, May 12, 2014
Revendo o Photoshop
“Eu ainda uso o Photoshop, mas eu uso diferente. Não uso mais pra descrever
exatamente como um site deve ficar. Ao invés disto, eu uso para fazer layouts rápidos
sobre exploração e criação de padrões de interface”
Trent Walton.
Monday, May 12, 2014
Ele ainda tem seu uso
Monday, May 12, 2014
Photoshop morreu?
http://photoshopetiquette.com/
Monday, May 12, 2014
Tratando imagens
✤ Soluções no servidor para
resolver imagem
✤ Considerando o corte da
imagem(art direction)
✤ Sourceset
✤ Tag Picture
✤ Picturefill
Monday, May 12, 2014
Tag Picture, sourceset e picturefill
http://scottjehl.github.io/picturefill
Monday, May 12, 2014
Tratando vídeos
fitvidsjs.com
Monday, May 12, 2014
Tratando textos
http://fittextjs.com/
Monday, May 12, 2014
Estamos fazendo certo?
Monday, May 12, 2014
Sem foco no conteúdo
Monday, May 12, 2014
JS - Condicional loading
Monday, May 12, 2014
Desenvolvimento front-end limpo
Prioridade ao uso de bibliotecas nativas
JS
if('querySelector' in document
&& 'localStorage' in window
&& 'addEventListener' in window) {
// bootstrap the javascript application
}
Monday, May 12, 2014
Com Mobile First
✤ Mais simples (foco)
✤ Flexibilidade
✤ Simplicidade
✤ Future friendly
Monday, May 12, 2014
alexanmtz@gmail.com
twitter.com/alexanmtz
github.com/alexanmtz
alexandremagno.net
Contatos
Monday, May 12, 2014

More Related Content

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Mobile First desenvolvimento