Last year, I ran across a nifty web changelog service. Although more than I needed, I liked the simple look for tracking changes. Looking for an opportunity to learn Bootstrap, I added it to my test site. Now that Iím including more features on my main blog, I thought Iíd add a changelog here as well.
A little code reuse with a pinch of style.
Nothing too exciting, the changelog has a nice clean look that fits well with the rest of the site. I even added the same pagination buttons from my test site. Although looking at them now, I should make them work like the article buttons do.
The three chief virtues of a programmer are: Laziness, Impatience and Hubris.
– Larry Wall
As any good programer does, I reused code from my ZX81 program listing. You can trace that codeís origins to another site I wrote. Iíve used it well. In case you didnít notice, I modified the view to match the original changelogís look and feel.
Although close to the inspiration source, it isnít identical. I used the default classes from Bootstrap mixed with the websiteís style. Besides that, I spruced up each entry by adding Font Awesome icons to them. To my surprise, it integrated quite well.
Unlike the test version, which used static logs, this one reads from a database of entries. I can now add, edit and remove each changelog as needed, something I couldnít do before. I ported the BBCODE over as well, allowing it to function much like the existing article editor.
Although I hid the editor from normal users, the changelog is visible to anyone. What do you think?