GSoC 2018: Week 2
This is Status Report for Fedora App filled by participants on a weekly basis.
The Fedora App is a central location for Fedora users and innovators to stay updated on The Fedora Project. News updates, social posts, Ask Fedora, as well as articles from Fedora Magazine are all held under this app.
Here is the summary of my work in the second week:
We now have offline capablilties in the app (#62). The app now caches the content from Fedora Magazine, FedoCal and Fedora Social. Every time we load the app, we refersh the cache from the API end points in the background. We no longer block the user from interacting with the app and the content also loads a lot faster. (#61)
It still has some rough edges, we will be addressing them in the following weeks.
There are only two hard things in Computer Science: cache invalidation and naming things.
– Phil Karlton
And in particularly JS, we shall modify it to:
There are only two hard things in Computer Science:
1> Cache invalidation
3> Async callbacks
2> Naming things.
And fortunately, RxJS provides an elegant solution to (3).
This week was particularly challenging and exciting. RxJS Observables and reactive programming patterns was really interesting to learn. Learn RxJS by @btroncone is a great resource that helped me to quickly grasp the concepts and the API. Many thanks!
You can find the weekly report for Week 1 here.
What’s next ?
I’m working on creating unit tests for various services we use in our app and the integration tests for the different screens.
Originally published at amitosh.in on May 30, 2018.