While Google is a fully-automated search engine that will naturally find your web site with 'spiders', we aren't patient people and sometimes we want to get our content listed / updated as soon as possible. This article looks at some of the tricks of the trade for getting your content updated more quickly.
Adding google authorship to a web site allows google searchers to see a headshot of the author. This is a great way to make your content stand out from the rest and studies have shown these 'Rich Snippets' can improve your click through ratio. This article gives a step-by-step guide for setting it up on your site regardless of if your email address is on the same domain as your blog / site content.
When adding a lot of your own classes on top of the Drupal 7 framework you may well want to add your own autoloader. This article looks at the options for including individual files, and how to add a custom autoloader for many files.
In this article we'll look at how you can easily create triangles which are great to use on things like buttons using just a few lines of CSS.
This post looks at how to use canonical urls to maintain control over SEO ranking for pages that Google considers to have 'duplicate content'.
In this article we'll be looking at creating a responsive content slider using basic HTML, CSS and JQuery. This is a great way to provide some nice visual transitions for your visitors while maintaining accessability on different platforms.
ORMs such as Doctrine and database API's like PDO or MySQLi offer prepared statements which provide stronger security for your queries. Unfortunately they can be harder to debug as it's difficult to see the 'end' sql that's actually being sent to the database. There's no way to achive this server side with PHP however there is a quick way to view what's going on behind the scenes without installing any extra software...
Cron jobs allow you to run scheduled tasks on your server. This can be useful if you need to back up, clear or sort data on a regular basis. In this tutorial we're going to look at setting up a simple cron job via command line that will call a designated url each day.
With tablets and mobile devices taking an increasing share of how web sites are accessed, testing on multiple platforms has become essential. It can also be a bit of pain. Accessing your work can involve convoluted solutions such as uploading it to a publicly available area where you can browse to it on your tablet or mobile. Wouldn't it be so much easier if you could just view your local environment? Luckily, 37 signals are here to help with a clever little solution that allows you to do just that. In this short tutorial we'll look at how you can setup your local development environment to be available to other devices on your local network.
Having a good deployment strategy can save you a lot of time and pain. Commonly most developers will start out by deploying projects over FTP, tracking any changes for new features and re-uploading as required. For smaller projects or when you’re working alone this simple system can be perfectly adequate, but when your projects and development team get bigger, tracking all the changes can be a logistical nightmare. In addition to this re-uploading an entire site via FTP and manually updating a database is tiresome. Surely there's a better way...