Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore Codable Routing with Kitura in this 21-minute conference talk from try! Swift Tokyo 2018. Dive into Swift 4's Codable interface and its application in server-side development with IBM's Pushkar Kulkarni. Learn how Kitura 2.0 leverages Codable to simplify JSON processing in RESTful APIs, enabling type-safe work with custom Codable types. Discover the potential of KituraKit for sharing type definitions between iOS apps and servers. Follow along as Kulkarni demonstrates GET and POST operations, Codable query parameters, database integration, and the Swift-Kuery ORM. Gain insights into end-to-end development and code sharing techniques, concluding with hands-on practice opportunities.
Syllabus
Intro
About me
A Javascript example
Foundation Pre-Swift 4
SwiftyJSON relief
Enter Swift 4
Conforming to Encodable
Conforming to Decodable
Decoding
There's a lot more to it ...
GET all commits
Codable Routing
POST a Commit
Codable Query Parameters
Saving to a database
Swift-Kuery ORM
In a parallel universe ...
Kiturakit
End-to-End
Sharing Code
Get your hands dirty
Taught by
try! Swift Conference