Simplified typedMVVM for webpages

Jul 30, 2015 at 3:51 AM
Just to give you ideas for the updates, I am trying to rewrite my website using WinJS, TypeScript, and TypedMVVM. It's not live but I have the source published here:

So far, it's just your sample, but I've removed a lot of the interfaces. I also rewrote the default.js and navigator.js to use TypeScript. Finally, the DialogService needed to be changed because there is no Windows namespace. I put a ContentDialog element on the root page and use the DialogService to modify it's contents and show it.

As far as CSS goes, it's a mess right now, but I wanted to start simple. FYI, WinJS 4.1 doesn't create a WinJS styled button using WinJS.UI.Button anymore. You just add the '.win-button' class to a regular button now.

Over time, I'll be adding my own content, but this seems like a good start.
Jul 30, 2015 at 12:09 PM
Hi Lee,
thanks for the sample!

It's a very good one.