quda

quda

I am wondering if are there other reliable web frameworks in Elixir that are not based on MVC design pattern ?
Maybe something based on MVVM or multi-tier ?

PS: I know Phoenix is great, but not for everybody, sometimes seems rigid, cumbersome… so please don’t insist to convince me about it, I just want to experiment other flavors of web dev/Elixir.

Thanks! :roll_eyes:

Showing Posts 19 to 10

lpil

lpil

Creator of Gleam

Very cool. Keen to hear the comparison between Chatterbox and Thousand Island

tristan

tristan

Rebar3 Core Team

I should also mention acceptor_pool since Thousand Island was mentioned. It serves the same purpose and I use it with Elli and Chatterbox.

I took a quick look at Bandit the other day and its HTTP 1.1 support appears to be essentially equivalent to how Elli works.

I haven’t compared Bandit’s HTTP 2 to Chatterbox yet.

AstonJ

AstonJ

Bandit and TI looks interesting Jack!

In recent performance tests, Bandit’s HTTP/1.x engine is up to 5x faster than Cowboy depending on the number of concurrent requests. When comparing HTTP/2 performance, Bandit is up to 2.3x faster than Cowboy (this number is likely even higher, as Cowboy was unable to complete many test runs without error). This is possible because Bandit has been built from the ground up for use with Plug applications; this focus pays dividends in both performance and also in the approachability of the code base.

I think we need a poll to see what everyone is using - there seems to be quite a few options these days (@Tristan and @lpil both mentioned Elli a little while back too)..

quda

quda OP

I just wonder how mature, stable, reliable, proven is this new stack ? :thinking:
Or just an experiment that will fade in time, like many others of this kind (not talking only about Elixir ecosystem)

jack

jack

Since cowboy and plug_cowboy was suggested (and used as solution), I would like to suggest Bandit and Thousand Island.

The naming might be bad haha but I’m very interested in those two projects, the ideas behind them are great and there is also a great presentation I saw some time ago. I see a lot of potential on it.

Thousand Island is an alternative to Ranch, and Bandit is an alternative to Cowboy.

https://github.com/mtrudel/thousand_island

You can check the project here: https://www.youtube.com/watch?v=ZLjWyanLHuk

quda

quda OP

Arangoex is pretty suitable for our case, easy and straightforward. Mind that we are only using simple, pre-defined queries - so just list, get_edge, get_vertex functions.
If AQL custom transactions are to be employed, I would recommend to give a try to the other wrapper, Arangox.

josefrichter

josefrichter

How’s your experience with ArangoDB and its elixir wrapper(s), please? It’s something that might potentially be a good fit for my project too. Thank you.

stevensonmt

stevensonmt

I’m glad you were able to work out a solution. It would be great to see an example of your setup. I don’t think it’s fair to refer to Phoenix as bloatware, even if you did not find it to be the right tool for you. It would be nice to maybe see a comparison of performance benchmarks and compiled binary sizes between your setup and Phoenix.

quda

quda OP

Just an update (closure) to this topic.

I set my own stack and modus operandi for web dev w/ Elixir:

  • I use plug_cowboy on the backend to manage the web server operations, routes, REST etc.
  • Also on the back-end, the connection to the ArangoDB (a non-SQL db engine) instance is realized through Arangoex - wrapper/adapter.
  • Front-end is developed using Vue.js (I transplanted the SPAs from old Node framework we used)
  • Created my own/custom functions that somehow act as controllers - this took a lot of effort, time.

Notice that everything is at minimums, extra-light.
It took a lot of time and frustration to set all of these, but we are very satisfied now, it runs blazing fast, it’s light, easy to manage, didn’t need that bloatware of Phoenix. I know, this is not a solution for everybody, has limitations, it just fits our purpose.
If one need an out-of-the-box, full framework, he should probably use Phoenix. Nevermind the learning curve… :hocho:

Cheers,
Q.

quda

quda OP

So far, the ewebmachine worth giving it a try. Too bad the documentation is very poor. And doesn’t seem to provide for the front-end part.

Where Next? Top

Trending in Questions Top

RSP87
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
kpanic
Hi everyone, I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding. I sta...
New
nseaSeb
Hello, I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
brecabral
Documentation While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
velrest
So my question is quite simple and i have found no conclusive answer on forum, google or AI. Should we use :erlang.float for Integer to ...
New
asweet-confluent
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
apz
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews