PHPDoctor – Simple PHP API Documentation

Out of the many documentation tools out there, one of the easier is PHPDoctor.

Its dead-simple to get started and i think i may do a quick video but again it is another reason why as a developer you should get firmiliar with the command line, as you can generate web viewable documentation for you entire system or application with a single command.

php phpdoc.php myconfig.ini

Continue reading

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 blogs getting HACKED! no fix as of yet?

UPDATE:

No official patch but there is a fix for this now. You can find out  more here… – April 12th 2009

Unfortunately today i read some bad news as SC magazine (April 9th 2010) reported that indeed some WordPress blogs had indeed been hacked! A while ago did write about security and permissions, and this came after working finding a malicious theme that attempted to execute and hack into a WP site from the the themes functions.php.

It seems that Themelab aptly wrote an article called “Dirty WordPress Hack Going Around, Cloaked to Search Engines” , as they noticed there was indeed a vulnerability and potential for SQL injection, or in lay man’s terms “hacking“. The article is dated March 1st 2010, and at the time they noted that,

This particular hack uses some particularly dirty methods which include inserting spam keywords into your own content, which is probably to control your keyword density.

They also point to a trick known as cloaking to inject data into your content, Continue reading

Twitter being used as a box-office sales crystal ball

I think it is a definite reflection on the direction that social marketing is taken when Twitter is being used to predict box office hits, misses and general forecast number, with very good accuracy considering the nature of the subject, the old tweet.

As i read the BBC i saw an article about Computer scientists from the HP lab of social computing analysed about 3 million tweets from about 25 movies. First off it is great to see more quantitative data, as it starts to give a better handle on the larger scale influences social networking has on our lives. So the fact corporations like HP have taken the impact so seriously they have allocated resources and an entire department, dedicated to trends and scientific analysis of the Facebook,   Foursquare and others on our lives outside of the web.

image via flickr

Dr. Bernardo Huberman who is the head of the social computing lab at HP noted something important, all-be-it slightly intuitive, Continue reading