LiveView.JS is great for client-side animations because no round-trip to the server is needed. Here's how you can use JS to animate a side drawer.
Postgres does not support searching for names with special characters by default. Here is how to fix it.
Adding libraries is a massive security risk. They gain FULL access to your configuration, database, and file-system. Here's how they could steal them and how to protect yourself.
My first video course "Build an MVP with Elixir" helps you to get started with Elixir by building a real-world product together!
Postgres Notifications allow you to subscribe to any changes in your database, even if they weren't made by your Elixir application! Let's learn how to set them up!
Define custom forms without writing a single line of HTML. JSON Schemas help you define and adjust forms and validate user input all through a single configuration file.
Learn how to prevent PII leaks from your Ecto queries by adding query restrictions to your Roles and Permissions system.
Learn how to control access to your system by assigning granular roles and permissions to your users.
Learn how to make your LiveView app more resilient by simulating bad internet connections.
A detailed deep-dive into efficient full-text search for multiple languages, result ranking, tsvectors and tsqueries, search modifiers, and so much more.
Search through millions of strings efficiently using indexed ILIKE or SIMILARITY queries.
Block overlapping appointments efficiently in your database using exclusion constraints and don't worry about double-bookings ever again!
Write more efficient bulk insert queries and avoid sending duplicate data by using placeholders.
Implement insert-or-update functionality for your schemas directly with Ecto's on_conflict option.
Clean up your test configuration and highlight test specifics with dedicated tags.
Learn how to dump and analyze large amounts of data from a CSV file into Postgres quickly.
Learn about how to tweak the performance of 100.000 Erlang processes and why Elixir isn't really that slow.
Write and test code directly on your Raspberry Pi with Livebook.
Send a text message using the Waveshare GSM/GPS/GNSS Hat on a Raspberry Pi and Nerves.
Arguably, the strongest multi-factor authentication method is U2F. Here is how to integrate it with your Phoenix LiveView application.
Fly.io allows you to quickly deploy a Phoenix application in different regions in the world. Here is how to get started.
Writing code is fun, but nothing tops seeing your code moving things in the real world. That’s why I tested out the Nerves library.