Hi, Welcome to my Portfolio and Blog. Take a look around and find out who I am and what I do and why not develop your online skills by learning a coding language through tutorials written by me. More »

 

Function Arguments

In the latest version of PHP there are well over 5000 functions built into the core of PHP these functions range from echoing and printing a string to creating and manipulating files and databases. In this tutorial I will show you how you can create you own functions.

Website Analysis

So you’ve finished off designing your website now its time to get on with optimizing your website for speed and loading times. To help with the analysis of your website I spent many hours trawling the internet for the best website to analyse my website. Well here are my 2 favourites.

GTMetrix.com ScreenshotGTMetrix – (http://www.gtmetrix.com)

GTMetrix.com is a advanced website allowing everything on your website to be assessed using Google’s Pagerank and Yahoo’s YSlow algorithm’s. GTMetrix also gives you tips on how to optimize those to gain the best rated website.

After spending a couple of hours optimizing my website my website speeded up its loading times by approximately 5 seconds. I also improved my SEO and upgraded my rating on both Google’s Pagerank and Yahoo’s Yslow.

 

Pingdom.com Screenshot

Pingdom Tools – (http://www.pingdom.com)

While searching I also found Pingdom.com which shows a detailed view of the connection and loading times of each individual file. Using this I was able to find out which files were taking the longest and in the case of the javascript. Optimize their loading sequences.

Pingdom Tools also shows you when each file is loaded this can give you the view of files that load simulataneously.

What You Need To Host A Website

Wether your a beginner or an expert with websites there are 3 important items you need on your checklist when setting up a website.
– A Domain
– A Web Host
– Good Content

Read our article to get yourself upto date with the latest know how’s and get your website up and running with out the extravagent costs.

License System

In this tutorial we will be developing a license system which can be used with construction of any scripts you develop.

How the system will work.

First the client or the website script will send off a request to the server using PHP and Curl. This will initiate the response page on the server side it will then retrieve the license from the database using the details provided from the client. The status will then be sent back to the client if unsuccessful an error message will be sent. The client then received the output. Should the license be invalid the script will exit and an error message displayed.

CSS Sprite Generator

Name: CSS-Sprites
URL: http://www.css-sprit.es
During my search for improving my Page Rank and YSlow scores, I came across this site. CSS-Sprites has a easy to use interface with the ability to upload multiple images with ease unlike other comparable websites. CSS-Sprites not only allows you generate the image but during the generation CSS-Sprites creates the required CSS code and allows generation of a roll over effect on the images for use with buttons. Best of all its completely FREE.

Changes

After some personal issues I have decided to close the hosting company company-host.com. All clients have been notified and have been dealt with by myself. Although this may seem like bad news we always have the upside, For the last time I have switched web hosting over into the hands of  hostmediauk.com which after reading lots of reviews and by my short experience with them so far, I am very glad I have. The server is located within the UK allowing quick loading times within the UK, Europe and with my additional WordPress optimization the rest of the world.

Another big change is the switch of primary domain to .com from .me. I have always had both registered but have decided to keep .com as the primary domain extension just for personal preference the .me extension has been redirected for convenience :) .

With time not been taken away from tutorial writing by web hosting stuff. I will now be able to post more tutorials more regularly. I hope to get at least 1 out every month. I will try stick to that but any ideas on what tutorials people would like to see would be greatly appreciated. I will also be transferring tutorials from PDF format to HTML any current tutorials written that are in PDF format will still be kept in a PDF format.

I would appreciate any questions you may have about me, my website or my tutorials. Without your contributions and regular visits my website is nothing. So please don’t hesitate to contact me on me@peter-kelly.me