contex
eventstore
contex | eventstore | |
---|---|---|
7 | 2 | |
664 | 1,010 | |
- | 0.9% | |
5.9 | 7.5 | |
about 2 months ago | 9 days ago | |
Elixir | Elixir | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
contex
-
Using SVG to create simple sparkline charts
Thanks! And thanks also for your work on ContEx, its Sparkline module [1] was a big inspiration for what I ended up implementing.
[1] https://github.com/mindok/contex/blob/master/lib/chart/spark...
- A flexible charting library for Elixir server side charting
- ContEx is a simple server side charting package for elixir
-
Phoenix LiveView, but event-sourced
Now, if you were using a server-side charting library like ContEx, then you would just append the new events to what you've already got assigned to the socket, and your normal rendering function would rebuild the chart. You're done! But I wanted to make it more complicated.
-
We Got to LiveView
https://contex-charts.org
> What’s the story in Phoenix and Elixir land for handling external shell processes from web requests
Great story here thru erlang ports. I'm a big fan of the Porcelain library which wraps ports with some nice features on top:
-
Server Side Time Series Plots With Elixir Phoenix Using Contex
Step up Contex!
eventstore
-
Using CQRS in a simple Phoenix API with Commanded
Since I already had a Postgres database running, I decided to use EventStore rather than installing and babysitting EventStoreDB. To initialize the database and tables, I ran mix event_store.init and mix event_store.create.
-
Phoenix LiveView, but event-sourced
My goal is to use LiveView to update a price chart as trades are executed by the system. A LiveView process is a lot like a GenServer, with a bespoke process for each client, executing handle_* functions as the client does things. The first step to real-time chart updates is to trigger one of these handler functions in my LiveView controller when a trade is executed. I'm using Commanded's own EventStore library to dispatch and store my events, so their documentation is the place to start.
What are some alternatives?
phoenix-full-stack-work-sample
rethinkdb - Rethinkdb client in pure elixir (JSON protocol)
glimesh.tv - Glimesh is a next generation live streaming platform built by the community, for the community.
ecto - A toolkit for data mapping and language integrated query.
phoenix-liveview-counter-tutorial - 🤯 beginners tutorial building a real time counter in Phoenix 1.7.7 + LiveView 0.19 ⚡️ Learn the fundamentals from first principals so you can make something amazing! 🚀
amnesia - Mnesia wrapper for Elixir.
webtransport - WebTransport is a web API for flexible data transport
postgrex - PostgreSQL driver for Elixir
sparks - A typeface for creating sparklines in text without code.
extreme - Elixir Adapter for EventStore
live-paint - Demo pixel painting webapp with realtime updates across all connected tabs and browsers
mongo - MongoDB driver for Elixir