News for hackers. Stuff that matters.
Re:Zotonic: An Erlang Web Framework by kiwee on Saturday November 02, 2019 @11:43PM (#21431991)
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.
Re:Zotonic: An Erlang Web Framework by ramchip on Sunday November 03, 2019 @02:40AM (#21432663)
Was 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/

Re:Zotonic: An Erlang Web Framework by kick on Sunday November 03, 2019 @12:58AM (#21432283)
It's really easy to be productive using Lisp-Flavoured Erlang!

http://lfe.io/

Re:Zotonic: An Erlang Web Framework by pmontra on Sunday November 03, 2019 @07:42AM (#21433531)
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.

Re:Zotonic: An Erlang Web Framework by dnautics on Sunday November 03, 2019 @01:03PM (#21435449)
It'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.

Re:Zotonic: An Erlang Web Framework by dnautics on Sunday November 03, 2019 @12:04AM (#21432082)
> 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.

Re:Zotonic: An Erlang Web Framework by sanxiyn on Saturday November 02, 2019 @11:49PM (#21432019)
What tooling are you talking about?
Re:Zotonic: An Erlang Web Framework by icedchocolate on Sunday November 03, 2019 @01:44AM (#21432546)
Why do people program new projects in Erlang as opposed to Elixir? Especially when it’s a web project and Elixir has Phoenix?
Re:Zotonic: An Erlang Web Framework by SkyMarshal on Sunday November 03, 2019 @02:37AM (#21432654)
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.

Re:Zotonic: An Erlang Web Framework by lawik on Sunday November 03, 2019 @02:05AM (#21432585)
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.

Re:Zotonic: An Erlang Web Framework by rkangel on Sunday November 03, 2019 @07:47AM (#21433552)
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.

Re:Zotonic: An Erlang Web Framework by caiocaiocaio on Sunday November 03, 2019 @08:42AM (#21433830)
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.
Re:Zotonic: An Erlang Web Framework by conradfr on Sunday November 03, 2019 @10:18AM (#21434318)
What don't you like that is specific to Phoenix?
Re:Zotonic: An Erlang Web Framework by caiocaiocaio on Sunday November 03, 2019 @04:21PM (#21436698)
Just the general feeling of having to constantly dig through the documentation trying to suss out unintuitive things that would be easy in other frameworks. And poor (imo) naming conventions. And a lot of other little annoyances. No one specific thing as much the feeling of death by a thousands cuts.
Re:Zotonic: An Erlang Web Framework by minieggs on Sunday November 03, 2019 @02:28AM (#21432633)
Loved the intro video. Perfect amount of odd.
Re:Zotonic: An Erlang Web Framework by xyproto on Sunday November 03, 2019 @02:56AM (#21432704)
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.

Re:Zotonic: An Erlang Web Framework by esquire_900 on Sunday November 03, 2019 @04:35AM (#21432968)
This 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.
Re:Zotonic: An Erlang Web Framework by bdibs on Sunday November 03, 2019 @12:20AM (#21432150)
Looks interesting, since it seems to focus on performance, are there any benchmarks compared to Phoenix/Elixir?
Re:Zotonic: An Erlang Web Framework by schwartzworld on Saturday November 09, 2019 @07:11PM (#21495461)
> 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

Re:Zotonic: An Erlang Web Framework by yumraj on Sunday November 03, 2019 @12:33AM (#21432205)
Is this more of a CMS or a full MVC Web framework?
Re:Zotonic: An Erlang Web Framework by SkyMarshal on Sunday November 03, 2019 @02:38AM (#21432659)
CMS.
Re:Zotonic: An Erlang Web Framework by mmzeeman on Sunday November 03, 2019 @06:24AM (#21433254)
It is more like a web-framework with a built in CMS.
Re:Zotonic: An Erlang Web Framework by cjohnson318 on Saturday November 02, 2019 @11:46PM (#21432007)
demo.zotonic.com refused to connect
Re:Zotonic: An Erlang Web Framework by robbya on Sunday November 03, 2019 @12:25AM (#21432167)
Unfortunate. They have a list of sites that use zotonic, which may help. I thought this one was impressive:

https://verafin.com/

Re:Zotonic: An Erlang Web Framework by codyb on Sunday November 03, 2019 @07:40AM (#21433522)
I wonder if it’s still using Zotonic, none of their software engineering careers mention Erlang at all.

Lots of Java, JavaScript, AWS, Linux, etc.

Re:Zotonic: An Erlang Web Framework by esdott on Monday November 04, 2019 @01:51PM (#21444985)
It 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.