Yevhenii Kurtov demonstrates an end-to-end implementation of Event Sourcing (ES) and CQRS using EventStoreDB and Phoenix/LiveView. The example is a loan processing system, covering command validation, event handling, and integrating with external systems for credit checks.
Ecto makes it easy to execute upserts. But how can you tell if the result was a create or an update? Paweł Świątkowski shows how to do it using a system column from PostgreSQL.
Recent discussions around client-side and server-side frameworks have brought up some misconceptions about state handling in web applications. José Valim's article aims to address them with some examples, and goes a bit more into detail about how LiveView deals with state and realtime.
Dependency injection can prove useful in Elixir. In this second part of a two-part series, we'll look at some basic concepts, core principles, and types of dependency injection.
Andrés Alejos details how he built a multimedia editor as a Livebook app powered by AI and FFmpeg. A great example of using the Elixir AI ecosystem and Livebook apps.
Broadway is built to ingest data from many different external sources, including RabbitMQ and Amazon SQS. But what if the source of our data is not an external message queue? Matthew Erhard shows how to solve that by building a custom producer.
Benchee is a common microbenchmarking package used in Elixir and Erlang to measure the performance characteristics of functions. Christian Alexander shows how to use Benchee with real examples and how to visualize the results inside Livebook.
At Swizzl AI we're building software tools that help people make better purchasing decisions. We are assembling a small, high-performance team with a strong focus on team culture and open communication. Join us if you're comfortable figuring things out, and keen on building something useful. At the moment, our stack includes Postgres (with pgvector), Phoenix, LiveView and we mostly use Instructor for interacting with LLMs.