Archives for 2011

Posts are listed in reverse chronological order, newest to oldest.

  • Overloading Constructors in Java

    Overloading: bad for boats, but endlessly useful in the programming world. In this post, I'll show you how to take advantage of this core concept in Java.

    Continue reading…

  • The Not-So-Great PHP/MySQL Tutorial, Part 2

    So, assuming you read (and completed) Part 1, you should have a functional database connection script and an input page. Part 2 will cover how we get our data back out of the database.

    Continue reading…

  • The Not-So-Great PHP/MySQL Tutorial, Part 1

    Ok, so let's assume you've been given a simple task. You need to be able to record some basic data about some theoretical employees, and then produce some basic output. Let's cover a few rules first.

    Continue reading…

  • Making Your XML Sitemap a Little More Useful

    I've had a sitemap for this site for quite a while. Google (and the various other search engines) loves them some sitemaps, since it helps them crawl your site a little faster and more efficiently. For those of you wondering what a sitemap is, it is a XML document that contains an element for every public-facing page in your web site. A good sitemap follows the standard setup by, a collaboration between Google, Yahoo, and Microsoft to establish a standard sitemap format. You can deviate from the sitemap protocol if you're feeling rebellious, but the search engines will respond by ignoring your sitemap (and perhaps your site in the process).

    Continue reading…

  • Using LINQ to Easily Serialize an Exception to XML

    I was working on my capstone project last semester, and ran into a need to log exception data to a portable format. I loves me some XML, so that was my obvious (and, let's be honest, only) choice. .NET includes a lot of built-in code in most data types to allow for seamless serialization, so I thought this would be a simple matter.

    Continue reading…