These technologies are getting more and more laughable with each passing minute.
I installed VS 2012 express just so that I could peruse the SPA template. This template shows me that there are no less than THREE places with the same property names - model, DTO, and now JS VM. All this so that we can use "POCOs" and have the bloated EF
create YET ANOTHER set of properties with proxy objects. Hilarious.
Web API is a great technology - I hate to see it fall into the hands of monstrosities like this. The emperor has too many clothes.
What you've found unuseful other people have found to be very useful and vica versa.
For instance you say that WEB API is a great tech while i believe that one and only which is worth is the original ASP.NET ... everything else is just a fun for the crowd. Period
Remember to click Mark As Answer when you get a reply which answers your question.
My Blog: ASP.NET Stuff
I'm not really questioning the usefulness of an idea or technology. But when I see 600+ lines of code running the gamut from HTML, C#, JS, CSS to create a page with some sticky notes... and the only reusable bit is the CSS file, I start to question the motivation
for these things. Is it just to be new and different? We're told that it will be a "better user experience", but there are many ways to achieve that apart from a SPA.
If MS is going to put their blessing on these things, they need to do better than a single "Index" view with what looks like it will grow into a massive tangle of if...else statements. As I said... Seriously?
Lest you think I'm just old school, I do think knockout is cool, jQuery is indispensable, and as I said I think Web API will be a huge boon for productivity targeting all kinds of devices.
We know there are many ways doing it, including using many different SPA frameworks. But we do hope this sample template can be a good starting point for the new developers in SPA.
Thanks for the suggestions, really appreciate it.
Xinyang Qiu
Web framework and Tools
Microsoft
Thanks and Best Regards
Xinyang Qiu, Azure Web Platform and Tools team, Microsoft
I've seen also previous implementation of SPA and it was way harder to use, maintain and debug. Current implementation is way simpler and I don't see any problem in amount of code. Of course, it would be nice to have some good way how to generate DAL for
JavaScript but it is not actually showstopper. What I miss are caching features of Upshot.
These technologies are getting more and more laughable with each passing minute.
I installed VS 2012 express just so that I could peruse the SPA template. This template shows me that there are no less than THREE places with the same property names - model, DTO, and now JS VM. All this so that we can use "POCOs" and have the bloated EF
create YET ANOTHER set of properties with proxy objects. Hilarious.
Sounds like your arguing against the pattern rather than Microsoft's implementation. It makes perfect sense to anyone that's suffered from a growing SPA that didn't do these things.
In a To Do list app it looks like a waste of time, but a to do list app is easy to understand and then take the concepts from to produce something much bigger and more complex.
OldCrustyDev...
0 Points
2 Posts
Seriously?
Jan 11, 2013 09:38 PM|LINK
These technologies are getting more and more laughable with each passing minute.
I installed VS 2012 express just so that I could peruse the SPA template. This template shows me that there are no less than THREE places with the same property names - model, DTO, and now JS VM. All this so that we can use "POCOs" and have the bloated EF create YET ANOTHER set of properties with proxy objects. Hilarious.
Web API is a great technology - I hate to see it fall into the hands of monstrosities like this. The emperor has too many clothes.
Kulrom
Contributor
4836 Points
895 Posts
Re: Seriously?
Jan 11, 2013 09:45 PM|LINK
What you've found unuseful other people have found to be very useful and vica versa.
For instance you say that WEB API is a great tech while i believe that one and only which is worth is the original ASP.NET ... everything else is just a fun for the crowd. Period
My Blog: ASP.NET Stuff
OldCrustyDev...
0 Points
2 Posts
Re: Seriously?
Jan 11, 2013 10:09 PM|LINK
I'm not really questioning the usefulness of an idea or technology. But when I see 600+ lines of code running the gamut from HTML, C#, JS, CSS to create a page with some sticky notes... and the only reusable bit is the CSS file, I start to question the motivation for these things. Is it just to be new and different? We're told that it will be a "better user experience", but there are many ways to achieve that apart from a SPA.
If MS is going to put their blessing on these things, they need to do better than a single "Index" view with what looks like it will grow into a massive tangle of if...else statements. As I said... Seriously?
Lest you think I'm just old school, I do think knockout is cool, jQuery is indispensable, and as I said I think Web API will be a huge boon for productivity targeting all kinds of devices.
xinqiu
Member
486 Points
116 Posts
Microsoft
Re: Seriously?
Feb 04, 2013 10:10 PM|LINK
Hi, all, thanks for the suggestion.
I admit, we created more like a sample instead of a template. You can take a reading from http://www.johnpapa.net/insidespatemplate/ and http://blogs.msdn.com/b/webdev/archive/2012/12/19/mvc-single-page-template-update-for-asp-net-and-web-tools-2012-2-rc.aspx to see why we did certain design choices. Basically, we are trying to demo the SPA concept on a reasonable simple project to interest people who are new to SPA concepts,
We know there are many ways doing it, including using many different SPA frameworks. But we do hope this sample template can be a good starting point for the new developers in SPA.
Thanks for the suggestions, really appreciate it.
Xinyang Qiu
Web framework and Tools
Microsoft
Xinyang Qiu, Azure Web Platform and Tools team, Microsoft
DigiMortal
Contributor
5728 Points
954 Posts
MVP
Re: Seriously?
Feb 04, 2013 11:26 PM|LINK
I've seen also previous implementation of SPA and it was way harder to use, maintain and debug. Current implementation is way simpler and I don't see any problem in amount of code. Of course, it would be nice to have some good way how to generate DAL for JavaScript but it is not actually showstopper. What I miss are caching features of Upshot.
I just played with current SPA and I managed to use the codebase to try out TypeScript, more about it in my blog post Moving ASP.NET Single Page Application to TypeScript. Take it as a proof of simplicity :)
Also visit my ASP.NET blog or follow me @ Twitter:twitter.com/gpeipman
timgriff1785
Member
4 Points
9 Posts
Re: Seriously?
Feb 06, 2013 11:49 AM|LINK
Sounds like your arguing against the pattern rather than Microsoft's implementation. It makes perfect sense to anyone that's suffered from a growing SPA that didn't do these things.
In a To Do list app it looks like a waste of time, but a to do list app is easy to understand and then take the concepts from to produce something much bigger and more complex.