What's new on spencerkellis.net?
I really enjoy working on this website, so there are new features added fairly often. Here's what I've been working on in my free time:
- Delayed Content Loading
In a continued effort to speed up page loads, I used a creative mix of AJAX and PHP to delay the loading of certain snippets that require a fair amount of SQL transaction to get and display their content. You'll notice these as you browse the site - they'll say "loading..." and then fill up with content after a second or two. I find that the page finishes its loading much faster, and I'm considering how best to use this technique in the big picture.
- Lots of code!
I've been wondering how much code I've really written over the past several years so I finally figured out how to count the number of lines in all of my PHP, CSS, and JS files. Here's the stats (this is counting only the code I've written):
Filetype Frontend Backend Combined PHP 7,637 7,461 15,098 JS 1,185 551 1,736 CSS 1,197 1,728 2,925 Total 10,019 9,740 19,759 Wow. Nearly 20,000 lines of code. Not necessarily good, right? :)
- Large View
In keeping with my measly web 2.0 efforts, I've added some pizzaz to the large view of my images. They now black out the screen and fade in the image full size instead of clumsily opening up a badly-sized new window.
- Privacy Policy
I wrote up my policy on privacy, including an explanation of what data I collect when you visit my website and how this information is used.
- AJAX
I implemented simple AJAX functionality to avoid fully reloading entire pages when you rate an image or submit comments.
- Original Image
On images I have post-processed, I will upload the original image along with the main, edited image for the purposes of comparison. You can view the original image by clicking the link under "Quick Links", or right underneath the image title, click "view original »"
- Search
You can now search all of my content, including articles, photos, and tags (and all of their notes, etc.).
- Better tag organization
You can explore tags by popularity or how recent their content is. You can also view all tags.
