Get Advice Icon

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

MEAN

344
617
+ 1
594
Yii

712
386
+ 1
311
Add tool

MEAN vs Yii: What are the differences?

MEAN: A Simple, Scalable and Easy starting point for full stack javascript web development. MEAN (Mongo, Express, Angular, Node) is a boilerplate that provides a nice starting point for MongoDB, Node.js, Express, and AngularJS based applications. It is designed to give you a quick and organized way to start developing MEAN based web apps with useful modules like Mongoose and Passport pre-bundled and configured; 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.

MEAN and Yii can be primarily classified as "Frameworks (Full Stack)" tools.

"Javascript" is the primary reason why developers consider MEAN over the competitors, whereas "Open source" was stated as the key factor in picking Yii.

MEAN and Yii are both open source tools. It seems that MEAN with 11.8K GitHub stars and 3.57K 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 MEAN, which is listed in 37 company stacks and 24 developer stacks.

Decisions about MEAN and Yii

This website was originally written in Yii as PHP was my main language back then. After learning Django, I realized just how quickly you could build a web app with less lines. So I migrated my website to Django in a week or two and managed to cut down the lines of code by half. Some of the lines saving came from the models, the views, and the expressiveness of Python. Django requires like config for the models and they provide many generic views that abstracts away common patterns.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of MEAN
Pros of Yii
  • 86
    Javascript
  • 62
    Easy
  • 58
    Nosql
  • 52
    Great community
  • 50
    Mongoose
  • 50
    Modularity
  • 48
    Open source
  • 37
    Organized
  • 32
    Simple
  • 31
    Boilerplate
  • 10
    AngularJs
  • 9
    CLI
  • 9
    It's simply awesome
  • 8
    Cutting edge tech
  • 7
    Passport
  • 6
    It's a great new exciting stack
  • 6
    Yeoman
  • 6
    Docs
  • 5
    Friendly & Fun
  • 4
    Great Flexibility ;)
  • 4
    The WordPress of javascript apps
  • 3
    Genius
  • 2
    Modular
  • 2
    Scalable
  • 2
    JavaScript only
  • 1
    Growing Community
  • 1
    It's fun and has great potential
  • 1
    Gulp
  • 1
    Because i can write everything using javascript
  • 1
    Fast
  • 0
    The best
  • 42
    Open source
  • 33
    Code generator
  • 33
    Simple
  • 29
    Active record
  • 26
    Full featured
  • 21
    Documentation
  • 21
    High performance
  • 20
    Rapid development
  • 16
    Flexible
  • 11
    Mvc
  • 10
    Not bloated
  • 8
    Stable Release
  • 8
    Community
  • 8
    Amazing
  • 7
    View Helpers
  • 6
    Modular architecture
  • 6
    Long Term Support
  • 5
    Easy setup, easy develop
  • 1
    Easy

Sign up to add or upvote prosMake informed product decisions

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

    Sign up to add or upvote consMake informed product decisions

    252
    18
    4K
    307
    1.3K
    16.8K

    What is MEAN?

    MEAN (Mongo, Express, Angular, Node) is a boilerplate that provides a nice starting point for MongoDB, Node.js, Express, and AngularJS based applications. It is designed to give you a quick and organized way to start developing MEAN based web apps with useful modules like Mongoose and Passport pre-bundled and configured.

    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 MEAN?
    What companies use Yii?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

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

    What tools integrate with MEAN?
    What tools integrate with Yii?

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

    What are some alternatives to MEAN and Yii?
    Mode
    Created by analysts, for analysts, Mode is a SQL-based analytics tool that connects directly to your database. Mode is designed to alleviate the bottlenecks in today's analytical workflow and drive collaboration around data projects.
    JavaScript
    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
    Python
    Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
    Node.js
    Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
    HTML5
    HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
    See all alternatives