May 30, 2013, 7:50 AM
Ext.Net for MVC - How useful it can be?
Hi,
We have converted one of our applications in MVC recently. We are trying to learn the new ways of Ext.Net and MVC and so far have been successful. However, The more I develop in MVC, the more I try to figure the importance of Ext.Net in Views. I have the following questions, which I would realy appreciate if you can answer:
1) Why should I not directly code in ExtJS for Views vs Ext.Net? There is a nice Eclipse plugin which can be used for syntax highlighting and intellisense. Also Sencha Architect does a wonderful job of creating UI by Drag and Drop, something that has been missing in Ext.net since the beginning.
2) One of the biggest features of Ext.Net is DirectEvents and DirectMethods, but we can create a tiny framework to communicate with controllers on Server side. A little effort, but will work well.
3) We are removing all dependencies on the server side for any client requirement. We would be sending simple objects which can be consumed on client side. So no use of X.GetCmp or X.Msg.Alert, etc.
4) ExtJS views will be quick to respond vs Ext.Net since Ext.net will need to render 1st into ExtJS.
So where else Ext.Net going to be useful?
We have been planning a sencha touch UI for sometime now. In that case,
1) We are forced to code in Javascript UI. So why not just learn one way to build UI with ExtJS.
2) Cannot use Ext.net specific code in Controllers apart from Direct Methods. So no X.GetCmp (ofcourse can be use if the component names are same and function same, but very few components). So we are forced to use only JSON object based response, to maintain independence across different Views.
Can you give me your views on the same? The questions have been in my mind for sometime but since we are so used to using Ext.Net its difficult to take a call.
However, I would like you to know that, I absolutely love Ext.Net and its convenience and have used it in many projects so far. All the apps are made in WebForms, and hence can't even think of replacing Ext.Net with ExtJS anytime soon. We will surely be using it as long as you guys maintain it.
As for MVC, its our 1st project and hence we have been thinking of how useful it can be in MVC scenario.
Thanks,
We have converted one of our applications in MVC recently. We are trying to learn the new ways of Ext.Net and MVC and so far have been successful. However, The more I develop in MVC, the more I try to figure the importance of Ext.Net in Views. I have the following questions, which I would realy appreciate if you can answer:
1) Why should I not directly code in ExtJS for Views vs Ext.Net? There is a nice Eclipse plugin which can be used for syntax highlighting and intellisense. Also Sencha Architect does a wonderful job of creating UI by Drag and Drop, something that has been missing in Ext.net since the beginning.
2) One of the biggest features of Ext.Net is DirectEvents and DirectMethods, but we can create a tiny framework to communicate with controllers on Server side. A little effort, but will work well.
3) We are removing all dependencies on the server side for any client requirement. We would be sending simple objects which can be consumed on client side. So no use of X.GetCmp or X.Msg.Alert, etc.
4) ExtJS views will be quick to respond vs Ext.Net since Ext.net will need to render 1st into ExtJS.
So where else Ext.Net going to be useful?
We have been planning a sencha touch UI for sometime now. In that case,
1) We are forced to code in Javascript UI. So why not just learn one way to build UI with ExtJS.
2) Cannot use Ext.net specific code in Controllers apart from Direct Methods. So no X.GetCmp (ofcourse can be use if the component names are same and function same, but very few components). So we are forced to use only JSON object based response, to maintain independence across different Views.
Can you give me your views on the same? The questions have been in my mind for sometime but since we are so used to using Ext.Net its difficult to take a call.
However, I would like you to know that, I absolutely love Ext.Net and its convenience and have used it in many projects so far. All the apps are made in WebForms, and hence can't even think of replacing Ext.Net with ExtJS anytime soon. We will surely be using it as long as you guys maintain it.
As for MVC, its our 1st project and hence we have been thinking of how useful it can be in MVC scenario.
Thanks,