Entries Tagged 'Design' ↓

On doing things right the first time

Those of you who look at the site regularly: You’ve probably noticed that there are a lot of broken pages. That problem should be rectified within the next few days.

Note to any programmers out there: As much as I value practice through experimentation, there is something to be said for finding out how to do things right before you put everything together.

Case in point - When putting links to vital PHP scripts for each page, I used static links. Yesterday, our lovely host had to move the site to another server as an emergency measure…thereby breaking every single static links for these vital bits of script that the pages are built with. I’ve fixed most of them, but it will undoubtedly take me days to find them all (and maybe not even then…).

And all this, simply because I was ignorant for the longest time of the simple PHP global variable $_SERVER[’DOCUMENT_ROOT‘], which would have prevented this whole thing in the first place by locating each file relative to the root directory of the site.

Sigh.

If you know of any pages that are broken, leave a comment or E-mail webmaster@thedeconline.com. Your help is greatly appreciated.

Something new on the horizon

Every so often, it’s time for a change.

And although I don’t like divulging secrets, let me just say this:

A change is coming, and it’s for the better.

Actually, the change is already happening, and you can see it on the site as of this post. (Hint: Click on the photo gallery.)

Stay tuned: More to come.