Technical information on this site may be out of date : no updates since 2015

Web fonts with @font-face

July 17, 2009 , posted under css design fonts

When the web first started everything was in Times New Roman, black on grey with few images.

Things have moved on a long way since then, but there are still very few fonts. I’ve worked on many sites that have tried to overcome this by various routes.

Read More…

Drupal and TinyMCE

July 7, 2009 , posted under drupal javascript tinymce jquery

I’ve been working on a Drupal project to build a CMS for the production and management of very specific content.

The emphasis is all on the backend system, with tight field size limits (character count including markup) and restricted input (specified tags only).

Because of this I needed to use TinyMCE fully - restricting the valid_elements set, and adding event handlers for paste, and keyup.

Read More…

Things to like about Symfony so far

June 28, 2009 , posted under php symfony frameworks mvc

A few days into learning Symfony and so far I’m keen on

  • configuration check to start with
  • good MVC separation
  • ability to generate initial MVC components from a database definition
  • form validation to match database constraints
  • wrapping various HTTP functions and globals in a request and response object
  • separate dev and prod environments
  • ajax integration - like defining a div as draggable in PHP
  • explicit support for initial and test data

Read More…

Less is More (CSS)

June 22, 2009 , posted under css ruby

CSS revolutionised web development, <font> and <table> were a nightmare in comparison.

But still there are times when CSS feels very limited, if you want to change a colour or margin size and have to hunt through the CSS to calculate the related changes.

But now there is

http://lesscss.org/

Read More…