5 Questions Web Developers Need To Ask Themselves

It’s all very well for developers to create visionary frameworks and applications that only they understand – that is the freedom that makes web development great – until someone on the outside tries to work with it!

As far as i’m concerned, at the very least, the view/template of a web application needs to be changeable even to a web designer who has zero to minimal experience working with dynamic websites. Why – when we can create “beautiful” applications with minimal code repetition – because you are breaking the brilliance of code seperation. Its no different to seperating style and content. Lets face – usually, designers are good at design, and programmers are good at programming. Therefore the two skills need to co-exist, happily.

5 Questions to ask yourself:

1. How long would it take a pure web designer (HTML + CSS only) to change any element on any page?

2. How long would it take an average programmer to make some basic functionality changes, such as adding a new database table and running some pre-existing sanitation functions?

3. I’m looking at the website index. If I download index.php (or whatever) how many breadcrumbs do I have to follow to change, for example, the sidebar?

4. Is the folder structure sensible, and have the old files and folders been deleted?

5. Am I coding in a style that only I fully understand, on a commercial project that may rightfully be worked on by other developers that I may never speak to?

Posted in Rants | 1 Comment

How to duplicate a phpBB3 theme

If you ever want to duplicate an existing phpBB3 theme, you might be sorely frustrated when you can’t seem to get any of your changes to take hold. It is sometimes necessary to go to the ACP, and hit purge the cache, however there is a further trick.

First, duplicate the theme folder you want to start with, and rename to your theme name.

Second, you need to go to the theme folder, and open style.cfg, /imageset/imageset.cfg, /template/template.cfg, /theme/theme.cfg, in a text editor. All of these files contain name = value. Rename all of these to your theme name.

Upload all of these changes, then head to the ACP and go to the “styles” tab. Click install on your theme.  On the left hand menu, go to each of the style components, and select install for each one. Then head back to the main styles page and click “details” for your theme. Select the imageset, template and theme from the dropdown menu.

Now you should be done!

Posted in PHP | 1 Comment

No DVD Sound in Windows Media Player?

Had a nice little surprise today after getting a brand new computer, I had no audio available in Windows Media Player. This is basically a result of the machine not having the correct codecs – you’d think Microsoft would be smart enough to include this stuff by default, but alas no. Even after upgrading to WMP11 I still had no luck.

After a bit of research, I discovered if you have this problem, you likely need the AC3 codec. Its dead easy to install – just go here, get the installer and install and restart Windows Media Player.

Posted in Notes | 1 Comment