Firestore Pagination

Cloud Firestore, aka Firestore, is an NoSQL database released by Google on October 2017, currently it is on beta stage. It’s the successor of old Firebase database (Realtime Database), and in my opinion, the biggest change would be querying. Firestore allows you to do query based on multiple fields, which is very useful to handle data.

When I was carrying out my project Iridescent, I realized that I needed to paginate data. As the project grows up, I can’t load 100+ data all by once. Firestore has a daily limit for document reads and bandwidth, so I have to try to reduce the usage.

At the same time, a long waiting time is not part of good user experience, and loading all data by once might cause lag on low-performance devices.

Continue reading “Firestore Pagination”

Disqus2WP

Update: this tool does not work anymore due to Disqus’ export format change (GDPR), which removed commenter’s IP address and Email.

I had been using Ghost on 2015 ~ 2017. It’s a good blogging-platform, but it doesn’t have a built-in comment system, so I had to use a third-party comment service, which is Disqus.

Disqus isn’t a bad platform, in fact, I think it’s a great solution for those who doesn’t want to spend a lot of time investigating how to avoid spams or maintaining. At the same time, it has some great features like “Real time comments” or voting.

Except the loading speed.

Continue reading “Disqus2WP”