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
Routing in SPA Web Applications
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Dima Kuzmich
June 18, 2013
Technology
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Routing in SPA Web Applications
Dima Kuzmich
June 18, 2013
More Decks by Dima Kuzmich
See All by Dima Kuzmich
jQuery Mobile Apps Development
forforeach
0
83
Other Decks in Technology
See All in Technology
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
150
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
6
4.6k
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
2.4k
夫婦で子育てするための育児標準化
codmoninc
PRO
0
330
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
170
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
190
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
570
会社説明資料
persolserverworks
0
9.8k
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Prompt Engineering for Job Search
mfonobong
0
520
HDC tutorial
michielstock
2
960
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
A Tale of Four Properties
chriscoyier
163
24k
Designing for Timeless Needs
cassininazir
1
530
Transcript
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | Israel JavaScript Conference
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | Browser Request Index.html Server Traditional Request / Response for ALL rendered content and assets Client
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | Initial Request Application.htm RequireJS Loader Page1 Partial.htm IndexViewModel.js Application.js (bootstrap) ViewModel (#index) ViewModel (#login) Model (LoginModel) JSON Requests HTML5 localstorage Handling disconnection Server Client
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | Choosing frameworks that provides you with routing and navigation built-in
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | Choosing stand-alone navigation libraries History.js jQuery BBQ Crossroads.js
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | Writing your own solution
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | 5.0 5.0 8.0 10.6
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | 4.0 (2.0) 5.0 5.0 10.0 11.5
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | Change your URL from this: www.app.com/index.html#my-hash-value To this new one: www.app.com/index.html#!my-hash-value
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | Instead this URL: www.app.com/index.html#!my-hash-value Crawler will go to tis one: www.app.com/index.html?_escaped_fragment_=my-hash-value http://crawljax.com – Java https://github.com/gregorypratt/Ajax-Crawling - ASP.NET MVC
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | here
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | this == context == Sammy.EventContext
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | EventContext support some useful args and methods: here
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | 'post', 'put' and 'delete' can be invoked only by submitting form
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | You can bind custom event to the app. Inside events is EventContext, same as in routes
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | You can trigger events on the app context and EventContext.
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | You can pass custom data object as third parameter
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com | http://singlepageappbook.com/index.html http://www.informit.com/articles/article.aspx?p=789762 https://developers.google.com/webmasters/ajax- crawling/docs/getting-started http://net.tutsplus.com/tutorials/javascript-ajax/quick-tip- an-introduction-to-sammy-js/ http://sammyjs.org/
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |
Israel JavaScript Conference | 03 – 6325707 |
[email protected]
|
www.js-il.com |