Christmas Break

snowWell, I’m back at home for Christmas Break and have found myself on a corrected sleeping schedule. I’ve been up everyday by 6 am so far since Wednesday morning. It’s amazing! I was up this morning at 5:30 am, but the bad thing is that I’ve been crashing at night around 9:30 or 10.

Well, since I’ve been home I’ve gotten just a little of my shopping done and even done some odds and ends that I’d been needing to do for a while now. It’s good to have some time off to catchup on things that you’ve been wanting or needing to do for a while. It’s just too bad that I’ll be rushed at getting all of the Holiday gifts for friends and family.

no-www.org and kyleabaker.com..

nowwwSo you might be wondering what this post is all about with such a weird title. Basically, me being the little web developer that I am, I’m pushing myself to learn new standards and actually use these standards as I further my knowledge of web design. I mean this both in the visual sense as well as the behind the scenes or backbone coding sense.

I strive to apply standards to everything that I have on this site. It is actually evolving as I learn more and understand how to implement some of the standards that I’ve learned. I know by now you’re wondering what this has to do with No-WWW and kyleabaker.com, so I’ll break it down for you..

I just recently (as in today) did some server side work to force a domain redirect from www.kyleabaker.com to kyleabaker.com. This is in theory how most all websites should handle the www sub-domain. The reason being that it is redundant for most all websites. For example, with my website I have no other sub-domains served to the public. When visiting or browsing this site you will never need to enter a sub-domain to navigate this site. Therefore the use of ‘www’ is understood. This is how the majority of public websites on the Internet are today. The exceptional websites would be sites such as yahoo, google, ms, etc…that actually take advantage of sub-domains such as ‘mail.blah.com’ or ‘search.blah.com’. However, it is still understood that when visiting Google.com for instance that the ‘www’ can be left off. If you’ve ever seen websites do this in the past then it was probably because they had a crafty URI and wanted it to stand out by removing the ‘www’ automatically.

If you would like to learn more about No-WWW then visit their website at no-www.org. You can also test your site there to see what class level your site is in. The most common is Class A, but the small editing that I did moved mine to a Class B. Class A means that the site is accessible with and without the www, however, it does not redirect to the non-www URI (or from the non-www to the www for that matter). Class B means that the site does redirect to the non-www from the www sub-domain. Class C (which is very strict, but according to standards is how websites should be designed) means that visiting a site with ‘www’ at the beginning will get you a 404 file not found page, but non-www version will pull up the site perfectly find. If you want to see one of these sites in the exact opposite form then try visiting the following links (their implementation is the strict like Class C, however they have the allowed sub-domain and blocked sub-domain backwards.):

http://ncsecu.org <- Should work, implemented wrong
http://www.ncsecu.org <- Works for them

If you have any questions about this or any other standards (this one being supported less than most) then please do ask questions or feel free to look into their site and find a bit more information!

New site design under way..

I’ve been working on redesigning the site a bit so it doesn’t feel so cluttered. I’m not finished yet and still have a bit of cleaning up to do. However, I wanted to get some comments, feedback and constructive criticism. Please let me know the goods and the bads. If you can..please give a suggestion or 20. :D

I don’t want to officially launch the design yet, so I’m waiting for reviews. I’m curious if it’s better or worse and what is better or worse about it. I haven’t gone as far as setting up cookies or passing the css tag, so the style sheet will only apply on pages with css=2 appended to them. If you view another page and would like to see how it looks with the style sheet then just add ?css=2 at the end and press enter. Here are some links to get started..

http://www.kyleabaker.com/?css=2
http://www.kyleabaker.com/archive.php?css=2
http://www.kyleabaker.com/news.php?news=71&css=2

Check them while their hot! I’ll be removing this feature/option soon and these links will be disabled. ;)

UPDATE:
New design is up. I’m still tweaking it and working in the comments and suggestions. Thanks for the feedback!

Screenshots now use on-the-fly thumbnails

phpI finally got around to implementing thumbnails for the screenshots to the right and in the gallery! Basically, instead of loading full screen images (which take ages to load on a slow internet connection) you are now loading images that have been shrunk from the originals down to the size that you see so no bandwidth is wasted and you see them load much faster!

Here is how it works:
The script that I’m using takes a src param and a width param. [You’ll see this if you’re viewing the source of the images. ;) ] The src (or source) param is the path to the original full size image. Once the source or path to the image has been established, the script shrinks and caches (saves or stores) the image on the server and then sends it to you. This makes my job of maintaining screenshots much easier!

Just thought you ought to know. ;) You most likely would never have known that these images were served to you on-the-fly and are not actually stored on the server in the sizes that you see. Just a neat little php trick!

If you’re interested in the script that I used you can find it at phpthumb.sourceforge.net/. It’s open source and updated fairly often (just enough so it’s not out of date, lol).

Enjoy the faster page loads!