boudra
Whistle, running an Elm(ish) architecture in the server
Hello everyone,
I just published an article detailing how to use Whistle, a library similar to LiveView that borrows concepts from Elm. It lets you make interactive web apps entirely in Elixir, with a very simple API.
The project is not complete yet but I am posting this with hopes of getting some early feedback!
Here is the Article.
Most Liked
boudra
Hello again!
I have released a demo application to showcase what Whistle can do so far: https://lumpy-some-piglet.gigalixirapp.com/
It’s a chat program with multiple chat rooms and user presence tracking. This works both as a dynamic Single Page Application with WebSockets and Browser history, and also as a normal web page as a fallback, Whistle provides all this for free.
The code is here if you’re curious: GitHub - boudra/whistle-chat · GitHub
For more info on how it all works, the main Whistle library repository is public now if people want to try it out or want to help out:
https://github.com/boudra/whistle
Be advised that test coverage is pretty low, there is missing documentation and some of the code is hacked together, so please don’t run this in production ![]()
Any feedback or questions are more than welcome!
boudra
Thanks
Most of the features I had in mind for a public release are now finished, just writing some much needed docs now.
DevotionGeo
I didn’t read the whole post yet, but it seems so interesting!
Popular in Discussions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









