Posts

Does Using HTML5 Markup Tags On Your Website Improve SEO?

I was asked this question by a colleague recently when discussing SEO and modern front-end web development. I think most of us assume that using proper sectioning elements that HTML5 provides us would help with SEO a tiny bit, so I set out to find the answer and you might be surprised. Understanding semantics In HTML5 we have tags that provide semantic meaning like; main, section, aside, figure, article, header, menu and footer (amongst many others). Using these tags in our page makes for better structure, it also means when Google comes along they don’t have to guess what content is what in your page.

How To Prevent Duplicate Form Submissions Using jQuery

If you’re using jQuery to AJAX post a form then you’re already more than familiar with the caveats of using jQuery to POST a forms contents. One thing I often see overlooked is the disabling of the form while the content is being submitted, there is nothing worse than receiving duplicate form submissions and knowing the fix was simple. Or worse yet, I’ve seen instances where a form has been used to attack a site by constantly submitting it quickly.

How To Fix A Site Affected By The Google Panda/Penguin/Phantom Updates

Recently I encountered one of Google’s latest search engine algorithm tweaks and saw a site that was getting roughly 500 visitors a day drop down to less than 70 visitors per day. It was shocking to say the least, but kind of expected. I left the site, updated it occasionally and noticed the traffic remained low. This wasn’t a problem that was going to solve itself, I knew I had to try and fix it and return the site to its former glory.

Solving "sh: mysql: command not found" In MAMP Pro 2 and MAMP Pro 3

If you are reading this there is a possibility you have run into this error message in your terminal window: sh: mysql: command not found This error is being displayed because MAMP Pro stores MySQL in a location on your Mac that isn’t added to your main $PATH. MySQL is stored in the MAMP Pro bin folder here: /Applications/MAMP/Library/bin/mysql Fortunately the fix is rather simple following the below steps: In your home directory create or edit the file “.bash_profile” you can access your home directory by typing: cd ~/ Add this to the top of the file: export PATH=$PATH:/Applications/MAMP/Library/bin Save the file and then restart your Terminal In your newly restarted Terminal window type: mysql –version This will now map MySQL to your path and allow you to access it by just typing “mysql”

Adding Location Based Search To Your Website/Application Using Google Places Autosuggest

If you have used Airbnb before, then you would be familiar with the location field where you type your desired location and it gives you a dropdown of suggested places based on what you type. I have seen sites that try and build their own location databases, but we all know it can be a difficult and sometimes expensive task to obtain up-to-date global location information for cities, landmarks, postal codes, regions and more. The Place Autocomplete API gives you the power of the Google Maps search dropdown without needing to buy the data.

The Expendables 3 Movie Piracy Conspiracy Plot

Recently Variety posted an article titled Expendables 3 Flops: Is Piracy To Blame? in which a case is made whether or not the movie leaking onto torrent sites 3 weeks before its official release damaged it at the box office. The movie fell short $10 million of its expected $26 million, debuting at $16.2 million in revenue which is atrocious when you compare that to other movies that debuted at the same time as it did like Teenage Mutant Ninja Turtles and Lets Be Cops.

My Soundwave Festival 2015 Wishlist

The now massive and widely successful Australian music festival for rock, punk and metal genres is back in 2015 with a new two day festival format. This is due to complaints from prior years with timetable conflicts, disagreements with larger bands wanting headline spots and overrall the standard festival issues that arise. Personally I am really excited about the rumoured bands for the festival. My ideal line-up would contain most of, some or best case scenario all of the following bands. Following the traditional Soundwave formular we can expect to see a lot of bands that made an appearance and didn’t piss AJ Maddah off making an appearance at Soundwave Festival 2015. Some of the bands on my wishlist played Soundwave Festival 2012, so there is a good chance some of these bands will be there.

Should Cyclists Have To Pay Compulsory Registration?

There are a very few words in the English that can incite rage at the sound of them like the word “cyclist” can, especially in Australia. The topic of “whether cyclists should pay registration” in Australia has been brought up quite a few times by some people, but is it a good idea? Misunderstanding When cyclists hear the words “compulsory registration” you can literally hear the veins in the heads of lycra laden cyclists popping out from their foreheads.

Wrapping Items Every X Iterations in PHP (without using counters or the modulus operator)

Recently whilst working on the reskin of a mammoth web application written in PHP, I encountered a scenario where I needed to wrap elements within a div every four iterations. The task is simple enough and if you’ve worked with WordPress before especially, you’ll know the aged-old approach is to use a counter and then the modulus operator. While the modulus and counter approach does work, it is hacky, complicated and messy. You’re probably wondering if there is a better way and there this.

Dear Misinformed: Please Stop Trying To Replace MySQL With NoSQL For Everything

Since NoSQL databases like MongoDB hit the mainstream scene a few years ago, it’s not uncommon to come across numerous Stackoverflow and Quora posts from people asking if or how they should replace a MySQL database with X NoSQL database. The reality of the situation is you should only make such decisions based on your needs. Blindly picking a database without first assessing whether or not you need too or if it’ll even fit your use-case is a dangerous position to find yourself in.