Core Data Migrations - Can We Do Better?
Offered By: try! Swift Conference via YouTube
Course Description
Overview
Explore Core Data migration strategies and a NoSQL alternative in this 25-minute conference talk from try! Swift NYC 2017. Dive into lightweight and custom migration techniques for handling database schema changes in Core Data. Learn about the challenges of data migrations and discover how NoSQL databases, specifically Couchbase Mobile, can eliminate the need for data models and simplify the migration process. Gain insights from speaker Priya Rajagopal, a Mobile Developer Advocate, as she walks through practical examples and provides a comprehensive overview of database migration options for Swift developers.
Syllabus
Intro
Core Data Stack: ios10
Managed Object Model
Schema Changes
The Dreaded Persistent Store / Data Model Mismatch Exception
Option 1: Delete the app and reinstall
Option 2: Core Data Migrations
Lightweight Migrations
Configure Core Data Stack
Some help from editor
Case 2
Define Custom Mapping
Case 3
Custom Migration Policy (3/3)
Manual
Testif Migration is Needed
Migrate Stores Progressively
Identity Model compatible with Store
Migrate Store from src to dst model
Find Mapping Model
NoSQL Option for Persisting Data
Data Modeling
JSON to Native Mapping
NoSQL: Example 2
Couchbase Lite
Resources
Taught by
try! Swift Conference
Related Courses
SAP NetWeaver Upgrades in a NutshellSAP Learning Provisioning Databases in Azure and SQL Server
Microsoft via edX Migrating to the AWS Cloud
Amazon Web Services via edX Walkthrough Django's Official Tutorial: Django Version 2.2
Udemy Introdução ao Laravel
Udemy