On hacking into airline lounges

I was reading a really interesting article today on Wired about a guy called Przemek Jaroszewsk, Przemek had figured out that airlines don't check the bar code on boarding passes against your booking. He was therefore able to get into airline lounges without a first class ticket. He presented this…

On utilising the Module Pattern and reusability in javascript

I am a big fan of organisation and reusability. In PHP, OO and MVC acheive this very well, with good abstraction, service and repositories, you are onto a winner. JS on a lot of the agency projects that I have been working on has ended up being the poor cousin…

On how to do CSS properly

CSS is often the poor relative of a project, it is 100% important to the build, but it just seems people chuck styles into it to get it working. Here are my top tips to get you they best results. Don't write straight css, use LESS or SASS and organise…

On a new job, learning Symfony and getting a bit wiser.

Every time I learn something new I think back to the guy who got me into coding as a profession, whenever I felt paticularaly pround of myself for figuring out a problem he would say "In web development, every day is a school day". Nothing is more true in web…

On building an Angular Gulp Seed to kickstart your projects

I got started with Angular towards the start of 2014, the learning curve has been really different to anything I have done before. Upon building a fairly large scale CRM, I settled with using a lazy loading methodolgy utilising RequireJS. I had done this for a previous large scale project…

On how PHP Storm will revolutionise your life!

There are so many featusres that I love about PHPStorm, moving from sublime or even Notepad++ is the biggest step forward that you will get in your day to day workflow. One of the best features is the built in code formatter. It makes it very simple to set my…

On how to learn Laravel & Object Oriented PHP

Since starting out with Laravel, I have considered it to be the best thing to happen to PHP since it's inception. The documentation is fantastic and the build / design patterns are second to none, with the best ideas implemented from other languages (such as ruby on rails). So where do…

On the lessons that I have learnt from building Angular applications

Learning Angular has been a really stepped learning curve for me, more so than any other language or framework. Here are my top guidelines to get you started on the path, Do not build your application and its operations around the Document Obect Model(DOM). You need to stop thinking…

On CSS - Choosing between LESS and SASS?

Neither LESS or SASS is inherently better than the other, it generally comes down to which one you have found first. Originally LESS was differentiated from SASS by the fact that a valid CSS stylesheet could be considered a LESS stylesheet to begin with, and then could be extended as…

On Callback hell and how to avoid it in Angular.

Normally when making an AJAX call in Javascript, an action is required after the completion of the call in order to, for example, display the data that been retrieved or acitvate some kind of popup. The real issue occurs due to the fact that the call is asynchronous, it may…