top | item 21431791

Zotonic: An Erlang Web Framework

115 points| brudgers | 6 years ago |zotonic.com | reply

26 comments

order
[+] kiwee|6 years ago|reply
Having worked with Erlang for few years. I still don't understand the new hype behind it. Ok, the Beam VM have a lot of good ideas. But I think that API of OTP and the language itself do not help to make concise and maintainable code. And you're pretty much on your own about tooling. I really think that even if you can achieve good performance/scalability in theory, in practice your team become less productive.
[+] pmontra|6 years ago|reply
I think it's about Elixir. Personally I won't start a web project with Erlang: it's too hard to read and to write, it makes me feel like I'm still in the 80s (it's when I started coding.) Elixir is almost 1:1 with Erlang and I'm much more comfortable with it.

I can't say much about tooling because I never really worked with Erlang, only some toy programs. Elixir's tooling seems to be on par with what I'm using for Ruby, JavaScript and Python.

[+] dnautics|6 years ago|reply
> I still don't understand the new hype behind it

Other OTP based languages have different standards for API consistency, developer comfort, and documentation, and generally feel 'more modern' in those respects. That's probably where the hype is coming from.

[+] sanxiyn|6 years ago|reply
What tooling are you talking about?
[+] icedchocolate|6 years ago|reply
Why do people program new projects in Erlang as opposed to Elixir? Especially when it’s a web project and Elixir has Phoenix?
[+] SkyMarshal|6 years ago|reply
Zotonic isn’t new, it’s one of the oldest Erlang web apps, predates Elixir by like 5yrs.

That said, I wish it were in Elixir. Has some nice features, but would probably get more adoption if it were in Elixir.

[+] lawik|6 years ago|reply
As an Elixir enthusiast I would say, if you prefer Erlang to Elixir or is more experienced with it and will be building web stuff Elixir is one more dependency which could br avoided.

I like Elixir. Not all Erlangers do.

Also, this mentions being something of a CMS. Phoenix is not that.

[+] rkangel|6 years ago|reply
Web frameworks are something where the one objective advantage of Elixir over Erlang really shines: macros.

Phoenix uses macros very effectively to reduce the sort of boilerplate that is common in Web frameworks. Macros aren't the solutions to all problems, but in this case they're great.

[+] caiocaiocaio|6 years ago|reply
I really love Elixir as a language. Phoenix looks nice from a distance, but I found it to be very ugly and messy when you get down to the nitty-gritty. I wrote a personal project in Phoenix but I'm thinking of translating it, because I really want to wash my hands of that framework forever.
[+] minieggs|6 years ago|reply
Loved the intro video. Perfect amount of odd.
[+] xyproto|6 years ago|reply
Watching this video about composing corporate music made watching the intro video extra fun:

https://youtu.be/AIxY_Y9TGWI

I also like the old telephone, which I believe is a reference to one of the old introductory videos to Erlang.

[+] bdibs|6 years ago|reply
Looks interesting, since it seems to focus on performance, are there any benchmarks compared to Phoenix/Elixir?
[+] schwartzworld|6 years ago|reply
> You can't disable jQuery. Zotonic will not work without it. Sorry... :-)

I don't want to get into the same old argument about using jquery in 2019, but yikes. There are certain kinds of frontends that are a nightmare to build in jQuery

[+] yumraj|6 years ago|reply
Is this more of a CMS or a full MVC Web framework?
[+] cjohnson318|6 years ago|reply
demo.zotonic.com refused to connect
[+] robbya|6 years ago|reply
Unfortunate. They have a list of sites that use zotonic, which may help. I thought this one was impressive:

https://verafin.com/