Launching Livebook using LiveView
I had a blast creating fly.io‘s Livebook launcher in LiveView! Here I go through some of the state management challenges and the Phoenix tools we used to overcome them.
https://fly.io/blog/creating-the-livebook-launcher-in-liveview/
Elixir Wizards S7E3 The Benefits of Consistently Growing Your Toolset with Florian Kraft
The latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s7e3-kraft/
Build a Postgres Proxy in Elixir using Pattern Matching
Want to learn how your application talks to your database? Build a proxy using Elixir with its powerful pattern matching and gen_tcp to take your database understanding to the next level. In this article we build a Postgres proxy in Elixir to show all you need is a little curiosity to master one of the most popular SQL protocols around. https://docs.statetrace.com/blog/build-a-postgres-proxy/
One way to handle static asset files in Phoenix 1.6
When we switched our project to Phoenix 1.6, we were looking for a way how to handle static asset files so that commiting digest files by accident was not possible. This is the setup we’ve come up with
Building a simple Calendly clone with Phoenix LiveView (pt. 3)
Here’s part three of the Building a simple Calendly clone with Phoenix LiveView series, in which we will learn some LiveView fundamentals while implementing the event type selection page.
https://bigardone.dev/blog/2021/11/11/building-a-simple-calendly-clone-with-phoenix-live-view-pt-3
Happy coding!
SmartLogic Developer Apprentice Program - Midway Update
Did you know it’s National Apprentice Week? Here at SmartLogic we are celebrating the progress of our 2021 Apprentices with this blog post reflecting on what they’ve learned so far in the program. Read more about the skills they are developing and the benefits of curating an encouraging, supportive mentorship program in our company. https://smartlogic.io/blog/apprentice-program-2021/
Error Monitoring for Elixir Phoenix with AppSignal
Get notified as soon as your users discover an error in your Phoenix app so you can solve issues and push updates quicker. A guide to show you how to set up exception and error monitoring for Elixir with AppSignal.
Pitfalls of Metaprogramming in Elixir
In the final part of our series on metaprogramming, we’ll look at three common pitfalls you might encounter when using macros in Elixir.
ThinkingElixir 073: Elixir at Supabase with Paul Copplestone
In episode 73 of Thinking Elixir, we talk with Paul Copplestone, founder and CEO of Supabase. Supabase leverages the power of Elixir, Postgres, and more to create an OpenSource Firebase alternative that brings these powers to the Jamstack community. We cover TechCrunch’s coverage of their funding, how he considers Supabase as “the easiest way to use Postgres”. They offer a row-level security feature and we dig in to understand that. We go deeper on how an OpenSource company can get VC funding and how their business model works. Paul shares how Elixir, Phoenix and PubSub solves some hard problems that other ecosystems just don’t handle and how Supabase can help those other communities get some of those benefits using the tools they already chose. Some interesting features are that you can self-host if you want, swap out different components, and permissive licenses. It really seems to embody the OSS ethos. Great to see another company using Elixir to create lots of business value!
https://thinkingelixir.com/podcast-episodes/073-elixir-at-supabase-with-paul-copplestone/
CryptoWatch: Elixir example project using GenServers, Phoenix Channels, Websockets and D3.js
CryptoWatch, an Elixir example project to experiment with GenServers, Phoenix Channels, Websockets and D3.js.
Like pro.coinbase.com, but BEAM-flavoured
GitHub repo https://github.com/christian-fei/crypto_watch
Ecto: An Introduction to Elixir's Database Toolkit
Ecto is the go-to database toolkit for Elixir developers. Read our beginner-oriented article to learn how it works and what’s special about it.
ecto_psql_extras: new release allows generating a healthcheck report of your PostgreSQL database
The new release of ecto_psql_extras adds a ‘diagnose’ method. You can use it directly in your Phoenix LiveView dashboard. https://github.com/pawurb/ecto_psql_extras#diagnose-report
Exception Monitoring for Elixir Phoenix with Sentry
A guide to show you how to set up exception and error monitoring for your Elixir Phoenix application with Sentry. Get notified when users find an error in your app.
Elixir Wizards S7E2 Re-Platforming One of the Original Dot Coms in Elixir with Angel Jose
The latest episode of Elixir Wizards is out today! Check it out here: https://smartlogic.io/podcast/elixir-wizards/s7e2-jose/
Build an Elixir Redis API that's 100x faster than HTTP in less than 10 minutes
Need a fast server and client? HTTP too slow? Try the Redis Protocol for lightning fast, low-overhead API calls. It’s easy to implement and nearly every language has mature Redis clients that can connect.
UUID as Primary key with Ecto
A simple example of how to introduce a Universally unique identifier (UUID) into your project. You just need to remember a small modification in the migration and the column type change.
More on: https://bartoszgorka.com/uuid-as-primary-key-with-ecto
Building a simple Calendly clone with Phoenix LiveView (pt. 2)
Hi there! Here’s part two of the “Building a simple Calendly clone with Phoenix LiveView” series, in which we will generate the initial project and domain models.
https://bigardone.dev/blog/2021/11/08/building-a-simple-calendly-clone-with-phoenix-live-view-pt-2
Happy coding!
Filters in Phoenix by Sundi Myint
“When you are building many Phoenix apps in a row, having a base model to start from can make things a lot easier.” Read more about how to implement filters in Phoenix in this new blog by SmartLogic Engineering Manager Sundi Myint. https://smr.tl/3CZ9xhZ
ThinkingElixir 072: TypeCheck with Wiebe-Marten Wijnja
In episode 72 of Thinking Elixir, we talk with Wiebe-Marten Wijnja about his project TypeCheck that provides a new kind of runtime type checking for Elixir applications. The syntax builds on your existing spec types so it still works for dialyzer but adds additional compile time created checks. It also works for generating property based test data. This feature comes out in a new ability called “spectest”. Like doctests, you can have automated checks that verify the function adheres to the spec! We also cover how TypeCheck allows writing type declarations for other libraries like Ecto and Plug. There are some interesting ways for people to contribute! A very interesting library!
https://thinkingelixir.com/podcast-episodes/072-typecheck-with-wiebe-marten-wijnja/
Deploying an Elixir Release to Gigalixir
The last installment in the “Deploying Elixir” series is out:
https://blog.miguelcoba.com/deploying-an-elixir-release-to-gigalixir
