Web Design & Development

Archive for the ‘Tutorials’ Category

Catching the Crook Who Stole Your Laptop!

Saturday, January 24th, 2009

After reading multiple articles, on how people had managed to catch crooks who had stolen their laptops, and reading xkcd. I thought i might as well try creating my own solution.

Before I go any further, this solution is a Mac OSX solution, and requires, that you have some webspace, with FTP access.

I will explain what I wanted the software to do, and how it accomplishes these aims.

  1. Firstly I wanted the software to recognise if the laptop has been stolen.
  2. If the laptop is stolen, take photos of the user, and upload them to my webspace,
  3. As well as uploadinging photos of the user, record their ip, and upload a copy to my webspace.

The above 3 points were the basics of the app. However after reading xkcd, i thought it would be cool to get the application to announce to the world (via its speakers) that it is stolen property, at full volume.

Now i have told you what i wanted the app to be able to do I will explain, how it actually does it. (more…)

PHP Frameworks, Why you should be using them!

Monday, January 12th, 2009

frame work by kaz k
Over the christmas break, I decided to get my hands dirty, and do some coding for some projects I’ve been wanting to get started for the past few months, but have been too busy to start working on. A great thing about working on personal projects is that you have the ability to test out new technologies, and techniques, without worrying about the commercial implications if you dont something correct the first time.

I knew i wanted to write some PHP applications, and wanted to take a strict MVC approach to coding them. The advantage of this is that my code would be cleaner and easier to manage.

So what is a framework some people may be asking.  As a very basic definition I would say it is a collection of classes and functions which will reduce the amount of coding you have to do, which will enable you to perform common tasks. (more…)

An Introduction to SEF URLs

Monday, July 28th, 2008

First of all what are SEF URLs? SEF stands for Search Engine Friendly and URL stands for Uniform Resource Locator (this is what you type into your browser to find a web site e.g. http://www.google.com/.

Examples of SEF URLs

An example of a SEF URL would something like the example below:

http://www.myshop.com/products/books/frankenstein.html

Whilst an unSEF URL would be something like:

http://www.myshop.com/products.php?type=45&itemid=4234

(more…)