Need advice about which tool to choose?Ask the StackShare community!

Spring MVC

422
416
+ 1
0
Yii

625
335
+ 1
293
Add tool

Spring MVC vs Yii: What are the differences?

Spring MVC: A Java framework which is used to build web applications. A Java framework that follows the Model-View-Controller design pattern and provides an elegant solution to use MVC in spring framework by the help of DispatcherServlet; Yii: A high-performance PHP framework best for developing Web 2.0 applications. Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

Spring MVC and Yii belong to "Frameworks (Full Stack)" category of the tech stack.

Spring MVC and Yii are both open source tools. It seems that Spring MVC with 30.6K GitHub stars and 19.6K forks on GitHub has more adoption than Yii with 4.86K GitHub stars and 2.22K GitHub forks.

According to the StackShare community, Yii has a broader approval, being mentioned in 58 company stacks & 32 developers stacks; compared to Spring MVC, which is listed in 12 company stacks and 11 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Spring MVC
Pros of Yii
    Be the first to leave a pro
    • 41
      Open source
    • 32
      Code generator
    • 32
      Simple
    • 28
      Active record
    • 25
      Full featured
    • 20
      High performance
    • 20
      Documentation
    • 19
      Rapid development
    • 15
      Flexible
    • 10
      Mvc
    • 9
      Not bloated
    • 7
      Community
    • 7
      Amazing
    • 7
      Stable Release
    • 6
      View Helpers
    • 6
      Long Term Support
    • 5
      Modular architecture
    • 4
      Easy setup, easy develop

    Sign up to add or upvote prosMake informed product decisions

    Cons of Spring MVC
    Cons of Yii
      Be the first to leave a con
      • 1
        Unnatural love of arrays
      • 1
        Too Opinionated
      • 1
        Promotes bad practice
      • 1
        Promotes spagetti code

      Sign up to add or upvote consMake informed product decisions

      What is Spring MVC?

      A Java framework that follows the Model-View-Controller design pattern and provides an elegant solution to use MVC in spring framework by the help of DispatcherServlet.

      What is Yii?

      Yii comes with: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use Spring MVC?
      What companies use Yii?
      See which teams inside your own company are using Spring MVC or Yii.
      Sign up for Private StackShareLearn More

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with Spring MVC?
      What tools integrate with Yii?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      What are some alternatives to Spring MVC and Yii?
      Spring Boot
      Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
      Rails
      Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.
      Spring Framework
      It provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform. The framework's core features can be used by any Java application, but there are extensions for building web applications on top of the Java EE platform.
      JSF
      It is used for building component-based user interfaces for web applications and was formalized as a standard through the Java Community
      Vaadin
      It is the fastest way to build web applications in Java. It automates the communication between your server and the browser and gives you a high-level component API for all Vaadin components
      See all alternatives