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...
There are a handful of developer technologies that can revolutionise the way that you work. Version control is one of them and an absolute must if you’re working in a team. In this article we’ll be looking at what version control is, how it can help you, and where to start.
In this article we’ll be looking at creating a full screen video player using HTML5; you can see some excellent examples of where this has been implemented by various developers at awwwards.com. We’re going to look at two implementations, firstly an embedded HTML5 player that is responsive to the size of the screen that maintains the original ratio of the video, and then another that will ‘zoom’ to fill the whole screen.