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
AngularJS & REST/WebAPI (with X-Platform Develo...
Search
Fabian Gosebrink
January 13, 2016
Programming
86
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
AngularJS & REST/WebAPI (with X-Platform Development)
Noser Kick-Off 2016
Fabian Gosebrink
January 13, 2016
More Decks by Fabian Gosebrink
See All by Fabian Gosebrink
Advanced Signal Store: Structuring State for Real Angular Applications
fabiangosebrink
0
96
NgRx Signal Store - A Deeper Dive
fabiangosebrink
0
66
Modern Angular Apps in 2026
fabiangosebrink
0
120
Why State is the Most Important Part of Your Angular Application
fabiangosebrink
0
150
Angular testing made easy with Jest and Cypress
fabiangosebrink
0
180
Introducing state management into an application with NgRx
fabiangosebrink
0
270
Scalable architectures in Angular with Nx
fabiangosebrink
0
240
My Biggest Angular Mistakes and How To Avoid Them
fabiangosebrink
0
350
[iJS Munich] Better Angular Architectures with Libraries and Nx
fabiangosebrink
0
230
Other Decks in Programming
See All in Programming
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
270
【QA Test Talk Vol.8】AI-DLC による Whole Team Approach の加速
pkshadeck
PRO
0
180
Google Apps Script で Ruby を動かす
kawahara
0
240
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
言葉の格闘技のススメ~紙とペンと言葉から始める、キャリアの描き方~
progresscicada
2
150
the container ship “Apple Silicon”@WWDC26 Recap -Japan-\(region).swift
shingangan
0
130
php-fpmのプロセスが枯渇した日-調査・対処・そして本当にやるべきだったこと-
shibuchaaaan
0
290
メールのエイリアス機能を履き違えない
isshinfunada
0
240
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
500
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
220
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
ドリフトを絶対に許さない(?)CDK運用 / CDK Ops with Zero Tolerance for Drifts (?)
akihisaikeda
1
190
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
7k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
1.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
410
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
The Spectacular Lies of Maps
axbom
PRO
1
910
Google's AI Overviews - The New Search
badams
0
1.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
GitHub's CSS Performance
jonrohan
1033
470k
Transcript
AngularJS und REST / WebAPI Fabian Gosebrink @FabianGosebrink
„Gerne nehme ich an künftigen Veranstaltungen teil. Essen hätte etwas
exklusiver ausfallen können: Champagner-Empfang, Wachteleier, Kaviarhappen, Entrecôte, Mousse-au-Chocolat, etc.“ - unbekannt -
Ich
None
None
None
None
Starke Server
Starke Clients
None
REST
REST ist nicht WebAPI
GET /api/house/ GET /api/house/1 POST /api/house/ PUT /api/house/1 DELETE /api/house/1
None
None
None
Statuscodes
2xx = Gut!
4xx = Schlecht
5xx = Ganz schlecht!
Paging
http://.../api/house?page=2&pageSize=2 http://.../api/house?$top=10&$skip=20
Sorting
http://.../api/house?$orderby=Id desc http://.../api/house?sort=Id
Filtering
http://.../api/house?$filter=Street eq 'Street1‘ http://.../api/house?q=Street1
Datashaping
http://.../api/house/1?$select=Street, Id http://.../api/house/1?fields=Street,Id
Demo
Demo
ASP.NET MVC
Er so: “Mit jQuery kannst du alles machen!” Ich so:
“Ja, ausser Architektur…”
None
Client leichtgewichtige Architektur
Modularität
Single Page Application Framework
MV-*
Model Binding
Routing
UI-Templates
Javascript HTML
Setup
HTML + «ng»-Attributes = View
ng-app definiert Applikation ng-view für Templating
None
None
$scope
{{…}} ng-bind
Controller
None
None
Services
None
Service 31 Application Service 1 Service 2 Controller 1 Service
4 Repository 1 Controller 2 Repository 2 Service 1 Service… Controller…
A p p l i cati on Module 1 Controller
1 Repository 1 Service 1 Module n Controller n Repository n Service n Module 2 Controller 2 Repository 2 Service 2
AngularJS 2.0
None
Signal R
Demo
None
Architektur auf dem Client
WebApi
SignalR
Cross Platform
Demo
Write Good Code
@FabianGosebrink github.com/FabianGosebrink