Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Sensus

DAloG
October 25, 2014

 Sensus

Presentation of framework.

DAloG

October 25, 2014
Tweet

More Decks by DAloG

Other Decks in Programming

Transcript

  1. AGENDA • Problem description • Existing solutions • Sensus •

    Usage Demo • Internal Demo https://speakerdeck.com/dalog/sensus
  2. SERVER DATA • Generated on server side WITH type info

    • Transferred via JSON • Converted to NSDictionary • Stored to database • Used in logic
  3. PROBLEMS • JSON data has no types • Types interpreting

    may fail • Missed types are not detected
  4. POSSIBLE SOLUTIONS • Class mappers (Mantle and similar) • Checks,

    checks • Save validators • Swift • …
  5. SENSUS • DSL • Strong typed • Date parsers included

    • Default values support • Keypath support • Extensible (a little)