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
Network Layer Abstraction
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Swift India
February 29, 2020
Technology
180
0
Share
Network Layer Abstraction
Swift India
February 29, 2020
More Decks by Swift India
See All by Swift India
Efficient JSON to Object Parsing
swiftindia
0
160
Sign In with Apple
swiftindia
0
160
Furlenco's AR Journey
swiftindia
0
150
Image processing using Core Image and Metal
swiftindia
0
250
Combine - Diving into Apple’s Reactive Programming
swiftindia
1
280
Social in Hotstar
swiftindia
0
260
Improving App Launch Time
swiftindia
1
140
Backend Driven UIs
swiftindia
0
150
Introduction to AsyncDisplayKit / Texture
swiftindia
0
190
Other Decks in Technology
See All in Technology
AI全盛の今だからこそ、あえてもう一度振り返るAPIの基礎
smt7174
3
140
Claude Code / Codex / Kiro に AWS 権限を 渡すとき、何を設計すべきか
k_adachi_01
6
1.9k
TypeScriptはどのようにどこまで推論できるのか ─ とにかく as は禁止で
ypresto
1
270
AWS WAFの運用を地道に改善し、自社で運用可能にするプラクティス
andpad
1
640
RedmineをAIで効率的に使う検証
yoshiokacb
0
170
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.6k
AIコーディングエージェントの活用で、コードは静かに肥大化した
yosukeshinoda
1
130
コーディングエージェントはTypeScriptの 型エラーをどう自己修正しているのか
melonps
3
270
Pythonでベイズモデリング
soogie
0
170
GitHub Copilot appで変わる GitHub Copilot CLI開発体験
tomokusaba
0
110
AI Agent に“攻略本”を渡したら、150フォームの移行が回り始めた話/登壇資料(高橋 悟生)
hacobu
PRO
1
250
自作エディターをOSSにして分かった、一人に刺さる開発が世界を動かす理由
shinyasaita
0
150
Featured
See All Featured
Game over? The fight for quality and originality in the time of robots
wayneb77
1
170
What's in a price? How to price your products and services
michaelherold
247
13k
Paper Plane
katiecoart
PRO
1
50k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
370
How to train your dragon (web standard)
notwaldorf
97
6.6k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
300
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
150
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
560
Abbi's Birthday
coloredviolet
2
7.6k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Transcript
Rakesh Chander - Comviva Technologies NETWORK LAYER ABSTRACTION • Interceptors
• Validators • Dependency Injection
Rakesh Chander - Comviva Technologies Problem Statement – Common Request
/ Response operations – Serialization / Deserialization – Bearer Token Management – End to End Encryption – Testable Code
Rakesh Chander - Comviva Technologies Unfolding – Common code templates
& patterns – Generics – Abstraction – Over-riding behavior – Dependency Injection
Rakesh Chander - Comviva Technologies Interceptors ▪ Interceptors are a
powerful mechanism that can pre-process or post-process a request
Rakesh Chander - Comviva Technologies Interceptors (Request Header Definition)
Rakesh Chander - Comviva Technologies Interceptors (Request Body Definition)
Rakesh Chander - Comviva Technologies Interceptors (Response Body Definition)
Rakesh Chander - Comviva Technologies Interceptors (Usage)
Rakesh Chander - Comviva Technologies Validators ▪ Serialization / Deserialization
▪ Fallback Mechanism ▪ Common Error Generation ▪ Bearer Token Management
Rakesh Chander - Comviva Technologies Adoption ▪ API call can
be declared using structs, its simple ▪ Implement Protocols for required Request Type viz GET, POST, PUT, DELETE etc
Rakesh Chander - Comviva Technologies Adoption (Overriding defaults)
Rakesh Chander - Comviva Technologies Adoption (Execution)
Rakesh Chander - Comviva Technologies Conclusion ▪ Increased Productivity ▪
Lesser error scenarios
Rakesh Chander - Comviva Technologies Dependency Injection ▪ Multiple Network
Clients ▪ Unit Tests
Rakesh Chander - Comviva Technologies Dependency Injection (Network Client Implementation)
Rakesh Chander - Comviva Technologies Dependency Injection (Network Client Mock)
Rakesh Chander - Comviva Technologies Summary Scalable, Maintainable, Reusable &
Testable Interceptors – Wrappers, Parsers, End to End Encryption Validators – Serialization/ Deserialization, Fallback Response DAO, Token Management
Rakesh Chander - Comviva Technologies Try It Out! ▪ https://github.com/rakeshchander/RCNetworkClient