Posted on February 22nd, 2007 by headwedge
“What would you do if you won the lottery?”
I would be able to do the 50,000 projects I have in mind!
Don’t get me wrong I would go on holiday and buy a new car but when the dust had settled the most wonderful thing would be to have all that time to spend on my [...]
Filed under: rants | No Comments »
Posted on February 22nd, 2007 by headwedge
So Java Applets did not take over the web interface, because the Java Runtime (JRE) did not become ubiquatous when JRE 2 was left out of IE.
Javascript does a fare job of papering over the browsers cracks but does not cut it on the GUI front.
CSS is struggling to be a standard under the weight [...]
Filed under: code, ramblings | No Comments »
Posted on February 14th, 2007 by headwedge
WARNIING Blogging in the bar, cocktails fuelled musings: Not being able to get a ref to the filter object is a bit of a pain when it comes to initialising it. Which, in turn, limits abstracting and generalising the class. However, the filter registration function at least allows one to pass a parameter which becomes [...]
Filed under: code, colouriser, php, pie in the sky | No Comments »
Posted on February 7th, 2007 by headwedge
Here is a quick try at a filter to add font tags around the opening and closing PHP script tags.
The colouring and layout filters are both appended to the stream and then used on the test harness and the source script to produce the following output:
Filed under: code, colouriser, php | No Comments »
Posted on February 4th, 2007 by headwedge
Having played with adding tags to colour the code it became clear that a FSM to reproduce the layout was the first problem to tackle. Separating this functionality out into its own filter improved flexibility.
Coding a FSM to replace < and > with < and > character codes is trivial. Similarly inserting a〈BR〉 tag for [...]
Filed under: code, colouriser, php | No Comments »