Reputation: 47
I am planning on building my own website from scratch. However, I want it to be in a blog from. I have designed the template/design but before I started the whole writing process, I was wondering: How do you publish posts onto the blog itself?
Let's say I have settled on Github as my web host. After building the website, how will I publish posts? Do I have to implement Wordpress/Blogger into the mix? Because I really want to build this website myself, I was trying to stray away from "pre-made" platforms. However, I was wondering if I could update the website with posts via Github.
Sorry if there are terms that I haven't used properly, I am still new at this!!
Upvotes: 0
Views: 96
Reputation: 5039
Pre-made blog platforms will be way less hassle in the long term, but let's ignore that for now.
It sounds like you have a front-end going and that's fine. What you want is some way to administer the blog. You could do this a bunch of ways, and since you're only writing this for yourself the most convenient way for you personally is the best one to go for.
First and foremost you need some kind of datasource for the blog frontend to pull from. You'd generally have an array of blog posts which would contain a title, a body, time it was posted, etc. The data the posts contain is up to you entirely.
The most common way of doing this is to use a database. You could just as easily do it a whole bunch of other ways though.
Just having a data source is only half the solution however, you'll also want something that can insert data, and modify existing data.
Just a few potential solutions off the top of my head are:
I think the first solution would be easiest/best, or a combination of the first two would be ideal.
Upvotes: 1