Archive for 'Development'

YUI3: My First Experience

With the Yahoo! User Interface (YUI) javascript library now the library of choice at IPC I thought it was about time to start playing with it. Background to Javascript Frameworks My first experience of a javascript library was to build a debug console for my framework. Version one of the console was built in jQuery [...]

Pixelinx Framework

The Pixelinx Framework is something I’ve been having a play around with over the past year. It’s still in relatively early stages but it’s something I’m taking more seriously, and have recently open-sourced. Take a look.

YAML Reference Card

Our projects contain a lot of configuration. So much, in fact, that our parsers have been struggling with the size of our files and causing sites to time out :s. Therefore, the exemplar team have created a reference YAML. We write some default configurations in our reference YAML and then our main configuration can use [...]

YUI errorLogging

As we have decided to start using the YUI javascript framework, I rewrote the logging tool I did for jQuery. I understand there’s already a logging tool for YUI, but if you don’t want to initiate the logger, here’s a quick fix: YAHOO.namespace(’IPC’);   (function(Y) {   var Log = { debug : function(message) { [...]

JavaScript frameworks

We’ve been looking around at what’s available and what we think could possibly suit exemplar best.

jQuery error logging

As I may very well be doing alot of development in jQuery in the up and coming future, I decided to start by writing an exception throwing and logging plugin.

Switching EOL Styles

There are many things in programming that can p*ss you off. Simple things like line endings in the wrong (or mixed) format are even more irritating. For some unknown reason, occasionally my PHP IDE decides, by itself, to start converting my unix line endings to Windows ones. Yes, I do have the correct configuration setup. [...]

Changing the PHP Session Lifetime

As anyone who has attempted to use the default PHP session handler has probably noticed, sessions naturally die after a period of inactivity. What you’ll probably want in most situations is for the session not to die (or ‘expire’) until the user closes their browser. Unfortunately, there is no server-side way of knowing for certain [...]