Hello,
I think losing the WebForms functionality will have an effect. But I have 2 points on this:
- WebForms controls still can be used in ASP.NET application together with MVC.
- It is unlikely to be compatible with MVC.
Bad (which is actually good :-)) thing is developers should learn new things good thing is there's no ViewState+full HTML control :)
As for the js-libraries.
I see people really love two ones: jQuery and ExtJs.
Important difference is their licensing:
- jQuery - Dual licensed under the MIT and GPL.
- ExtJs - LGPL or commercial.
So ExtJs seems to be more strict in terms of licensing.
I cannot understand if it is allowed by the LGPL to sell (distribute for installation on client machines) the web site that uses/modifies LGLP library? What are the restrictions in this area?
The good thing is ExtJs can be used on top of jQuery (it has set of adapters). So both libraries can be used successfully together.
I had have a look at projects like ExtJsSharp some time ago. Also there was one nice project on ExtJs that integrated Design-time support into Visual Studio. Not sure what its status is.
This is very interesting idea, but personally I prefer to write the JS by hand instead of generating by a framework. There are also some diadvantages, related to performance with this approach (script are always embedded into page, additional server load).
It's like companies tell "you don't need to know HTML/JS/CSS, just use our tools". People like this and use their tools. At the end they should learn and write JS anyway :).
Nothing against C# generated JavaScripts. Just my personal preference.
One more thing. Why then do we need ASP.NET Ajax? Can somebody give points why we need it in MVC apps?
I can see one: if MVC is used together with WebForms, then ASP.NET AJAX is a good choice because of server-side integration.
So, what about some survey for the ASP.NET MVC community which javascript library to contribute to?
This would allow everybody to move in the same direction.
What I'm trying to achieve:
- Choose set of most suitable JS libraries for ASP.NET MVC.
- Choose which one is more suitable for most people.
- Stick MVC to this library (like RoR to Prototype).
This would probably allow people to contribute into the same project and make it much better, than people would contribute into different ones.
As for step 1 I propose to choose following libraries:
As I said, the good thing about ExtJs is it can be used on top of both jQuery and Prototype. So having ExtJS, it will be easy to use one of these too.
Then I (or anybody) can create survey on step 2 and post it here (if moderators will allow).
Start new contribution project (or existing MVCContrib) based on the results.
So this way client-side library support will be under development based on people's opinion, not just by guessing.
It would be targeted.
Ok. Sorry for the long post :)