Thursday, February 19, 2009

Embedding things

Weekly rip on ACM: All of our problems tonight could have been avoided if ACM had a decent "preview" button. (Of course, we could've double checked everyone's work more carefully and get the same result, but blaming the technology feels better than admitting fault.)

On an unrelated note, the draft of the MoneyCommons Widget is coming along. I'm really surprised that the hardest part so far was embedability.

That's really weird. I started using php because it allows for Includes. You can type a short line of code that literally splices documents together. And for some reason that I think involves the positions of files after they've been rendered by WordPress, including the widget on the page gave me an error.

I wound up going the iframe route. And yes, I'm one of those web-standards people doesn't like iframes. But it's cross-browser compatible, it looks okay, and it's very embedable.

I'd never been a big fan of Flash. Partially because the first large project I ever did on it became corrupted. True, it's good at animation, being a video player, etc. But as far as interfaces go, Javascript + CSS are easier to use and do a better job.

But at the same time, my dog could embed a Flash object in a page with no real extra work of the developer's or the dog's part. Not true for the sort of js/php/css interfaces I built for PRX and (sort of) the widget. (Entire stylesheet had to be restructured to make the iframe work.)

Does this mean I'm warming up to Flash? Maybe. I'm still convinced its overused (although not as much as it used to be), but that doesn't mean I don't want to learn it.

And that's why I'm seriously considering that Flash authoring class for next semester.

No comments:

Post a Comment