Lack of built in user authentication kills this project for me, that's just something I don't want to deal with building my own anymore after django.
Build a real-time Twitter clone with LiveView and Phoenix 1.5
161–170 of 249 posts
Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#162Congratulations Chris, Jose and the Phoenix core team on Phoenix 1.5 and the livedashboard. I used liveview in https://readastorytome.com . I posted it here last week and it stayed on the front page for a good few hours. I was concerned about load, so before I posted it I upgraded my $5 DO box to a 4 core box which turned out to be completely unnecessary. The CPU load stayed in the 2-3% range the entire time it was o…
Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#163Earlier quoted context omitted.
> And once you start thinking interms of functions, you just won't touch any of those terrible OO programming paradigms Also worth noting (because Elixir was strange and new for everyone at some point) that a lot of what used to be mind-boggling to me in earlier versions of Elixir/Phoenix have become relatively commonplace when dealing with things like React or modern Javascript. If you've ever handled a JS promise f…
Unlike a Promise, I hope you can cancel processes in Elixir
Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#164Lack of built in user authentication kills this project for me, that's just something I don't want to deal with building my own anymore after django.
https://dashbit.co/blog/a-new-authentication-solution-for-ph...
Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#165Congratulations Chris, Jose and the Phoenix core team on Phoenix 1.5 and the livedashboard. I used liveview in https://readastorytome.com . I posted it here last week and it stayed on the front page for a good few hours. I was concerned about load, so before I posted it I upgraded my $5 DO box to a 4 core box which turned out to be completely unnecessary. The CPU load stayed in the 2-3% range the entire time it was o…
Are the people videos streamed via LiveView as well? Super impressive. Congrats!
We use liveview + hooks(where necessary) for all of the interactive parts on the site, switching pages, changing books etc...
Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#166Earlier quoted context omitted.
Static typing is far from a panacea. Don't forget that the rise of Perl and PHP, and then later Ruby and Python was in response to statically typed languages like Java. There are trade-offs.
One of the things I like about Guards is that you can enforce/match against types as needed.
Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#167I have been watching Phoenix/Elixir for a while and wondering if it has gained a lot more traction compared to say 2 years ago ? My choice of full web app framwork is Symfony/Laravel (PHP) or Python (Flask/Django) but I really like what Phoenix has to offer. However, does it have a mature ecosystem now ? What about deployments and tools around it ? Does it work with generic web servers like Nginx or does it run its o…
Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#168Lack of built in user authentication kills this project for me, that's just something I don't want to deal with building my own anymore after django.
ueberauth is one of the most fully featured with support for a ton of different authentication schemes (https://github.com/ueberauth/ueberauth)
But there are lots of other things that integrate with Phoenix / Plug (https://github.com/h4cc/awesome-elixir#authentication)
Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#169Re: Build a real-time Twitter clone with LiveView and Phoenix 1.5
#170Earlier quoted context omitted.
One of the things I like about Guards is that you can enforce/match against types as needed.
Guards are nice, but compared to static typing, they a run time check whereas static typing alerts you to errors at compile time.