Skip to content

Something to watch

Dear Reader,

YAML Ain’t Markup Language is a new data transport format that looks to be easy to use. It’s meant to supplant XML which is a bugger to program with. I’m not sure why I would want YAML over JSON. When working in JavaScript, JSON is just so elegant. I work in PHP on the back-end and JavaScript on the front-end, there are JSON implementations for both and it took me less than 10 minutes to get them both installed and passing info when I wrote my test app.

All that having been said, YAML is working closely with JSON to integrate the 2 formats so it could be that JSON morphs into YAML soon anyhow.

But anyhow…


AJAX Frameworks and toolsets. My initial thoughts.

Dear Reader,

Over the holidays I spent a lot of time researching AJAX. Being a PHP developer I looked at everything I saw through the glasses of “How well does this integrate with what I’m doing now?”

I’ve boiled all the frameworks, tool sets and class libraries I looked at down into 2 categories; 1) Back-end centric and 2) Front-end centric.


Blog Magic Eye – Redux

Dear Reader,

Ok, when I put up the original Blog Magic Eye, some of you who read it felt it might have been a bit too subtle. Personally, I love subtle, that’s probably why I like British sitcoms. Unlike their American counterparts, they don’t feel the need to explain the joke to you. Some of you didn’t even get why I referenced Kathy in the original. Well, I’ve made some code changes and by now it should be pretty clear. If not, well, sorry.

Until next time, last night in the valley.


Another WP Plugin

Dear Reader,

Through the fog of Birthday induced depression, I found the time to work on another WordPress plug-in. Building on the work of Jarno Ristaniemi and Clay Smith I’ve added an options page to allow you to set all the options from within wordpress. You can see it in action of you look at my sidebar. This one was fun because it was the first one I did with an options page. Again, kudos to the WP team. I was able to squeeze it all into a single file. Granted it’s still not as complex as some plug-ins I’ve seen but I’m getting there.

Read the install page and download here.

Until next time, the final countdown has begun.


My First WordPress Plugin!

Dear Reader,

I looked up at the clock last night and it was midnight. I’d been tinkering with this idea for 5 hours without stopping. (God, I love it when I get a burr under my saddle!) You programmers in the audience will know what I mean.

This is not an original idea. I saw the guys at Zimbra demo this feature in their mail client at Web 2.0. It struck me as a cool and easy to implement idea. So I set about implementing it. I first did it manually on my resume…just because I start all good projects with my resume. Once I had it working I decided I wanted it in my blog but I really didn’t feel like going back and retrofitting all the URLS with the mouseOver and mouse Out attributes. So I decided a plug-in was in order.

Also, I wanted to see how easy it was to write a WordPress plug-in. My hat is off to you guys. The plug-in was the easiest part of the whole task. Actually getting both IE and FF to play nice was the hard part! When I implemented it on my resume, the JavaScript code to find the current mouse position in IE was:

posx = e.clientX + document.body.scrollLeft;
posy = e.clientY + document.body.scrollTop;

For some reason in the WP environment, that does not work. I had to modify it to say:

posx = e.clientX + document.documentElement.scrollLeft;
posy = e.clientY + document.documentElement.scrollTop;

I’m not sure why it worked in one environment and not the other so I’m gonna research that. Other than that it was pretty easy and a fun way to kill an evening! (Well, I stopped for Veronica Mars but c’mon…who wouldn’t!)

Anyhow, here it is if you want to implement it on your own blog.

Until next time, it’s cold here too…just not AS cold. :)