When web development is taking over your life
Posted on June 2, 2020 with 497 words.
Photo by Pixabay, Pexels
I’ve been working on my website for the past few days on a platform whose programming language I barely know and it’s slowly taking over my life. I started with deploying a new site, tested a few themes to fit what I need and next thing I know, I’ve been working on additional markups for the website.
In case you didn’t know, I migrated my blog from WordPress to Hugo and hosted it on Github Pages (see my footer). I’ve transitioned from the dynamic world of content management to a Static Site Generator.
What is a static site generator
There are numerous articles online about what is a static site generator or SSG. For me, a static site generator eliminates the need for a web server to “build” the contents of your site.
Please speak in layman’s term. Fine!
In the words from JAMstack.org:
Fast and secure sites and apps delivered by pre-rendering files and serving them directly from a CDN, removing the requirement to manage or run web servers.
But WordPress can do this as well without the hassle
I agree but remember, WordPress needs a web host with specific MySQL and PHP versions. You also need a domain as well to have a unique presence on the web. There are companies that offer free WordPress hosting with sub-domains but there is no guarantee if Facebook would allow you to share articles from your site due to the sub-domain being blacklisted.
You also need to maintain your web server: backup your files, pay for add-ons in order to protect your data, etc etc etc. but in the SSG approach, you eliminate the need for a web server because you upload your files in Github. If your Github repo is connected in Github Pages then contents are already served via the
Okay, I’m convinced, what can you recommend?
You don’t need to maintain a web server because most of your code will live in Github. You can also have the option of making your code repo private (or public, whatver you want). Web server security will never be an issue and your content will be served faster because it uses a Content Delivery Network.
I’ve made the switch from WordPress to SSG two years ago but the website is not being developed that much because I got busy with work. Not that I have more time, I can focus on developing my website. I have no regrets in making the switch. I only need to worry about the renewal of my domain.
This work is licensed under CC BY-SA 4.0