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
Sensus
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
DAloG
October 25, 2014
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Sensus
Presentation of framework.
DAloG
October 25, 2014
More Decks by DAloG
See All by DAloG
State normalization (RU)
dalog
0
240
Redux + MQTT
dalog
1
820
От задач к проблемам
dalog
1
290
Unlimited power of Data-Driven UI
dalog
4
700
Data-Driven View Controllers. Tips and Tricks
dalog
5
2k
2 years of Redux in iOS. Lessons learned
dalog
0
420
Why unidirectional architecture matter for iOS.
dalog
1
340
Mobile backend without REST
dalog
2
150
Self managed teams 101
dalog
0
200
Other Decks in Programming
See All in Programming
自作OSでスライド発表する
uyuki234
1
3.8k
【やさしく解説 設計編 #0】DDDのコード、読めるのに分からない人へ
panda728
PRO
2
270
どこまでゆるくて許されるのか
tk3fftk
0
490
1年で人数1.5倍、PR数5.5倍増。 品質とアウトカムはどうなったか、 何が効いたか
ike002jp
0
140
Embedded SREと共に達成した会員管理システムのAWS移行 - SRE NEXT 2026 ランチスポンサーセッション
niftycorp
PRO
1
2.6k
音楽のための関数型プログラミング言語mimiumにおける多段階計算の活用
tomoyanonymous
1
330
LaravelLive Japan の裏方のすべて — 第188回 PHP勉強会@東京 (2026-06-24)
suguruooki
2
150
初めてのKubernetes 本番運用でハマった話
oku053
0
130
Prismを使った型安全な暗号化_関数型まつり2026
_fhhmm
0
140
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
550
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
360
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
640
Featured
See All Featured
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
460
How GitHub (no longer) Works
holman
316
150k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
It's Worth the Effort
3n
188
29k
What's in a price? How to price your products and services
michaelherold
247
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.3k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
340
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.3k
Transcript
SENSUS OBJECTIVE-C DSL FOR DIRTY DATA Alexey Demedeckiy October 2014
ABOUT ME
AGENDA • Problem description • Existing solutions • Sensus •
Usage Demo • Internal Demo https://speakerdeck.com/dalog/sensus
SERVER DATA • Generated on server side WITH type info
• Transferred via JSON • Converted to NSDictionary • Stored to database • Used in logic
PROBLEMS • JSON data has no types • Types interpreting
may fail • Missed types are not detected
POSSIBLE SOLUTIONS • Class mappers (Mantle and similar) • Checks,
checks • Save validators • Swift • …
SENSUS • DSL • Strong typed • Date parsers included
• Default values support • Keypath support • Extensible (a little)
DEMO
PROS AND CONS • Parse time type check • Simple
value transformations
OPEN SOURCED HTTPS://GITHUB.COM/DALOG/SENSUS
TODO • Custom type transformers • Runtime extensions • DSL
refining
INTERNAL • Custom root class • Category extensions • Protocols
DEMO
QUESTIONS? E-MAIL:
[email protected]
SKYPE: NOBIDON