3

Click here to load reader

Spring vs. asp.net mvc

Embed Size (px)

Citation preview

Page 1: Spring vs. asp.net mvc

Difference between Spring and ASP.NET MVC

S.No Spring ASP.NET MVC

1 Meaning:The Spring Framework is an open source application framework and Inversion of Control container for the Java platform.

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 Global Preference:12%

Global Preference:67%

3 Official Website:www.springsource.org

Official Website:http://asp.net/mvc

4 License:Apache License,GPL2

License:Proprietary

5 Development Principles:Convention over configuration

Development Principles:Convention over configuration,Test-driven development

6 Design pattern:Dependency injection

Design pattern:Active-Record,Model-View-Controller,Dependency injection

7 Operating system: Cross-platform

Operating system:Windows

8 Programming language:Java

Programming language:C#, JavaScript,VB.NET,F#

9 Database: MSSQL

Database: MSSQL

Page 2: Spring vs. asp.net mvc

MySQL PostgreSQL Oracle SQLite IBM DB2 JDBC Compatible MongoDB Microsoft SQL Server 2005 Teradata Cassandra

MySQL Oracle SQLite PostgreSQL IBM DB2

10 Template language: JSP JSTL HTML5 Velocity

Template language: RazorEngine ASPX

11 Target audience: Enterprise

Target audience: Enterprise,SMB

12 Difficulty level: Intermediate Advanced

Difficulty level: Beginner Intermediate Advanced

13 Programming paradigm:Aspect-oriented programming

Programming paradigm:Object-oriented

14 Scripting language support: Groovy JavaScript PHP Ruby

Scripting language support:JavaScript

15 Object-Relational Mapping: Hibernate, iBatis, more

Object-Relational Mapping: ORM-independent

16 Testing Framework(s): Mock objects, unit tests

Testing Framework(s): Unit tests, Functional Tests, Integration Tests

17 DB Migration Framework(s):N/A

DB Migration Framework(s): Entity Framework

18 Security Framework(s): Spring Security (formerly Acegi)

Security Framework(s): ASP.NET Forms Authentication (Default), Pluggable

19 Form Validation Framework(s): Commons validator, Bean Validation

Form Validation Framework(s): Yes (client-side via plugins)

Page 3: Spring vs. asp.net mvc

References:

http://en.wikipedia.org/wiki/Spring_Framework

http://en.wikipedia.org/wiki/Asp.net_mvc

http://vschart.com/compare/asp-net-mvc-framework/vs/spring-framework

http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks

And, further updates on difference between questions and answers, please visit my blog @ http://onlydifferencefaqs.blogspot.in/