The Cutting Edge Tech Blog


Calculating age from Date of birth by FSherratt

Calculating age from Date of Birth

This has baffled me for years but a couple of nights ago I finally cracked it. How to accurately work out someones Age from their DOB. For this tutorial I’m using the english method of presenting dates DD-MM-YYYY rather than the american way.

It actually rather simple by comparing the date of birth to the current date you can not only work out their age but also whether it’s their birthday or not.

Continue reading

Advertisements


jQuery Basics by FSherratt

jQuery Basics

Since  jQuery 1.4 has just been released I thought i might be a good time to go through some basic jQuery functions and how they can easily be used to enhance a website, keeps users entertained and cut pages. The jQuery library is simple just a large chunk of code that allows you to quickly and simply write JavaScript and AJAX functions.

jQuery Logo

Continue reading



Creating a basic blog using php and mysql Part 3 by FSherratt

Creating a basic blog using php and mysql Part 3

View part 1 here

View part 2 here

Creating the create.php page

In the last tutorial we created a dynamic page to display our blog entries but we couldn’t test to see if it was working or not as we didn’t have any entries, so in this part we’re going to build a form so we can submit our entries.

Continue reading



Creating a basic blog using php and mysql Part 2 by FSherratt

Creating a basic blog using php and mysql Part 2

View part 1 here

Creating the index.php

The index page is the homepage for your blog, for this tutorial the index page will display your blog entries. Why is it called index not home or entries? It’s called index because when we stick it in the root directory the index.php bit won’t appear in the URL so out URL will only be http://www.yourdomain.com for example. This keeps the URL tidy, because a tidy URL is a happy URL. This page is where we start to use php to its full potential. We are only going to have one page to display all our blog entries, how are you going to do that I hear you asking, well I will explain below.

Continue reading



Creating a basic blog using php and mysql Part 1 by FSherratt

Creating a basic blog using php and mysql Part 1

Introduction

In this tutorial I will be showing you how to create a very basic blogging site. This tutorial will be covering:

– Setting up a database and then connecting to it with php

– Setting up your dynamic page to display your blog entries

– Setting up a html form to create new blog entries

These will be covered in detail with all the coding explained and detailed instructions, this tutorial also includes all the source files I’ve created in the process of making this tutorial, these are available to download under the creative commons act (See http://creativecommons.org/licenses/by/2.0/uk/ for licensing agreement).

Continue reading



Create normal maps in blender pt2 by Xptiger

BLENDER GLSL PT2 Saturday 21st March

This tutorial is going to tell you the second method of creating a normal map in blender. You need to have done the normal maps part one tutorial before starting this one. Part 1

Continue reading



NetBean by FSherratt

NETBEAN Febuary 28 2009

Ever wanted to make one of those amazing java applications? Don’t have any money to spend learning? well i may just have the solution. Netbeans is a free application designed specifically for writing java/C++. This article should help you write your first piece of Java code and soon you’ll be on your way to writing a full application.
Continue reading