Web Development

Category for articles related to web development

Programming Tip: Control Your Whitespace

I am writing this blog entry to talk to all the programmers out there, who post regularly post on the board, who are in the industry, who are new or who are experienced... code organization is key to a great looking program and to help reduce your debugging troubles. Often times I sit on the Dream.In.Code web board helping out when I am suddenly hit with a post that is ...

Creating an Online Quiz with PHP

Damn! A Dream.In.Code quiz can be tough I tell you. So many questions, so many answers, so little time! Like the question here "How many times have you been told you are a liar, you must die, or have been put in context of being some freak of nature by Supersloth?" Uhhh... Maybe there is a choice for how many times I have NOT been called one of those ...

Find High / Low Value in Array (Definitive Series)

Welcome to another kick ass entry of the Programming Underground. On today's entry we explore a basic way to find the high and low values in an array as part of our Definitive Series. For those of you who are not familiar with my Definitive Series, it is the exploration of a concept and examples provided for 5 major languages (C++/C#/VB.NET/Java/PHP). Doing a search on my blog will also uncover ...

Fading Objects in Javascript

Ever visit a website and see some elements which seem to disappear or appear with a gradual fade in or fade out effect? Ever wonder how that is done? I am sure you have at one point. You probably dug around Google and would find some long winded scripts that may or may not work quite right. Maybe they are hard to setup and always had bugs. We here at ...

BozoSort Definitive (C++, C#, VB.NET, Java, PHP)

WARNING: PLEASE USE WITH EXTREME CAUTION! CONTENTS MAY BE FUNNY BUT NOT FOR PRODUCTION USE. Programmer Discretion is Advised! Hey you bozos out there, now there is a sort even for you! For those who don't know, a Bozo Sort is a joke sorting algorithm that actually sorts but at horrible timing and is very inefficient. It is good to see it at work from a theoretical stand point but it ...

Autoloading in PHP 5

Autoloading is a relatively easy concept to understand in PHP 5, but little is talked about it for the newbie programmer or those who are coming up out of PHP 4. It is part of that large group of functions known as "magic functions" and is responsible for getting around that large block of include/require statements you may see at the top of many big PHP scripts. In this entry ...