Move to contentful

From the beginning of the year, I have moved this blog through some services. Including wordpress.com, self-host, and Firebase. Now, I come to contentful.

WordPress.com is a long-lived service, and it provides me a good API, but it does not allow me to custom the backend, database structure.

Firebase is very impressed, it's the first real-time database that I worked with, I used to use socket.io to implement some real-time application, but a real-time database is very powerful and impressed. Firebase also allows you to define any database structure you want. It's a key-value database. But the price is very high, and a real-time database is too slow at init-state.

Self-host give you an unlimited power to implement anything I want. But it consumes a lot of time and resources to maintain. The most important thing is the life span, self-hosted blog require you to maintain, pay for it unless you will lose it, your son will never know about it. This situation will not happen when you use a third-party long-lived service like WordPress or Firebase; your son can read your blog if you pay for it or not.

Finally, I found contentful. This service allows me to define the data structure myself, free 10k entries, have a good built-in editor with Markdown supported, media uploader. The API structure is not good; the documents are rude, anyway, it's acceptable.

I also define a field to define my mood in every blog post so that I can track my mood at the end of every week or year.

About the front-end, I store it on my server. It's was developed by Vuejs; it's awesome, just need to change some line of codes, and it works like a charm.

Until now, contentful is a good idea.

I am going to develop comment feature, and typo/grammar correction for the visitor to help me correct the typo/grammar mistake.

Thank you very much. Hope you can see my blog will not break for next ten years.

TODO:

  1. Implement RSS or Email subcribe

P/s: I also add a new section: TIL. In this section, I write down what I learned today. This section is not used for show up, and I only tell about this blog to a few of my friends. The TIL help me to summarize the day, let me know what I learned, and aware me if I did not learn anything. You know, just 0.1% better every day, and we have 360 days. I also set Slack to remind me to write TIL at 22 o'clock every day.

Thank you.