Projects

New Section on Portfolio Website

Posted in Projects, Technology, The Internet on January 1st, 2010 by Paul Boocock – 4 Comments

Well, I hope you aren’t all too hungover today, luckily I’m not despite having a little tipple last night. Its finally time to share some of this news that I’ve promising to spill over the past few days.

I’ve started developing Android applications and my Android apps now have their very own section on my portfolio website. If you head over there now (www.paulboocock.net) and have a look in the Android section, you’ll be able to get a glimpse of my first project, a widget called  Social Update.

I’ve also made some nice under the hood improvements to my site, including the navigation section. It now loads from an external php file which works out which link needs to be white depending on your current URL. Its my first attempt at php and I was really surprised at how easy it was, although I did only need a couple of simple if statements. I’ve also used a server side include (SSI) to load this navigation file so it should appear invisible to users, very nice indeed.

To load the external file, I simply used

<!–#include virtual=”menu.php” –>

at the location where I wanted my Navigation section on my page.

I also had to include a .htaccess file on my server so SSI’s worked.

.htaccess
Options +Includes
Options +FollowSymLinks
AddHandler server-parsed .htm .html

As for the simple PHP, I simply wrapped my links up in an if statement which checks the current URL.
<?php
if (curPageName() == “index.htm”)
echo “<li><a href=\”index.htm\” class=\”whiteLink\”>Home</a></li>”;
else
echo “<li><a href=\”index.htm\” class=\”blackLink\”>Home</a></li>”;
?>

And for the curPageName() function
<?php
function curPageName() {
return substr($_SERVER["REQUEST_URI"],strrpos($_SERVER["REQUEST_URI"],”/”)+1);
}
?>

Fun times. Once again, have a good new year…you’ve even got something to look forward to now.

The Airport Project – Now Available

Posted in Projects, Technology, The Internet on April 25th, 2009 by Paul Boocock – Comments Off
The Airport Project Page

The Airport Project Page

I’ve just uploaded one the the projects I have recently been working on. This is quite a fun app to play with (at least for 3 minutes) and shows off some interesting use of concurrency. Give it a download or have a flick through my source code (Its pretty untidy, had a bit of a rush on to meet my projects deadline). Click here to visit the project page.

Latest Project

Posted in Projects on April 3rd, 2009 by Paul Boocock – Comments Off

Today I demonstrated my latest project at university. Got myself an A+ =). It will be up on my project website soon (Under C#), but for now, heres a little teaser screenshot.

The Airport, My latest C# project

The Airport, My latest C# project

Just so you know, the program and the source code will be going up on the 22nd April, the day after hand in. This is to stop anyone copying my code/ideas.