When I started to write a blog, I found that I couldn't get started. I didn't know how to classify files, nor how to organize code. I hope tech experts can give me some advice. Thank you. :) when I started my blog, I found that I couldn't get started, my files didn't know how to classify them, and I didn't know how to organize code.
I hope tech experts can give me some advice. Thank you :)
Reply content:
When I started to write a blog, I found that I couldn't get started. I didn't know how to classify files, nor how to organize code.
I hope tech experts can give me some advice. Thank you :)
It gives you a simple design, two tables, the post table and the category table.
One of the articles can belong to only one category, and there is no upper or lower level between categories.
Post
Id int (10) Auto-incrementing primary key
Title varchar (100)
Content text
Category_id int (10) category ID
Create_time int (10) Creation Time, UNIX Timestamp
Modify_time int (10)
Category
How can I expand my work in the future? (For example, the classification is transformed into multi-level, the article can support multiple categories, add user support, and add the article status)
Isn't pure html better? An article is a file.
Directly create a page on github, then markdown the article, and git push the release. As a programmer, you deserve such a blog!
Finally paste my own https://lloydzhou.github.io