| More concretely, Phoenix sets itself apart through its own features, Elixir's features, and an (as far as I've seen) unparalleled commitment to the community: * PubSub, so if you're building a communication-based app your job is automatically easier. * asynchronous jobs by default (it's a language feature), so if you need background processing your job is automatically easier. * Rails-like database interactions. I don't know of any framework that makes dealing with the database as simple as Rails, and Phoenix (really Ecto, the ORM it uses) matches that simplicity. Models, validations, transactions, queries, migrations - it all feels very well thought-out. First-class support for PostgreSQL arrays and json(b) are nice-to-have, too. * Fast templates. Template rendering is one of the biggest performance problems in Rails, and Phoenix solves it with some compile-time tricks. * Built-in support for multiplexed real-time communication channels. If you need to push data to clients, your job just became easier (notice a trend?). It supports both WebSockets and long-polling so you don't have to make the hard choice about whether that new feature is worth the risk of losing users on outdated browsers. * Asset building, another built-in goody that very few other frameworks have. The choice to use Brunch (rather than WebPack) is debatable, but I think that having a controversial build tool is 100x better than having no build tool. * IRC support: If you ask a question, you will get a complete answer without anyone telling you to RTFM. This is both good and necessary because, although the official documentation is pretty good, Phoenix and its dependencies don't have the huge number of blogpost tutorials and StackOverflow answers that make Rails so easy to learn. I suspect this will change over time as the community grows. * It keeps getting better. This is an outsider's perspective, but after lurking on #elixir-lang, Phoenix-Core, Phoenix-Talk, etc. it's obvious to me that Phoenix and Elixir are going to be better in 2017 than they are in 2016. Its core contributors are knowledgeable and dedicated, and many of them are being paid for their open-source work. That gives me confidence in the future. |