Wednesday, January 23, 2008

Client side & hosted widgets

So I shut down my mmogwidgets web site. The burden of running my own Amazan EC2 instance, web server, and running a J2EE site was just too much. And the cost was a little out of whack for what it should cost to just run a web site. I was paying ~$70 a month just to run the instance.

There have been a lot of recent advances in the client side AJAX frameworks like Dojo, Ext, etc. I figured, why not do it all client side, offload the processing requirements to the client, and let the widget platform host the widget? There would be $0 cost to me both monetarily and time-wise to maintain the server/web server/application.

What I found out was, it is entirely feasible. So long as everything you're widget is doing is capable of being hosted by the third party widget platform. In my case, there was some flash in the widget that is hosted by another third party website...and apparently you can't include flash in a page that is hosted on a different domain. I don't think Widgetbox allows me to host flash on their servers...so I'm stuck.

Has anyone done anything like this? If so, what were your workarounds for these kinds of issues?

P.S. What is this "Flex" thing I keep hearing about? Some kind of next-gen Flash? I guess I'll have to do some research.