Add Raw Websockets in Phoenix

Setting up raw websocket handlers is a simple fix for establishing real-time communication. On the blog, software engineer Connor Rigby provides a step-by-step demonstration for integrating handlers into your next #Phoenix application: https://binarynoggin.com/blog/add-raw-websockets-in-phoenix/ #BinaryNoggin

Let's Build An Instagram Clone With The PETAL(Phoenix, Elixir, TailwindCSS, AlpineJS, LiveView) Stack [PART 3]

In this part, we will work on user’s profiles.

Check it Out

How Phoenix LiveView works

A new episode of the Introductory Phoenix LiveView course. In this lesson we are going to see how LiveView really works and what happens behind the scenes when a user connects.

How Phoenix LiveView works

Rendering components conditionally with Phoenix LiveView

When we come across a view that has many HTML elements, we usually want to separate them into their own components to have a better organization of the code to make it easier to understand and maintain, as well as decouple large logic into smaller pieces, and why not, re-use these components in another view (very much in the style of React.js mental model). This can be easily achieved by using LiveComponent de Phoenix LiveView.

https://dev.to/santiagocardo/rendering-components-conditionally-with-phoenix-liveview-4p6j

Using Regulator

I originally wrote this post for the engineers at Bleacher Report. It’s all about how to manage load across services, why autoscaling doesn’t provide resilience, and why rate limiting doesn’t work.

https://keathley.io/blog/regulator.html

Still building static websites in Elixir

A blog post where we announce Still: a new library to build static sites in Elixir.

https://subvisual.com/blog/posts/announcing-still

ThinkingElixir 045: Junior Devs with Michał Buszkiewicz

In episode 45 of Thinking Elixir, we talk with Michał Buszkiewicz about Junior Developers in the Elixir community. We share tips for Juniors both early in their careers but also more experienced developers coming new to Elixir. We talk about the University vs Bootcamp approaches and what you want to focus on coming from either side. We further discuss how we as employers can support and encourage juniors. A lot of great resources shared!

Podcast Episode

Using LiveView with Sublime Text? This might be useful

Sublime Text snippets for the most common functions in LiveView and EEx https://github.com/sardaukar/phoenix_liveview_snippets

Frank Hunleth and the Elixir Wizards live stream Friday 4/30 - Intro to Nerves Mob Programming with Livebook

Join us Friday April 30th from 11AM-12:30PM EDT for a special live stream — the Elixir Wizards crew will be joined by Frank Hunleth, and we’ll be testing out a new Intro to Nerves project using Livebook. https://www.twitch.tv/smartlogictv/

Hire 👏🏼 Junior 👏🏼 Engineers 👏🏼 by Sundi Myint

The latest blog post is out today! Check it out! https://smartlogic.io/blog/hire-junior-engineers/

Elixir Pooling with Poolboy

A small post to quickly get started with Poolboy and how to add it to a project https://pulkitgoyal.in/elixir-pooling-with-poolboy

A baton relay process on a 4 node Erlang/Elixir cluster

A baton relay process on a 4 node Erlang/Elixir cluster (running on Raspberry Pis), It is pushing through 3.5K messages per second one message at a time through the cluster https://minhajuddin.com/2021/04/20/a-baton-server-to-test-your-erlang-elixir-cluster/ #MyElixirStatus

Upload files to Google Drive with Phoenix LiveView

This post is focused on helping you with uploading files to the Google Drive service since many times Google services are difficult to understand and it takes time to figure out how to make successful integration, as was my case. That’s why I would like to share with the community how I managed to do it after a long time of searching and testing.

https://dev.to/santiagocardo/upload-files-to-google-drive-with-phoenix-liveview-256e

The "Create a crypto bot in Elixir" book is now open source and publicly available 🥳

Hi everyone 👋

As of today, I decided to make my book publicly available online(as a website - you can still download the PDF and EPUB through it) as well as open-source the markdown files of the book itself 🎉

Long story short, as my book grew(and the audience), people started to add suggestions/ideas/errata also dependencies updated, etc. I realized that publishing the book via the Leanpub is not best suited to maintain my book long-term for the benefit of the community.

The new home address of my book is: https://www.elixircryptobot.com/

Here’s the link to the markdown source: https://github.com/frathon/create-a-cryptocurrency-trading-bot-in-elixir

Enjoy ❤️

ThinkingElixir 044: Elixir Data Types with Sasha Fonseca

In episode 44 of Thinking Elixir, we talk with Sasha Fonseca about Elixir’s data types behind the scenes. We learn about binary leaks, discuss memory usage, performance considerations, what boxed values are and much more!

Podcast Episode

Machinist lib: New release 0.4.0

Implemented a new way to set from transitions. With this new feature we can group many same-state from definitions.

This is an option for a better organization and an increase of readability when having a large number of from definitions with a same state.

Before version 0.4.0:

# ...
 transitions do
   from :locked,   to: :unlocked, event: "unlock"
   from :unlocked, to: :locked,   event: "lock"
   from :unlocked, to: :opened,   event: "open"
   from :opened,   to: :closed,   event: "close"
   from :closed,   to: :opened,   event: "open"
   from :closed,   to: :locked,   event: "lock"
 end
 # ...

New option to write the transitions:

# ...
transitions do
  from :locked, to: :unlocked, event: "unlock"
  from :unlocked do
    to :locked, event: "lock"
    to :opened, event: "open"
  end
  from :opened, to: :closed,   event: "close"
  from :closed, to: :opened,   event: "open"
  from :closed, to: :locked,   event: "lock"
end
# .

Simple Configuration Setup for Elixir Projects (v1.11+)

I wrote a blog post about how I configure my projects with config/runtime.exs, .env support, and unified configuration between local development and production: https://blog.nytsoi.net/2021/04/17/elixir-simple-configuration

Introduction to Ecto.Multi by Stephanie Vizzi

Latest blog post is out today! Check it out here: https://blog.smartlogic.io/introduction-to-ecto-multi/

Integrate Google API with Elixir

In this Coletiv blog post, Nuno Bernardes created a tutorial on how to create and edit a Google Sheets spreadsheet for his elixir project. Check the post here

Let's Build An Instagram Clone With The PETAL(Phoenix, Elixir, TailwindCSS, AlpineJS, LiveView) Stack [PART 2]

In this part we are going to work on user’s settings and avatar image uploads.

Check it Out

Previous page Next page