Archive for June, 2010

JavaScript Object Oriented Programming

June 20th, 2010 by JorisO | 1 Comment | Filed in Front-end development, JavaScript

Practical usage of classical object oriented programming methodology in any scripting or programming language can usually be explained by setting apart the language-specific implementation of the principles of polymorphism, inheritance and encapsulation.

JavaScript is somewhat of a different animal when it comes to object oriented programming. It is one of the few widely spread (or even the most widely spread) fully prototype-based programming languages. Prototype based languages depend on premises different from what most programmers familiar with object oriented programming techniques have come to rely on.

(more…)

Tags: ,

@font-face

June 13th, 2010 by JorisO | No Comments | Filed in CSS3, Front-end development

A big handicap graphic design for the web had to put up with until recently was being limited to a small number of ‘web-safe‘ fonts. These web-safe fonts were the lucky few considered so widespread that the chances of having a visitor that didn’t have them installed were negligible.

The fact that something as primary as the ability to download online fonts was lacking in HTML / CSS for so long made it necessary for third party technology-based hacks (as for instance sIFR) to fill up the gap.

(more…)

Tags: , ,

CSS gradients

June 6th, 2010 by JorisO | No Comments | Filed in CSS3, Faster websites, Front-end development

CSS gradients promise a great leap forward for the graphical capabilities of CSS. A CSS gradient is in fact a browser-generated image, consisting of smooth fades between several colors. Letting CSS create these will decrease download times and allows for many new interesting DHTML possibilities.

Both linear and radial gradients are supported by the new CSS specifications. At the time of writing CSS gradients are supported by Mozilla and Webkit browsers but Internet explorer offers something similar in it’s usual non-compliant manner.
(more…)

Tags: , , , ,