@dmiral0

Hello everyone.
Is the Javascript framework that msn spaces uses for gadgets closed
I mean -> can i get it from anywhere I will try to do an offline test page for gadgets. By the way, Does anybody want to help me


Re: Web Gadget Development Offline SDK

ToddOs

If you mean, is the framework available for use outside of Spaces and Live.com, the answer is "no". There is no downloadable version of the Web Gadget framework that you can use.

That said, the concepts behind the framework are similar to ASP.NET AJAX, which is available for your use and can be used as the basis for your own gadget platform. Of course you'd have to build it yourself, similar to what Pageflakes has done with ASP.NET AJAX, and it wouldn't be compatible with Windows Live web gadgets.

A better question would be, what is your goal Why do you want to try to use the Windows Live web gadget framework outside of Live.com or Spaces Knowing that may help with finding a solution.





Re: Web Gadget Development Offline SDK

@dmiral0

I didn't mean that.
My goal is to create an environment to debug your own gadgets. For many users it may be diffucult to create gadgets if they can't try them an easy way. The environment would consist in a simple htm page with WEb gadget framework attached to it.
Live.com isn't so good to debug gadgets...





Re: Web Gadget Development Offline SDK

ToddOs

Have you looked at http://test.livegadgets.net/gadgets/TestPlatform/testpages.htm It's pretty much exactly what you want. Obviously it's not going to work offline, and it has some other issues as well (the Spaces blocks don't support everything you can do with Spaces, making it difficult to debug a Spaces gadget), but it works great for the 95% case.



Re: Web Gadget Development Offline SDK

@dmiral0

thank u very much... I found another way. I added the gadget to my own spaces with an external storage (110mb.com). It works for debug... even if the way to debug it is very hard... I've got to make many alerts....




Re: Web Gadget Development Offline SDK

ToddOs

You realize you can debug javascript, right If you're using IE, go into the "Advanced" tab of Tools -> Options and uncheck the "Disable script debugging (Internet Explorer)" option. Once you do that, you can attach Visual Studio to IE and set breakpoints. If you're using Firefox, the javascript debugger should be built-in.

One other useful thing to know is that you can load the iframe by itself. Once you've added the gadget to your Spaces page, setup your preferences and switch to the mode you want to test (view or author), then right-click the gadget background and choose properties. The URL in the properties dialog should look something like "gadgets.start.com", which is the URL of the iframe where the gadget is running. If you copy that URL and load it into your browser, the gadget will run. That makes it easier to debug than if you had to load the full Live.com or Spaces page. If you're going to test this way, you'll still need to do some testing on both Live.com and Spaces, but this method should get you most of the way there.





Re: Web Gadget Development Offline SDK

@dmiral0

thanks