-
Python
Strategy Pattern Sans Objects and Functions
As many of my readers will likely know, my favorite design pattern is the Decorator Pattern, but I don’t think…
Read More » -
CSS
CSS Display Inline-Block Example
In this example, we’re having a look at the display property of css. Specifically, lets see the inline-block value that…
Read More » -
Angular.js
The Top 5 Mistakes AngularJS Developers Make Part 5: Failing to Test
Welcome to the last installment in a series of posts about the popular framework AngularJS. This series is designed to…
Read More » -
CSS
CSS Rotate Image Example
In this example, we will consider image rotation using css. CSS offers a specific property called transform to do this.…
Read More » -
Python
Python: Look ahead multiple elements in an iterator/generator
As part of the BBC live text scraping code I’ve been working on I needed to take an iterator of…
Read More » -
Angular.js
The main goals of Angular 2 and how they will be achieved
Angular 2 is currently still in Alpha/Developer Preview, but the main functionality and the core documentation are both already…
Read More » -
CSS
CSS Horizontal Menu Example
The aim of this example is to show how we can create beautiful horizontal menus using a bit of html…
Read More » -
Python
Python Decorator for Simplifying Delegate Pattern
Recently, I posted about how you can use composition instead of inheritance, and in that article, I mentioned the Delegate…
Read More » -
jQuery
jQuery Submit Form Example
Forms are probably the most common elements of UI design. When using forms, we usually need to perform some actions…
Read More »