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
The SWAC Approach for Sharing a Web Application...
Search
Markus Ast
July 09, 2013
Programming
56
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The SWAC Approach for Sharing a Web Application's Codebase between Server and Client
Markus Ast
July 09, 2013
Other Decks in Programming
See All in Programming
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
すこし踏み込む CancellationToken
htkym
2
1.7k
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1k
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
270
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
550
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
220
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
A Tale of Four Properties
chriscoyier
163
24k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Designing for Timeless Needs
cassininazir
1
530
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Building AI with AI
inesmontani
PRO
1
1.3k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Transcript
Chemnitz University of Technology Prof. Dr.-Ing. Martin Gaedke &
Team 12.07.13 Markus Ast, Stefan Wild, Martin Gaedke VSR.Informatik.TU-Chemnitz.de The SWAC Approach for Sharing a Web Application's Codebase between Server and Client
2 Motivation Trousers
3 Motivation Dynamic Functionality Efficient Development Progressive Enhancement Frontend Framework
(Single-Page App) Two Implementations Backend Framework Develop
Goal:
Demo 5
Server C#, Ruby, PHP, … ? Volatile State Privileged Environment
Browser JavaScript Persistent State Vulnerability 6 Server/Client Differences Client/Server Differences Node.js!
1 View 2 Routing 3 Security 4 State Transfer 7
Challenges Challenges
View 8
9 View Fragmentation /projects/1/tasks /projects/1/docs
10 View Fragmentation Server-Side Client-Side <p> Hello, @{user.name} </p> html
head body ,tle h1 p String-based Templates DOM <p> Hello, <!--{1-->Markus<!--1}--> </p>
11 View Fragmentation Changed Event User Fragment id = 1
startNode endNode User name = Markus .name = “Markus Ast” re-render <p> Hello, <!--{1-->Markus<!--1}--> </p> <p> Hello, <!--{1-->Markus Ast<!--1}--> </p>
12 View Fragmentation Project List Layout/ App Container Task List
Proj. 1 Proj. 2 Proj. n Task. 1 Task. 2 Task. n
Routing
14 Route Hierarchy GET /projects GET /projects/:id GET /projects/:id/tasks Project
Projects Project Projects Projects Tasks
15 Route Hierarchy /projects
16 Route Hierarchy /projects /:id
17 Route Hierarchy /projects /:id /tasks
18 Route Hierarchy – Route Tree / /projects /2 /tasks
/docs /1 /tasks /docs /n /tasks /docs
19 Route Hierarchy – Server-Side Routing / /projects /2 /tasks
/docs /1 /tasks /docs /n /tasks /docs to
20 Route Hierarchy – Client-Side Routing / /projects /2 /tasks
/docs /1 /tasks /docs /n /tasks /docs from to Current View:
Security
22 Security / Database Access Presentation Tier Business Tier Data
Tier Data API Data Logic Authentication Authorization Not
Business Layer Presentation Tier Business Layer 23 Security / Database
Access Presentation Tier Service Layer Data Tier Database Side? Data API Authentication Authorization Data Logic server-side client-side RESTful API
State
• data • fragments • events and their listeners •
templates 25 State consists of State transfer Challenge: Serialization
VSR Chemnitz University of Technology Prof. Dr.-Ing. Martin Gaedke
& Team 12.07.13 Thank You! Questions? myVSR.eu/go/Demo/SWAC