call:0141 881 8915

Our Work

  • click to learn more about MCM-Hotels project
  • click to learn more about Ocean-Village-Reviews project
  • click to learn more about Find-that-Hotel project
  • click to learn more about Thomson-Ships project
  • click to learn more about Ninja-Battle project
  • click to learn more about Jolly-Soft-Toys project
  • click to learn more about J-%26-S-Painters project
  • click to learn more about MIG-Contracts project

Web Development Basics Part 3: Getting started with programming

Getting into programming is difficult for many people, there are a lot of questions that need answering.  Web Development was hard for me,  I had struggled with programming in further & higher education.  I learned very little in terms of the professional standard that is required from industry level websites.  If you are doing a course in university I suggest doing projects solo in your spare time.  The best advice I can give is:

Be Fearless, break things, it WILL happen no matter how good you get

The language I will be using is PHP (Hypertext Pre-Processor). HTML(Hypertext Markup Language) is a formatted document of information (<h1>, <h2>, <b>,<a>, <p>).  HTML are static the information served to the user is contained within the document, PHP Tags contain code that do process information that comes from either user input/action or a data source(Database/Feed/Text file).

PHP can output different HTML depending on the PHP process e.g instead of writing the HTML of your address book, you can put all the information in a database and use php to repeat the same format for every member of your address book. And PHP will make it look the same but the work required will be significantly less. I will show you how to import data in a later lesson, but for now I want you to grasp the importance of how repeating tasks through programming will make your life simpler.


HTML Address Book


PHP version

PHP version


Both these examples produce the exact same result, the advantage of the php version is that when you get a new contact you can update your database and the php script will respond and show your new contact, with the HTML version you will need to add in the information manually. For a contact list this might not be a huge hassle but what about when your contact list reaches the thousands, what if you want to sort your contact list by. These are all excellent reasons why you should keep information like this in an external data format e.g. if you used a database you would be able to change very quickly how the data is ordered without having to manually move around <li> tags.


Other ways to save time in PHP

Using the date function could be handy when generating a date e.g. If you have a copyright notice on your site and you want to display the current year you can use echo date(‘Y’); which will display the current year. The date function can be adapted to display any date format, if you wanted to show the date as DD/MM/YYYY  change the “Y” in the previous example to reflect the characters shown here, you would use echo date(“d/m/Y”); this will display 29/11/2011 on the time of writing & will display todays date..  To display older dates using this function you need to have the date in a specific format known as a  unix-timestamp, e.g. echo date(“d/m/Y”, 1317302387)  will display 29/11/2011 regardless of the date.  Protip: time() will give you the current timestamp.

  • trim() removes trailing spaces to the left and right of a bit of information (” Word ” -> “Word”)
  • strtolower() makes a peice of information all lower case (“WoRd” -> “word”) – strtoupper() does the opposite
  • $_SERVER['REMOTE_ADDR']; returns the users IP address
Next post will explain Operators, if statements and boolean values.
October 6th, 2011 by | Leave a comment

Web Development Basics Part 2: Setting Up a Webserver

Last week in Web Development Basics: Part 1, I explained what the kinds of tools required to begin developing websites that can respond to a user action.  This week the topic is how to set up a web server on your computer so your computer can execute programs and scripts as though it was a live website.

The software we will use is XAMPP which is Apache, MySQL, PHP and Perl is a nice little bundle for you;  it is relatively easy to install.   This example will be installing XAMPP on a Windows Machine, but using the link provided you can download the same software for multiple Operating Systems.

Step 1. Download XAMPP and open the file.


September 15th, 2011 by | Leave a comment

Web Development Basics Part 1: The Tools

Note: This series assumes you are knowledgeable in HTML

vim editor and code

Web development is a fun field to work in, it can also be one of the most difficult to break into and it is not always clear where to start. While the industry may be fun, it is also very fast paced and you have to willing to learn and re-learn things constantly, there is always better and more efficient technologies and practices to adopt and research.

One of the most common questions about web development is “What is the best language for coding?” to which the answer is none. There  is no “better” scripting language, just more suitable ones.  While at More Click Marketing I mainly develop in PHP, it is fast, open source and free, I dabble in other technologies such as Ruby-on-Rails and ASP.NET.  The most important thing to learn isn’t a language, it’s how to program.


What is web development? what is programming?


August 18th, 2011 by | 4 Comments

Testimonials testimonials icon

More Click Marketing provided a really professional service and I was kept up to date with the progress of my design.

J&S Painters

Fast service. I was using my website in two weeks and a week after that I received my first order for work. Websites look very clean, fresh and professional. I recommend MoreClick Marketing to everyone.

MIG Contracts

Twitter Updates twitter icon