Need advice about which tool to choose?Ask the StackShare community!
Phoenix Framework vs Yii: What are the differences?
Developers describe Phoenix Framework as "Most web frameworks make you choose between speed and a productive environment. Phoenix gives you both". Phoenix is a framework for building HTML5 apps, API backends and distributed systems. Written in Elixir, you get beautiful syntax, productive tooling and a fast runtime. On the other hand, Yii is detailed as "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.
Phoenix Framework and Yii can be primarily classified as "Frameworks (Full Stack)" tools.
"High performance" is the primary reason why developers consider Phoenix Framework over the competitors, whereas "Open source" was stated as the key factor in picking Yii.
Phoenix Framework and Yii are both open source tools. It seems that Phoenix Framework with 14K GitHub stars and 1.76K forks on GitHub has more adoption than Yii with 4.86K GitHub stars and 2.22K GitHub forks.
According to the StackShare community, Phoenix Framework has a broader approval, being mentioned in 73 company stacks & 46 developers stacks; compared to Yii, which is listed in 58 company stacks and 32 developer stacks.
#rust #elixir So am creating a messenger with voice call capabilities app which the user signs up using phone number and so at first i wanted to use Actix so i learned Rust so i thought to myself because well its first i felt its a bit immature to use actix web even though some companies are using Rust but we cant really say the full potential of Rust in a full scale app for example in Discord both Elixir and Rust are used meaning there is equal need for them but for Elixir so many companies use it from Whatsapp, Wechat, etc and this means something for Rust is not ready to go full scale we cant assume all this possibilities when it come Rust. So i decided to go the Erlang way after alot of Thinking so Do you think i made the right decision?Am 19 year programmer so i assume am not experienced as you so your answer or comment would really valuable to me
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 Phoenix Framework
- High performance120
- Super fast76
- Rapid development70
- Open source62
- Erlang VM60
- Well designed46
- Channels45
- Easily Scalable39
- Very extensible35
- Restful35
- Functional Programming11
- Inspired by Rails10
- Great community10
- Beautiful code8
- Ecto8
- Scalable6
- Fault tolerant6
- LiveView feature5
- Elegant4
- Insanely fast and easy4
- Feels like working with rails framework with more power4
- Built-in websocket support3
- Benevolent dictator that decides project course3
- Great integration with GraphQL3
- 2
- Front-End Agnostic2
- Functional approach1
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 Phoenix Framework
- No jobs6
- Very difficult5
Cons of Yii
- Unnatural love of arrays2
- Promotes spagetti code1
- Too Opinionated1
- Promotes bad practice1