I’ve been writing an API in Phoenix for a high message volume high user count application and it’s pretty amazing how little code I have been writing thus far. Some concepts are a bit weird like GenServer but it completely decouples your application from your state. Writing tests was intuitive and one of the few times I’ve been doing TDD that really felt faster than manual testing.
Building a chat app in 8 minutes with Phoenix
21–30 of 37 posts
Re: Building a chat app in 8 minutes with Phoenix
#22Re: Building a chat app in 8 minutes with Phoenix
#23Great screencast, Alex! The best tools are the ones you don’t even notice, and Elixir is an absolute pleasure. You get to focus on the problem with little ceremony. Chat is a really interesting application of Channels, too. It’s especially interesting to me as my team and I are working on a hosted API called Chatkit that makes it equally easy to add real-time chat to your applications, no matter what technology you’r…
https://opkode.com/blog/slacks-bait-and-switch/#comment-3799...
Re: Building a chat app in 8 minutes with Phoenix
#24I'm in the very early stages of building what will be a pretty large web app with Phoenix and so far I really like it. I have a lot of prior Rails / Flask experience and minimal Elixir experience but you can still figure things out for the most part. It's kind of funny but, even at this Elixir newbie stage I feel more confident reading and tracing most Elixir code vs Ruby.
And when it comes to performance, threads and queueing, not having to deal with duct-tape and gum solutions like Resque (Ruby's "One Ring" (I love it and I hate it)) makes such a big difference.
Re: Building a chat app in 8 minutes with Phoenix
#25Has anyone used gen stage / flow for their jobs / small - medium projects ? What are some examples where this could be used ? Game server ? I found an example on YouTube about using it in an automation warehouse but that seems too niche to implement
Re: Building a chat app in 8 minutes with Phoenix
#26Has anyone used gen stage / flow for their jobs / small - medium projects ? What are some examples where this could be used ? Game server ? I found an example on YouTube about using it in an automation warehouse but that seems too niche to implement
In the talk by Chris Bell, (29:15) they use Flow to migrate millions of records.
Re: Building a chat app in 8 minutes with Phoenix
#27Great screencast, Alex! The best tools are the ones you don’t even notice, and Elixir is an absolute pleasure. You get to focus on the problem with little ceremony. Chat is a really interesting application of Channels, too. It’s especially interesting to me as my team and I are working on a hosted API called Chatkit that makes it equally easy to add real-time chat to your applications, no matter what technology you’r…
As far as native platform clients, we have all major channel clients covered across community libs – Swift/objc/Java/C#
Re: Building a chat app in 8 minutes with Phoenix
#28Earlier quoted context omitted.
The build-X-in-low-Y-minutes trope implies that something is trivial to implement (usually by importing middleware that does the heavy lifting). A 30 line class is not trivial.
> implies that something is trivial to implement I don't think it does. It shows something implemented quickly, suggesting that it's a tutorial you can sit down and follow in one go.
This title is misleading.
Install a chap app in 8 minutes would be more appropriate, although really it's just sensationalism.
Re: Building a chat app in 8 minutes with Phoenix
#29Has anyone used gen stage / flow for their jobs / small - medium projects ? What are some examples where this could be used ? Game server ? I found an example on YouTube about using it in an automation warehouse but that seems too niche to implement
GenStage specifically: we needed an internal load tester and GenStage plus easy concurrency allowed to quickly build an effective and reliable tool with rate control
Re: Building a chat app in 8 minutes with Phoenix
#30Elixir & phoenix are fun though. I really like how much easier it is to test an elixir app (functional language).