Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Sensus
Search
DAloG
October 25, 2014
Programming
0
150
Sensus
Presentation of framework.
DAloG
October 25, 2014
Tweet
Share
More Decks by DAloG
See All by DAloG
State normalization (RU)
dalog
0
210
Redux + MQTT
dalog
1
790
От задач к проблемам
dalog
1
270
Unlimited power of Data-Driven UI
dalog
4
660
Data-Driven View Controllers. Tips and Tricks
dalog
5
2k
2 years of Redux in iOS. Lessons learned
dalog
0
390
Why unidirectional architecture matter for iOS.
dalog
1
310
Mobile backend without REST
dalog
2
120
Self managed teams 101
dalog
0
170
Other Decks in Programming
See All in Programming
これだけで丸わかり!LangChain v1.0 アップデートまとめ
os1ma
6
1.8k
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.4k
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
130
FluorTracer / RayTracingCamp11
kugimasa
0
230
Developing static sites with Ruby
okuramasafumi
0
290
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
8
5.7k
LLM Çağında Backend Olmak: 10 Milyon Prompt'u Milisaniyede Sorgulamak
selcukusta
0
120
ローターアクトEクラブ アメリカンナイト:川端 柚菜 氏(Japan O.K. ローターアクトEクラブ 会長):2720 Japan O.K. ロータリーEクラブ2025年12月1日卓話
2720japanoke
0
730
JETLS.jl ─ A New Language Server for Julia
abap34
1
400
DSPy Meetup Tokyo #1 - はじめてのDSPy
masahiro_nishimi
1
170
非同期処理の迷宮を抜ける: 初学者がつまづく構造的な原因
pd1xx
1
720
React Native New Architecture 移行実践報告
taminif
1
150
Featured
See All Featured
Side Projects
sachag
455
43k
Six Lessons from altMBA
skipperchong
29
4.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Rails Girls Zürich Keynote
gr2m
95
14k
Docker and Python
trallard
47
3.7k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Faster Mobile Websites
deanohume
310
31k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Making Projects Easy
brettharned
120
6.5k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
8
1.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