Comments (3)
This should be an ongoing discussion but for the sake of cleaning up I'm going to close this issue. We should break up specific issues related to this one.
Also some of the issues raised are fixed in #47
from se-daily-ios.
I'm open to seeing what an sqlite or coredata implementation would look like. I haven't used those in a lot of projects. Realm is too large and we wouldn't use nearly half the features it provides.
I'm also trying to avoid writing extra data models to exclusively interact with the persistence layer. Disk seems like a good option to me since it uses Codable objects and it is light. I'm not sure how expensive it is to fetch, update, then rewrite the data but if that is too much I'm more open to another solution.
I don't see a ton of difference from retrieving all the objects and filtering the array, but once again, open to seeing other solutions if they're measurably better.
from se-daily-ios.
I understand. Let's stick with what we have. We can try do the fetch, update, rewrite for the time being and re-evaluate if it ever becomes an issue. Here are some example scenarios:
-
There is data on posts already in Disk. Fetch new data. Retrieve existing data, combine with new data, replace duplicates with the newest data, rewrite back into Disk.
-
There is data on posts already in Disk. User upvotes or downvotes. Retrieve existing data, update the individual post, rewrite data back into Disk.
from se-daily-ios.
Related Issues (20)
- Audio player appears as blank after a podcast episode is done downloading HOT 1
- Bookmarked, Downloaded Episode Not Playing HOT 4
- Player auto-playing and also dissapearing HOT 2
- [Enhancement] Login screen redesign HOT 4
- Player loses the listener's place in the episode HOT 1
- Missing Dependency 'SwiftIcons' HOT 1
- [Feature] Apple Car Play
- [Bug] While audio overlay is being displayed, it covers content in some sections
- [Bug] When related links tableView is empty, user cannot add a link
- [Enhancement] Update Stylesheet with fonts used in the project
- [Enhancement] Refactor remaining Storyboards into layout code using SnapKit
- Downloading an episode should also mark it as saved; "Saved" and "Downloaded" should both be displayed under the "Saved" tab; delete Downloads tab HOT 2
- Add tab for notifications
- Implement Algolia
- Ability to tag users
- Migrate to a progressive webapp
- Change out firebase key to be non-testing key.
- Remove "Just For You" And Add "Most Viewed" Back to Bottom Bar HOT 8
- Profile view for users HOT 2
- Kept seeing the "Hello! Enjoying the SEDaily App" after clicking No? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from se-daily-ios.