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
Single Page Apps FTW!
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ciro Nunes
November 30, 2013
Programming
2
170
Single Page Apps FTW!
Ciro Nunes
November 30, 2013
Tweet
Share
More Decks by Ciro Nunes
See All by Ciro Nunes
Rust Front-end with Yew
cironunes
0
59
Type safe CSS with Reason
cironunes
0
130
What I've learned building automated docs for Ansarada's design system
cironunes
0
79
Beyond ng new
cironunes
2
210
Animate your Angular apps
cironunes
0
440
Sweet Angular, good forms never felt so good
cironunes
0
85
Sweet Angular, good forms never felt so good
cironunes
0
300
Progressive Angular apps
cironunes
3
910
Angular: Um framework. Mobile & desktop.
cironunes
1
590
Other Decks in Programming
See All in Programming
Package Management Learnings from Homebrew
mikemcquaid
0
220
Basic Architectures
denyspoltorak
0
670
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
Patterns of Patterns
denyspoltorak
0
1.4k
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
Oxlint JS plugins
kazupon
1
950
Data-Centric Kaggle
isax1015
2
770
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
690
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
190
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
570
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
140
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
6.9k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
99
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
210
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
120
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
200
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
Raft: Consensus for Rubyists
vanstee
141
7.3k
Embracing the Ebb and Flow
colly
88
5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
WENDY [Excerpt]
tessaabrams
9
36k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Transcript
SINGLE PAGE APPS Ciro Nunes FOR THE WIN!
CIRO NUNES Front End Developer cironunes @cironunesdev cironunes.github.io
None
None
None
http://www.meetup.com/AngularJS-Sao-Paulo/
SINGLE PAGE APPS Ciro Nunes FOR THE WIN!
None
None
None
None
None
SINGLE PAGE APPS UX nativa no browser!
pro tips como começar arquitetura
arquitetura
client totalmente desacoplado do server
server client <html><body> <h1>data2</h1> <p>data2</p> </body></html> GET / 200 OK
display the returned HTML NORMAL WEBSITES
server client JSON: { data1, data2 } <h1>data1</h1> <p>data2</p> GET
/items 200 OK SINGLE PAGE APPS
SERVER RESTful API
CLIENT routing, data-binding, components, MVC
server fornece os recursos, client manipula a interface
como começar
SERVER RESTful API
Method URL Action GET /items Retorna todos os items GET
/item/:id Retorna o item com o id especificado POST /items Adiciona um novo item PUT /item/:id Atualiza o item com o id especificado DELETE /item/:id Deleta o item com o id especificado
http://mcavage.me/node-restify/
DEMO
https://github.com/intridea/grape
http://flask-restful.readthedocs.org/en/latest/
CLIENT routing, data-binding, components, MVC
http://angularjs.org/
DEMO
TESTES mais confiança e documentação
http://visionmedia.github.io/mocha/
http://pivotal.github.io/jasmine/
pro tips
CORS cross-origin resource sharing
htttp://w3.org/TR/cors/
8+ suporte
DEMO
http://www.html5rocks.com/en/tutorials/cors/
SEO seja encontrado :)
https://developers.google.com/webmasters/ajax-crawling/
htttp://prerender.io/
WORKFLOW teste em vários dispositivos no ctrl+s
http://karma-runner.github.io/
http://yeoman.io/
DEMO
use e contribua com os melhores projetos!
None
OBRIGADO! cironunes @cironunesdev cironunes.github.io