9.19.2012

Grails 2.0 vs ASP.NET MVC 4.0

Difference between Grails 2.0 and ASP.NET MVC 4
S.No
Grails 2.0
ASP.NET MVC 4.0
1
Meaning:
Grails is an open source web application framework which uses the Groovy programming language (which is in turn based on the Java platform). It is intended to be a high-productivity framework by following the "coding by convention" paradigm, providing a stand-alone development environment and hiding much of the configuration detail from the developer.
Meaning:
The ASP.NET MVC Framework is a web application framework that implements the model-view-controller (MVC) pattern.

Based on ASP.NET, it allows software developers to build a Web application as a composition of three roles: Model, View and Controller.
A model represents the state of a particular aspect of the application. A controller handles interactions and updates the model to reflect a change in state of the application, and then passes information to the view. A view accepts necessary information from the controller and renders a user interface to display that.
2
Community Support:
No. Grails is built on Groovy which is a dynamic language that compiles into byte-code that runs on the Java virtual machine. Unfortunately, the number of Groovy developers in the world are far outnumbered by the number of C, C++, VB, C#, and Java developers.
Community Support:
Yes. MVC 4 may be built on .NET VB or .NET C#. The usage of C# seems to be growing versus VB according to indeed.com job trends. Therefore, in the comparison with Grails, this comparison is focused on MVC 4 .NET C#. The C# open source community is very large. It is not quite the size of Java or C/C++, but it is global.
3
Cost of Development:
Yes. Grails is much cheaper to develop and deploy. It is conceivable that the cost of development and deployment is free since it can be done with open source tools and platforms.
Cost of Development:
No. The cost of development is basically free if Visual Studio 2011 Express is considered sufficient (Note: In this case Visual Studio Professional is used). The cost of deployment is likely more than zero...it depends on the amount of data that is required to be stored and the number of users that would be connecting.

4
OS knowledge required or not ?
Yes. Since Grails runs in a JVM, there is little to no relationship between the JVM and the operating system.
OS knowledge required or not ?
No. The .NET framework is affected by system updates to the Windows operating system. While it is possible to separate the .NET specific updates from the rest of the operating system updates, that is a hassle. Also, due to the success of the .NET framework for Microsoft over past ten years, it has become more intertwined with the operating system. As a result, it is not always clear where .NET begins and and the operating system ends. Therefore, at the very least, ASP.NET MVC 4 requires Windows operating system knowledge and research for each patch deployment...that is an ongoing cost that is arguably greater than that of maintaining a JVM.

References:




3 comments:

  1. "Nice and good article.. it is very useful for me to learn and understand easily.. thanks for sharing your valuable information and time.. please keep updating.php jobs in hyderabad.
    "

    ReplyDelete
  2. IT's very informative blog and useful article thank you for sharing with us , keep posting learn more From
    .NET Online Training Hyderabad

    ReplyDelete