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
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
200
Redux + MQTT
dalog
1
780
От задач к проблемам
dalog
1
260
Unlimited power of Data-Driven UI
dalog
4
650
Data-Driven View Controllers. Tips and Tricks
dalog
5
1.9k
2 years of Redux in iOS. Lessons learned
dalog
0
380
Why unidirectional architecture matter for iOS.
dalog
1
290
Mobile backend without REST
dalog
2
110
Self managed teams 101
dalog
0
150
Other Decks in Programming
See All in Programming
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
16
8.8k
レガシープロジェクトで最大限AIの恩恵を受けられるようClaude Codeを利用する
tk1351
3
1.4k
The state patternの実践 個人開発で培ったpractice集
miyanokomiya
0
150
個人軟體時代
ethanhuang13
0
110
AIでLINEスタンプを作ってみた
eycjur
1
210
Google I/O recap web編 大分Web祭り2025
kponda
0
2.9k
デザインシステムが必須の時代に
yosuke_furukawa
PRO
2
120
パッケージ設計の黒魔術/Kyoto.go#63
lufia
1
230
私の後悔をAWS DMSで解決した話
hiramax
4
160
Constant integer division faster than compiler-generated code
herumi
2
700
あなたとJIT, 今すぐアセンブ ル
sisshiki1969
1
740
Nuances on Kubernetes - RubyConf Taiwan 2025
envek
0
200
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
The World Runs on Bad Software
bkeepers
PRO
70
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Embracing the Ebb and Flow
colly
87
4.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
GraphQLとの向き合い方2022年版
quramy
49
14k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
For a Future-Friendly Web
brad_frost
179
9.9k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
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