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
Swift India
February 29, 2020
Technology
0
170
Network Layer Abstraction
Swift India
February 29, 2020
Tweet
Share
More Decks by Swift India
See All by Swift India
Efficient JSON to Object Parsing
swiftindia
0
150
Sign In with Apple
swiftindia
0
150
Furlenco's AR Journey
swiftindia
0
130
Image processing using Core Image and Metal
swiftindia
0
230
Combine - Diving into Apple’s Reactive Programming
swiftindia
1
270
Social in Hotstar
swiftindia
0
260
Improving App Launch Time
swiftindia
1
120
Backend Driven UIs
swiftindia
0
140
Introduction to AsyncDisplayKit / Texture
swiftindia
0
170
Other Decks in Technology
See All in Technology
Deno・Bunの標準機能やElysiaJSを使ったWebSocketサーバー実装 / ラーメン屋を貸し切ってLT会! IoTLT 2026新年会
you
PRO
0
300
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
170
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
What happened to RubyGems and what can we learn?
mikemcquaid
0
250
データ民主化のための LLM 活用状況と課題紹介(IVRy の場合)
wxyzzz
2
690
GitHub Issue Templates + Coding Agentで簡単みんなでIaC/Easy IaC for Everyone with GitHub Issue Templates + Coding Agent
aeonpeople
1
200
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
42k
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
170
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
1.7k
2人で作ったAIダッシュボードが、開発組織の次の一手を照らした話― Cursor × SpecKit × 可視化の実践 ― Qiita AI Summit
noalisaai
1
380
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
320
Tell your own story through comics
letsgokoyo
1
810
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
120
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
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