Optimization Tutorials

  • By
    5 Rules For Using Audio/Video Media on Your Site

    I don't create many sites that feature multimedia. Most of my customers don't have a need for audio or video on their site but we occasionally get a request to add an advertisement or webinar. That said, I've scoured the internet enough to have seen good...

  • By
    My Website Tools

    For those of you who eat up my RSS feed (thank you), you may not know that I have some pretty helpful tools on my website.Alexa Rank FetcherYour Alexa rank can come into play when you try to sell advertising on your website.https://davidwalsh.name/alexa-rank-fetcher/CSS CompressorDon't make...

  • By
    Compress Your XHTML Page Output Using PHP Output Buffers

    Us programmers love to keep our code readable and neat, which is why we use hundreds of tabs and line feeds in our code. The problem with doing this in the web programming world is that our users don't care about our neatly indented code.

  • By
    Organized, Short Folder Structure Using mod_rewrite

    I tend to be over-organized when I create the folder structure of my customers' websites. I like using descriptive file and folder names for a number of reasons:Search engine friendly URLS and image names (for image searches)Descriptive file names give users a "preview" of the...

  • By
    PHP / MySQL Database Optimization Function

    After frequent record deletion from your MySQL database tables, your tables can acquire overhead. Overhead is empty space left inside the database table due to the deletions. A great way to speed up your MySQL database, not to mention keep it compact, is to...

  • By
    PHP Optimization – Using A Timer To Benchmark Code And Increase Speed

    One of the best parts about being a programmer is that there's seemingly always a better way to do things. A simple code tweak can drastically improve the execution time of your web application. The faster your application executes the quicker you release precious server resources.The...

  • By
    Optimizing Your Website Content For Print Using CSS

    Now that you've optimized your website structure for print and you've isolated the content worth part of your page, you can move forward with optimizing your page content for print. Remember that we included our "main" style sheet with the media "all," meaning that those...

  • By
    Optimizing Your Website Structure For Print Using CSS

    As much as I read articles online, I still print a fair amount of them out. Sometimes I print them to pass on to others, other times to read again when I have more time. Unfortunately a great deal of websites put no effort into providing...