January 4th, 2019
Each projects folder consists of the following:
- The project update page:
- The project overview card:
- Extra information about the project:
- Folder containing updates:
Each update card is a Markdown files that has the naming scheme:
When a project update page (e.g: this page) is opened, I use a basic PHP loop to run through the update Markdown files and convert them to HTML to then get displayed here.
As for why I chose to use Markdown. Markdown gives me an easy way to put all the information I need across very easily, and given that a Markdown parser is used to convert to HTML, I can also update the style of my Markdown later without having to change any of the Markdown files.
Also, since Markdown supports styling and inline HTML I can do cool things like this:
normal bold italic bold & italic
This is certainly not the best way to do this, but for a small site such as this I think it works more than enough, also I don't want to bloat my site up with huge dependencies that I'm not even going to use 5% of.
December 27th, 2018
Dynamic project cards
Previously, to display a project in the project page, I had to edit the HTML files and add the project by hand.
To save myself a lot of work and allow updates to be added to my projects, each project has a folder that contains all of it's data.
Each project folder contains an
index.md file that is used to display the overview cards on the Projects page.
In order to render these files, I used the PHP library Parsedown. I would definitely recommend checking it out. It's very simple to use, very fast, and very lightweight.
In order to display each project card, I loop through all project directories that contain an
index.md file and create a div with the
.content class then place the HTML created with Parsedown into it.
July 16th, 2018
In order to make my own site easier to maintain, I have decided to switch to a PHP based dynamic page layout.
By doing this, I can change the site style easily and all the pages will update to contain the same look without any work.
February 14th, 2018
Created the site
I decided to create this site to display information about myself and various ways to contact me.
In order to make the site easy to use and friendly to multiple platforms/screens, I have decided to go with a "card" design for all of my content.