Some JavaScript OOP – Student search Engine.
I was experimenting with object oriented programming in JavaScript yesterday. Imagine the following scenario: you have a list of students. You want to keep their name, age, school year, average mark...
View Articlebase36!
Are you making any piece of software that receives an ID from user input and returns a {post, image, whatever}? May I suggest: base 36? Just look at this: http://example.invalid/?a=1000000...
View ArticlePlay dvds on ubuntu
I absolutely love free and open source software and use it as much as possible, sometimes even contribute to it! So, when my dad brought me a DVD today I wanted to be able to play it on my main OS,...
View ArticleLearning to be careful!
When programming you sometimes need to watch out a bit. Suppose that (in javascript) you have the following: var a = [ 4, 5, 6 ]; Now, say you want, for whatever reason, to create a copy of that array...
View ArticleMy favourite parts of twitter bootstrap
I’m not that good at making my own visual design assets. So when I saw Twitter Bootstrap, it was love at first sight. Basically, it’s a library that gives you CSS and assets like buttons and images to...
View ArticleCreating neat automatic scroll-spying table of contents with tocify
Hi! Today I want to write about my experience with jquery.tocify.js. If you have seen my projects page, you will have noticed that on the left side of the page, there is a table of contents or menu...
View ArticleBookmarklet to remove HTML5 form requirements
So, you’ve made a form, and you’re using the hip and new HTML5 attributes for your elements, such as ‘pattern’ or ‘required’, or “input type=’email’” in order to have an easy client-side form...
View ArticleGet rid of all the apps you’ve authorized on facebook
So, you might have realised you authorized things you don’t even remember about years ago, and worse they’ve started emailing you, posting on your wall, or who knows what. You really want to delete ALL...
View ArticleMove an image around with arrow keys (request)
I often get asked how one can move an HTML element around in a page, because of a project of mine where I used that technique. I decided I would blog about it. It’s actually pretty simple! First, load...
View Articletwitter bootstrap and angularjs directives
The past few days, I’ve been experimenting with angularjs. It’s an awesome javascript MVC framework and I recommend checking it out if you haven’t! One of its features are directives which, among other...
View ArticleDeveloping my solution to npower’s developer challenge
About At some point in June 2013, I received an email from one of our tutors that let us know about npower’s developer challenge. The challenge was to create a working prototype of an online...
View ArticleJquery Infinite Scroll & Backend
Hello! The newest thing that’s caught my attention has been a jquery infinite scroll plugin. Infinite scroll plugins like that allow the page to populate with new content as the user scrolls down,...
View ArticleExperimenting with jquery mobile
I recently checked out jquery mobile, and I was quite impressed. It’s there to help you make a mobile user experience, but what impressed me more was a few things it does in the background, and how...
View ArticleObject-Oriented Programming (OOP) in PHP
Hello and welcome to a (late) Halloween post! We’re going to discuss PHP OOP by making classes for Ghosts, Zombies, and Vampires. But before that, a little introduction. If you’ve read my javascript...
View ArticleThe struggle with year 2 project!
Hi, This is a bit of a more personal post (in that it talks about how I approached a project rather than being a tutorial) but I thought it’d be interesting to share anyway. Our year 2 project in...
View ArticleA look at codeigniter
We’re using Codeigniter at university in our second term, so naturally I had to look at it during the holiday break before it started. Codeigniter is a PHP MVC framework. I prefer it to writing PHP...
View ArticleThings to do while Microsoft Visual Studio installs
Microsoft visual studio (We’re forced to use it for uni, ugh) seems to take forever and a day to install. Here’s a few fun things you can do while it does that: (Note that this is a joke, don’t take it...
View ArticleCodeIgniter core classes
One of the things I liked about codeigniter is it lets you create and extend core classes. For example, say I want to extend the functionality of the controller class so that it does not allow me to...
View ArticleDisplaying an HTML slider’s value
HTML5 sliders, or <input type=”range”> are a cool new input type, but he problem is, the user has no indication of which value they have selected. Luckily, this is easy to fix Firstly you can...
View Article