Please sir can i have some more PHP Documentation!

It is undeniable that there is a laissez-faire attitude among developers when it comes to code. Coming from a Java background where everything is fairly tightly defined in terms of best practices and how things should be done, PHP is almost the opposite.

This is appealing at first, as it makes learning the language easy, as well as making PHP do what you want with relative ease when compared to a .NET or Java solution.

However, a major drawback is that it soon becomes the Wild Wild West of coding Continue reading

Bash Shell Scripting Tutorial

After a certain point, i think every single web developer has to evolve to a point where you become well versed with the command line.

Whether you are on linux, unix, windows, android and everything in-between then it is essential to the craft.

You can sync and migrate thousands of files much faster using rsync or svn than ftp, as well as maintain better source control, migrate a large MySQL database in a few minutes vs Continue reading

CSS3 and more – The compatibility Holly Grail?

I think that with the more popularity that CSS3 gains and the more standard it becomes, one of the mysteries is what browsers support is offered for the new features in the release.

Luckily if you are looking for a pretty cool, and up-to-date compatibility listing of CSS selectors and pseudo selectors browser compatibility, then i think that this is a good link to take a look at.

They offer a pretty in-depth look at all the various css selectors, with their releases from 1 to 3, and lets you know EXACTLY if there is explicit support for that particular browser. Continue reading

WordPress hysteria rant – Be proactive not reactive

So it seems that i am being verbally bludgeoned to write, so if that was the request, then here we go.

Firstly there was no official word from WordPress for about 3 days. 3 days of radio silence while security “sources” had posted this information for public consumption for some time.

So i do not know what you want the community to do? Sit and close their eyes, and act like nothing is happening? Read no news sites or blogs until there is word from the official provider of the product.

If there was an actual breach and users had not been vigilant, i think you (annoymous) would not be as adamantly posting, and sending slightly over-zealous commentary?

To make it worse there was a code review for WordPress 3.0 beta Continue reading

Google chrome wins the HTML 5 compatibility test. IE very far behind

As the big year in web development continues HTML5 is getting even closer to becoming more standard. This has been helped by Google’s Chrome browser has scoring high marks on an the HTML 5 compatibility test according to geektechnica.com.

It is an interesting site where you can read about some of new developments in HTML 5 and try the browser compatibility test page where you can see how your browser stacks up out of a total score of 160 points.

It was interesting to note that Chrome finished first with 137/160, Safari second with 113/160, Opera third with 102/160, Firefox a sluggish 100/160, and the usual suspect Internet Explorer 8 (IE 8), Internet Explorer 9 (IE 9 )scoring a blazing 19/160 points.

The finals results were: Continue reading

WordPress hack fix – Check your permissions

It seems after the brief period of quiet and uncertainty the main cause of the vulnerability attacking WordPress blogs was revealed. The security magazine over at darkreading.com noted that is was the storing of critical information as plain text in the database is what left users exposed.

Earlier i had noted that there was a problem with sites going down, and on a variety of different hosts as a result of some malware, that used SQL injections.

“The attacker basically created a scanner to locate all configuration files containing incorrect permissions” – darkreading.com

Continue reading