News for hackers. Stuff that matters.
Re:Trello clone with Phoenix and React – 5-part tutorial by d1ffuz0r on Friday January 22, 2016 @10:18PM (#10957028)
Why do you need Elixir for building this kind of project? Any real benefits?
Re:Trello clone with Phoenix and React – 5-part tutorial by quaunaut on Friday January 22, 2016 @10:26PM (#10957046)
"Need" is always such a strong word, but Phoenix is particularly well-suited to real-time applications, and can scale pretty ridiculously off of them.

Not to mention, Elixir is a joy to code in, and a lot of us are still experimenting with it, trying to figure out where it's going. So projects like this are a good outlet.

Re:Trello clone with Phoenix and React – 5-part tutorial by gjkood on Friday January 22, 2016 @10:43PM (#10957086)
Elixir compiles to bytecode for the Erlang VM/BEAM. Erlang + OTP = scalable/fault-tolerant distributed systems. Phoenix is closely coupled with OTP.

Not sure if Trello itself requires it or benefits from it, but any distributed system can benefit from this architecture.

Re:Trello clone with Phoenix and React – 5-part tutorial by tvmalsv on Friday January 22, 2016 @10:26PM (#10957048)
I haven't hit their site yet, but I don't think they're saying you need Elixir to build this kind of project. I think it's more along the lines of needing Elixir to build a tutorial series for Elixir.

As for the benefits of using Elixir, I'm not qualified to answer that since I've only skimmed the surface of what Elixir is (but it looks intriguing!).

Re:Trello clone with Phoenix and React – 5-part tutorial by sergiotapia on Saturday January 23, 2016 @12:53AM (#10957372)
Trello has a certain real-time aspect to it that lends itself very well with Elixir channels. (At least I assume this tutorial is going to use that for the realtime bit). Rails is coming out with something as well, called ActionCable.

And finally Meteor has it with utmost simplicity as well. Just save to the database and Meteor updates the data to everyone, automatically.

Re:Trello clone with Phoenix and React – 5-part tutorial by tvon on Friday January 22, 2016 @11:25PM (#10957177)
This use of "need" makes me wonder what the earliest tech is that you could use to build a trello-ish. I'm thinking it's doable with C, CGI, and xmlhttprequest....
Re:Trello clone with Phoenix and React – 5-part tutorial by jc4p on Saturday January 23, 2016 @12:01AM (#10957265)
tongue in cheek, but check out Trello in 4096 bytes: http://danlec.com/blog/trello-in-4096-bytes
Re:Trello clone with Phoenix and React – 5-part tutorial by thameera on Friday January 22, 2016 @11:51PM (#10957241)
Or a more closer-to-the-metal solution like Node.js?

Joking aside, I wonder if it's possible to write a real-time webapp with C and CGI. Ok, 'possible' is a strong word; but I'd really like to hear from someone who'd given this a try.

Re:Trello clone with Phoenix and React – 5-part tutorial by mst on Saturday January 23, 2016 @12:29PM (#10959088)
Back in the mists of time, there was a thing called CGI-IRC written in perl that you deployed as an nph CGI script and would then do real time comms; I think (vague memory) the original authors an ircatwork.com using it and then eventually started mibbit.

I don't recall seeing one written in C, I think the last time I saw a CGI script written in C was a some years ago version of Nagios

Re:Trello clone with Phoenix and React – 5-part tutorial by jnbiche on Saturday January 23, 2016 @03:14AM (#10957653)
Sure it would be. Wouldn't be terribly hard, either. Use normal CGI along with a library like libwebsockets.

Now, would I deploy it for production? Not likely.

Re:Trello clone with Phoenix and React – 5-part tutorial by deathtrader666 on Saturday January 23, 2016 @01:03AM (#10957388)
There are a few web games & apps written in C that were posted to HN.
Re:Trello clone with Phoenix and React – 5-part tutorial by debaserab2 on Saturday January 23, 2016 @12:29AM (#10957325)
Why wouldn't it be?