Monday October 6, 2008

Scott’s Spiel

The blog of a Glasgow medical student, St Andrew’s first aider, Mactard and slacking web developer.

Archive for September, 2008

More 2.7

Posted by Scott On September - 17 - 2008

About 3 weeks ago I wrote a post showing some new features for WordPress 2.7. Since then there has been a bit more developing going on and this post touches on a few more features.

As I mentioned back then, things can and very likely will change by the time this release is completed so don’t come back complaining to me when things don’t look the way the do here.

A excellent post on the Weblog Tools Collection has also appeared between these posts and this goes into some more detail about the major additional features. The comments on this post were an interesting read with many people split over yet another admin design change. Whilst I can understand where they’re coming from, 2.7 does make a few good changes that I know I’ll certainly find useful. My advice to critics therefore would be to give it a try and see what they think. If Subversion isn’t something you’re familiar with then feel free to ask for a bit of help.

Read the rest of this entry »

Aiding WordPress devs - filter reference

Posted by Scott On September - 3 - 2008

WordPress development, on a whole, is pretty simple. As someone who has come from a background working with IPB and a little bit of phpBB I was quite amazed at how unusual it is to edit the “core” WordPress files - those which are outside the wp-content folder and are distributed each release.

Instead WordPress relies on hooks that are either filters (which change something) or actions (which do something). These are quite simply littered throughout the code and any plugin can jump on these to do whatever is needed by the developer. However, the problem I’ve found is a lack of trying to find the right hook for the job. PHPXref, which is excellent for finding functions and variables doesn’t have the ability to find a hook which is usually in the format of:
do_action('name', $vars); or apply_filters('loginout', $output);

Read the rest of this entry »

Google Chrome

Posted by Scott On September - 2 - 2008

If anything sets the internet community buzzing it’s rumours about new programs and services, especially from the big players such as Apple, Google or (heh) Microsoft. With Apple we usually have a few months of leaked information to speculate about. However Google’s Chrome browser, expected out in the next hour, was only leaked around a day or so in advance.

That’s not really stopped the gossip though. Fueled by a 38 page web comic Twitter and the Blogosphere have been going all day long as the release of the browser aproaches.

Judging by the content of the comic this browser could stir the browser wars back into full assault. I particularly like the focus on performance that Google seems to have worked hard on. If I have any gripes about Firefox then speed is certainly it. Version 3 has certainly improved things slightly but it’s still no match to Opera or Safari in both starting the application and loading pages.

Read the rest of this entry »

New theme

Posted by Scott On September - 1 - 2008

So I’ve been working on this for most of today and I’m pretty happy with how it’s turned out. I’ve considerably edited a free theme which was designed for a magazine site to something acceptable for personal use.

Comments welcome, I’m particularly interested in whether anyone feels it needs improvement. If anyone can find any bugs then let me know.