How to create a blog

Date: 5th November 2021

Introduction

In times past, if someone wants to create a blog, the only recommendation was to use Wordpress.

This blog post aims to teach two methods of creating a blog.

Problems with Wordpress

  1. Well it was written in PHP which doesn’t turn out to be a good language because of the likes of Python and Golang

  2. It wasn’t very configurable: you had to read a lot to configure wordpress.

Solution 1

Use Markdown.

Its a very easy to use markdown and convert it to html in your code. A quick search on Google would provide this.

This approach do not use a database (which are not easy to scale). This approach can be very scalable.

This is the approach I used for this blog.

A problem with this solution is advanced formatting which is not possible with Markdown. And most times these advanced presentation are not necessary.

Another problem with this solution is non-programmers might complain that they don’t want to learn markdown.

Solution 2

Use a Javascript Editor Library

A quick search on google can get you many editors, some paid some free.

I would like to recommend trix editor . I have used this on a project.

In this method you would have to do the saving and retrieval of blog posts to a database.

This approach is easier to the user but you would have to include a database or a files layer.

Any Comments

If you have any comments or objections or complaints or contributions please mail us