What does it mean to SHARE data? #443
davidakoontz
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been pondering this question for the last few months. Does the word share - have a specific meaning? Is it too general to have any technical meaning?
Yeah - I could use a dictionary... but I doubt that it has ALL the various meanings we give the word today in the 21st Century.
When I started developing my Stock Tracker App Portfolio Equity Curve, I had the feature of account sharing. And when I looked at the architecture of SwiftData I saw the 3 tier DB pattern (Public, Shared, Private). I guess I then made a few unfortunate assumptions. And when attempting to validate those assumptions ... well I guess I made even more! I assumed Apple would fill in the gaps of the SwiftData architecture to include data sharing (after all they named one of the tiers "Shared"!
OK... let's admit... assumptions were made - YES!
But does your experience with Apple products lead you towards believing that sharing is fundamentally part of the ecoSystem?
I admit defeat.... SwiftData does not share data by MY definition of the term.
I was happy to see SQLiteData does!
So I waited until Stewart Lynch published his (10 video) series on SQLiteData - Gift Registry.
https://www.youtube.com/playlist?list=PLBn01m5Vbs4CYoNYe55G1kijxeNza9SMe
Then I started porting PortfolioEC to SQLiteData. It has taken over a week. And I didn't do it all by myself... well I count the OpenAI Codex tool for doing 99.99% of the coding on this DB swap. It is DONE... over 400 files in the branch have changes. The test suite are in much better shape - unit, integration, and UI test. I'm left pondering if it would have been easier with a proper DB Interface layer? I've concluded NO!
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions