Get Advice Icon

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

Phoenix Framework

970
1K
+ 1
678
Yii

712
386
+ 1
311
Add tool

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.

Decisions about Phoenix Framework and Yii

#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

See more

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 Phoenix Framework
Pros of Yii
  • 120
    High performance
  • 76
    Super fast
  • 70
    Rapid development
  • 62
    Open source
  • 60
    Erlang VM
  • 46
    Well designed
  • 45
    Channels
  • 39
    Easily Scalable
  • 35
    Very extensible
  • 35
    Restful
  • 11
    Functional Programming
  • 10
    Inspired by Rails
  • 10
    Great community
  • 8
    Beautiful code
  • 8
    Ecto
  • 6
    Scalable
  • 6
    Fault tolerant
  • 5
    LiveView feature
  • 4
    Elegant
  • 4
    Insanely fast and easy
  • 4
    Feels like working with rails framework with more power
  • 3
    Built-in websocket support
  • 3
    Benevolent dictator that decides project course
  • 3
    Great integration with GraphQL
  • 2
  • 2
    Front-End Agnostic
  • 1
    Functional approach
  • 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 Phoenix Framework
Cons of Yii
  • 6
    No jobs
  • 5
    Very difficult
  • 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

2K
4.1K
307
1.3K
16.8K

What is Phoenix Framework?

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.

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 Phoenix Framework?
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 Phoenix Framework?
What tools integrate with Yii?

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

What are some alternatives to Phoenix Framework and Yii?
Vapor
Vapor is the first true web framework for Swift. It provides a beautifully expressive foundation for your app without tying you to any single server implementation.
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
WordPress
The core software is built by hundreds of community volunteers, and when you’re ready for more there are thousands of plugins and themes available to transform your site into almost anything you can imagine. Over 60 million people have chosen WordPress to power the place on the web they call “home” — we’d love you to join the family.
Laravel
It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.
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.
See all alternatives