Need advice about which tool to choose?Ask the StackShare community!
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.
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.
Pros of MEAN
- Javascript86
- Easy62
- Nosql58
- Great community52
- Mongoose50
- Modularity50
- Open source48
- Organized37
- Simple32
- Boilerplate31
- AngularJs10
- CLI9
- It's simply awesome9
- Cutting edge tech8
- Passport7
- It's a great new exciting stack6
- Yeoman6
- Docs6
- Friendly & Fun5
- Great Flexibility ;)4
- The WordPress of javascript apps4
- Genius3
- Modular2
- Scalable2
- JavaScript only2
- Growing Community1
- It's fun and has great potential1
- Gulp1
- Because i can write everything using javascript1
- Fast1
- The best0
Pros of Yii
- Open source42
- Code generator33
- Simple33
- Active record29
- Full featured26
- Documentation21
- High performance21
- Rapid development20
- Flexible16
- Mvc11
- Not bloated10
- Stable Release8
- Community8
- Amazing8
- View Helpers7
- Modular architecture6
- Long Term Support6
- Easy setup, easy develop5
- Easy1
Sign up to add or upvote prosMake informed product decisions
Cons of MEAN
Cons of Yii
- Unnatural love of arrays2
- Promotes spagetti code1
- Too Opinionated1
- Promotes bad practice1