C++ Templates solved: How to split the class declaration and implementation into separate files

October 2nd, 2008

Templates Background

Templating is one of the major enhancements added to the C++ programming language, extending the capabilities of the original C programming language.  In order to best understand their power, considder the following situation:

Read the rest of this entry »

Share and Enjoy:

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Blogsvine
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • NewsVine
  • Print this article!
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb

On the espresso

August 12th, 2008

Game development has always been one of those areas of programming that i’ve found really interesting, albeit one of the hardest. Though as the summer has gone on, my boredom has grew exponentially, and i decided that its about time to start a project to remove some it for now at least.

Read the rest of this entry »

Share and Enjoy:

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Blogsvine
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • NewsVine
  • Print this article!
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb

AJAX - A simple Introduction

July 24th, 2008

AJAX has became the new buzz word of the internet, but what is it? and what does it actually do?

Introduction

Suppose we have a webpage, displaying news.

Now, for the user to switch from one news story is pretty unefficient.
The only part of the webpage that changes is the news content area, though the whole page (graphics and all) is reloaded from the webserver. Wouldnt is be great if there is some way we could only change part of the html?

Read the rest of this entry »

Share and Enjoy:

  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Blogsvine
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • NewsVine
  • Print this article!
  • Reddit
  • Slashdot
  • Spurl
  • StumbleUpon
  • Technorati
  • YahooMyWeb

Writing Secure PHP scripts

July 24th, 2008

One of the most overlooked things in Web Development - especially in PHP - is making sure that your scripts are secure. Here’s some details of some basic mistakes people make when programming websites in PHP, and how these little mistakes can be used by any malicious user to gain access to the website. This is by no means a full article, but it covers the basic errors, and how to remove them from your code.

Ultimately, a ‘hacker’ wants to gain access to a website for a variety of reasons. Maybe to steal users details, bank account information etc, or even just to simply deface it. Either way, as programmers, we have to be aware of the methods they use so that we can write code that is secure.
This article will cover 4 basic areas: