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
63
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
[iJS Munich] Better Angular Architectures with Libraries and Nx
fabiangosebrink
0
53
Mastering State Management in Angular with the NgRx Signal Store
fabiangosebrink
0
92
Angular Architectures with NgRx Stores & Effects
fabiangosebrink
0
42
Angular Testing made easy with Jest and Cypress
fabiangosebrink
0
50
Introducing NgRx in an Nx Angular Workspace
fabiangosebrink
0
240
Full-Stack-Web-Applications with Angular, Nx and .NET
fabiangosebrink
0
130
Angular Signals - Revolution in Angular development
fabiangosebrink
0
150
Kickstarting Your Journey with NgRx Signal Store
fabiangosebrink
0
100
Angular Signals under the Hood
fabiangosebrink
0
390
Other Decks in Programming
See All in Programming
Remix on Hono on Cloudflare Workers
yusukebe
1
300
Jakarta EE meets AI
ivargrimstad
0
620
Laravel や Symfony で手っ取り早く OpenAPI のドキュメントを作成する
azuki
2
120
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1.2k
3rd party scriptでもReactを使いたい! Preact + Reactのハイブリッド開発
righttouch
PRO
1
610
Macとオーディオ再生 2024/11/02
yusukeito
0
370
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.2k
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Click-free releases & the making of a CLI app
oheyadam
2
120
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
300
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
Become a Pro
speakerdeck
PRO
25
5k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
Being A Developer After 40
akosma
87
590k
For a Future-Friendly Web
brad_frost
175
9.4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Bash Introduction
62gerente
608
210k
GraphQLとの向き合い方2022年版
quramy
43
13k
Docker and Python
trallard
40
3.1k
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