This is the first time I’ve looked into SPA applications, and thought that durandal looked good, as I am already doing it with a knockout.
I found an example of using durandal and typescript here , but typescript does not look very typical. that is, it is not in the module and securely wrapped, member variables are blown out of the water. It also doesn't seem to use most of the definitions in the durandal.d file, which makes me think that there might be a better way to do this.
Now I am a complete newbie to typescript, so I don’t understand how to do this, but at first glance it seems pretty simple. But getting durandal working with it seems pretty hacked and that it would be cleaner to write it in plain javascript. This is fine if you do this, but I was looking forward to the typescript going through its steps.
Can anyone recommend a SPA that works better with typescript? I'm going to take a look at Breeze, but more suggestions would be very welcome. Especially if they contain links to sample projects.
thanks
source share