4 ms·
Zotonic: An Erlang Web Framework
- schwartzworld 7y ago> 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
- kiwee 7y agoHaving 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.
- sanxiyn 7y agoWhat tooling are you talking about?
- dnautics 7y ago> 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.
- kick 7y agoIt's really easy to be productive using Lisp-Flavoured Erlang! http://lfe.io/ http://lfe.io/
- ramchip 7y agoWas that a long time ago? The tooling has improved massively after Elixir and Hex appeared. The upcoming “Adopting Erlang” book goes into that history a bit: https://adoptingerlang.org/docs/development/dependencies/ https://adoptingerlang.org/docs/development/dependencies/
- pmontra 7y agoI 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 7y agoIt's better than those. I can write an integraion test that leaves the vm via http request a comes back in and the http handler only views a shard of the shared state of the system associated with that particular test. That's a concurrent integration test. You can't really do that reliably without the BEAM. Thanks to Elixirs macros, the code for this subsystem is about 75 lines of code and in order to use it in a group of tests it's a single "use" statement at the head of the test, and the hooks inside of the main part of the code are compiled to no-ops in prod.
- cjohnson318 7y agodemo.zotonic.com refused to connect
- robbya 7y agoUnfortunate. They have a list of sites that use zotonic, which may help. I thought this one was impressive: https://verafin.com/ https://verafin.com/
- codyb 7y agoI wonder if it’s still using Zotonic, none of their software engineering careers mention Erlang at all. Lots of Java, JavaScript, AWS, Linux, etc.
- esdott 7y agoIt looks to be using Wordpress (at least for the front end code, and why would you only use WP for that?). I see lots of references to Visual Composer.
- bdibs 7y agoLooks interesting, since it seems to focus on performance, are there any benchmarks compared to Phoenix/Elixir?
- yumraj 7y agoIs this more of a CMS or a full MVC Web framework?
- SkyMarshal 7y agoCMS.
- mmzeeman 7y agoIt is more like a web-framework with a built in CMS.
- icedchocolate 7y agoWhy do people program new projects in Erlang as opposed to Elixir? Especially when it’s a web project and Elixir has Phoenix?
- lawik 7y agoAs 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.
- SkyMarshal 7y agoZotonic 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.
- deleted 7y ago[deleted]
- rkangel 7y agoWeb 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 7y agoI 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.
- conradfr 7y agoWhat don't you like that is specific to Phoenix?
- minieggs 7y agoLoved the intro video. Perfect amount of odd.
- xyproto 7y agoWatching this video about composing corporate music made watching the intro video extra fun: https://youtu.be/AIxY_Y9TGWI 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.
- esquire_900 7y agoThis quickly draws away from the original subject, but this video is awesome. It directly points to some of the causes that make modern and corporate life so dull and lame.