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
0
69
AngularJS & REST/WebAPI (with X-Platform Development)
Noser Kick-Off 2016
Fabian Gosebrink
January 13, 2016
Tweet
Share
More Decks by Fabian Gosebrink
See All by Fabian Gosebrink
Why State is the Most Important Part of Your Angular Application
fabiangosebrink
0
61
Angular testing made easy with Jest and Cypress
fabiangosebrink
0
94
Introducing state management into an application with NgRx
fabiangosebrink
0
140
Scalable architectures in Angular with Nx
fabiangosebrink
0
120
My Biggest Angular Mistakes and How To Avoid Them
fabiangosebrink
0
230
[iJS Munich] Better Angular Architectures with Libraries and Nx
fabiangosebrink
0
140
Mastering State Management in Angular with the NgRx Signal Store
fabiangosebrink
0
350
Angular Architectures with NgRx Stores & Effects
fabiangosebrink
0
110
Angular Testing made easy with Jest and Cypress
fabiangosebrink
0
110
Other Decks in Programming
See All in Programming
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
1.3k
JSONataを使ってみよう Step Functionsが楽しくなる実践テクニック #devio2025
dafujii
1
560
MCPでVibe Working。そして、結局はContext Eng(略)/ Working with Vibe on MCP And Context Eng
rkaga
5
2.3k
Laravel Boost 超入門
fire_arlo
3
220
ユーザーも開発者も悩ませない TV アプリ開発 ~Compose の内部実装から学ぶフォーカス制御~
taked137
0
180
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
470
今から始めるClaude Code入門〜AIコーディングエージェントの歴史と導入〜
nokomoro3
0
200
アルテニア コンサル/ITエンジニア向け 採用ピッチ資料
altenir
0
110
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
2
770
Putting The Genie in the Bottle - A Crash Course on running LLMs on Android
iurysza
0
140
奥深くて厄介な「改行」と仲良くなる20分
oguemon
1
550
testingを眺める
matumoto
1
140
Featured
See All Featured
Scaling GitHub
holman
463
140k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
Unsuck your backbone
ammeep
671
58k
KATA
mclloyd
32
14k
How GitHub (no longer) Works
holman
315
140k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Practical Orchestrator
shlominoach
190
11k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
The Cult of Friendly URLs
andyhume
79
6.6k
Code Review Best Practice
trishagee
70
19k
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