Making a responsive canvas

Not too long ago I looked at working with HTML5 Canvas.  It’s a great little thing, and I am working on some posts to explore it more and what it can do.  However I have just ran into a problem with it which others have found, and something which is going to trip people up at some stage.  It’s not responsive.  This means that when you put your canvas work onto the web and view it on different devices, it’s not going to scale with the viewport.  Nightmare.

Continue reading “Making a responsive canvas”

Setting up your web server

I spend quite a lot of time on StackOverflow, both in terms of finding answers for something I need, and also for helping people out with their issues.  One question I see quite a lot is around security permissions for creating files on the server.  Usually these questions are for PHP, and as such I’m going to address this post as if PHP developers are sensible and deploy on a LAMP stack.

More often than not, I see the posts and they have something along the lines of the following:

I’ve set the permissions to 777 but it’s still not working

It makes me want to turn into the Hulk and smash things.

Continue reading “Setting up your web server”

Keeping data secure

Following the news this week that South Wales Police have been hit with a fine of £160,000 for not reporting missing data for two years, I got thinking about the importance of keeping data secure.

The case itself is an extreme example of why you should keep data secure.  You really don’t want evidence in a very serious case just going walk about.  Beyond that, looking more towards home personal data, there are many good reasons of why you want data to be secure, and many ways of doing it.

Continue reading “Keeping data secure”

Version Numbering

I’ve always found version numbering interesting, and wondered how they are thought up by companies.  With Mozilla jumping Firefox from 3 to 30+ in a very short space of time (about 3 years, Google getting Chrome from 1 to 41 faster than you can say “Is this the latest version”, and Microsoft going from IE4 to IE11 in around 20 years, it doesn’t lead to a simple answer.  I did a bit of research, and found that there isn’t a hard and fast rule on how to do it.  Jeff Atwood over at Coding Horror covers this better than I ever could in his post “What’s in a Version Number, Anyway?

In a nutshell, people don’t care about version numbers.

Continue reading “Version Numbering”

Hopefully the last of the changes

‘Tis the season for change, it seems.  And after a lot of chanes with the site and jobs, I’ve had to make yet another change.  Namely to my web-hosts.

I orders a VPS with 1 and 1, configured it and set this domain to be transferred to them so everything could be working nicely, just as I want it (and so I could play around with server management).  After a week of waiting for the domain to be transferred I thought I would get in touch with them to see whether I had made a mistake, or when the domain was going to be transferred.  I got the following response from them:

Continue reading “Hopefully the last of the changes”

A professional Change

Change isn’t always an easy thing to do, but it’s exactly what I have been doing.  I’ve changed where I work, bringing down the curtain on my second stint working with OpenCRM.  I’m moving on to work for Codebase 8 who design and build bespoke software solutions, both for the desktop and web.  I’ll still be working with the technologies I love, and developing web applications; just in a different setting and not strictly in the CRM market.

I wish everyone at OpenCRM the best going forward, and hope it continues to go from strength to strength.  I know they have a lot of really cool things currently in the development pipeline, and some big changes in store which will be great to see when the rest of the world gets access to them too.

Yet another change

Hello and welcome to my new website, again.  I last changed the site in March 2014, so just over a year ago, and now I’ve done it again.  This time, things are a little different though.  I’ve ditched Joomla and any other regular CMS, and have rolled my own.  I’ve not done this because I think existing CMS products are inferior or rubbish; I actually have quite a lot of respect for them.  I’ve done it as an exercise for myself to get used to working in an MVC driven way, more so for when I was in the process of changing jobs (more about that in a different post).

Continue reading “Yet another change”

Getting started with CakePHP 3

I mentioned back in my blog post for “Yet another change” that I was looking to use CakePHP for a project I had in my head that I wanted to start on.  Today I had some time free so I thought I would get set up with CakePHP V3.0, and follow their user guide.  I went through the various steps within the tutorial, and when I came to load the page, I was presented with a blank screen.  Completely blank, no error message, no indication of what might be wrong, and not even any mark-up.  Nothing in the logs folder to guide me.  After a while of trying, I decided to use the terminal to see if it could help, so I did the following:

Continue reading “Getting started with CakePHP 3”

Why Windows 10 is not bad thing

Microsoft have announced that their new operating system, Windows 10, should be ready for release later in 2015.  If history is to be repeated, we can look forward to new machines being shipped with it in August, and the general public can get their hands on it in October; which is what happened with Windows 8 back in 2012.  That’s not a very long life for Windows 8, which was frowned upon for having lost the “Start” menu (brought back for 8.1) and generally being designed for tablet and touch screen users rather than those on a traditional desktop.  Personally I have always liked Windows 8, even if it did take some getting used to.  Yes 8.1 is better than standard 8, and much more user friendly, but I think the dislike towards the current operating system is because Microsoft made a change from what it’s had people get used to for the last 20-odd years.  Windows 10 looks to bring that format back, using a mix of the traditional start menu, and a slight mix in of the “metro” interface from Windows 8.

Continue reading “Why Windows 10 is not bad thing”