Optimize your website mglaman Fri, 11/23/2012 - 16:15
Watching file sizes and following coding standards are only one simple way to optimize your website. Proper HTML will ensure you page is processed as smoothly as possible, but does not mean a major speed boost. When the dust settles from developing a new website, I turn to Google's PageSpeed for the round up of last minute tweaks.

PHP Server Variables

I know when I first started out learning PHP it was difficult finding good examples or live demos of simple PHP in use. Often I'd have a large number of files used to demonstrate built in PHP functions. So, to help any budding PHP developers out there I compiled a list of the PHP Server variables along with what data they provide.  $_SERVER variables can be used in multiple ways from getting information about your visitors to script security.

SR Photography

SR Photography offered a nice gesture, if I created a PHP back-end contact form they would take infant pictures of our new born son.  Created a short and simple PHP script with field validation (NOTE: Did not design site or form, just the back-end functionality of the form).

Game Ladder Script

Two years ago I decided to check out an old gaming group that I used to play with years before that. I created a plugin to seamlessly add a ladder system into their web site.  A ladder system is typically used to match one-on-one matches. This allowed the group to add friendly competition without major overhaul of their web site.  I only made one version, but I plan on developing it a little bit further. The script allows for multiple games,which are dynamically set, and requires only one additional SQL table.