Web applications would not have existed without APIs… or, at least, they would have been much more difficult to use. In our new tutorial, we’ll get you a proper introduction to API design. Introduction to web API design
Classifying Data Center IP Addresses in Phoenix Web Applications with Radix Trees
This blog post details:
- How to retrieve lists of data center IP prefixes when a Phoenix application starts.
- Using a radix tree to store IP prefixes for fast lookup.
- Why Erlang’s persistent_term module is the best choice for this problem.
- Using assigns to store metadata about the IP address.
- Writing a plug to block data center IP addresses.
A good amount of bot traffic online comes from data center IP addresses, the post gives the example of a ticket sales website where bots are buying tickets up before users can. The problem of classifying IP addresses is a good example to show some features of Elixir/Erlang, such as persistent_term.
Great post with very clear ideas. I’m going to try refactor some old form helpers to separate the Bulma view structure from the purely contextual stuff. Thanks!
Then it’ll be interesting to see how much will change with the upcoming Phoenix HTML changes.
Just wrote this article about code test coverage.
Two part (so far) series on using Commanded in a Phoenix API:
On May 24, we all celebrated the 10th anniversary of Elixir.
It was on this occasion that we asked our Elixir developers about:
how they started their adventure with Elixir language
how long it took to learn Elixir to feel confident in this language
what advice that they would give to developers who want to learn the Language
and what sources they use for learning Elixir and everyday work
If you’re curious about how #CuriousPeople do it, check out this blog post! https://curiosum.com/blog/questions-to-elixir-developers-10th-anniversary-of-elixir-language
Developing Facebook Chat Bot Application
This is a series of 5 articles the guides you in developing the facebook chat bot from scratch from creating Facebook Developer account to Sending and Receiving Messages to Bot by adding Webhooks.
The following links are the parts of this series.
PART-1 | PART 2 | PART-3 | PART-4 | PART-5
Are you familiar with credential stuffing attacks? Maybe you have heard about the dangers of password reuse, and even implemented defenses in your own Elixir/Phoenix apps. Have you ever tested the defense?
In this post, learn how credential stuffing works by writing your own testing program in Elixir. If your Phoenix application stores sensitive data, this is an excellent project to see if your current controls are working.
Testing a Phoenix application for credential stuffing with Elixir, Floki, and HTTPoison
Here a quick tip about how to import CSV files into Postgres really fast!
Fly.io Blog: “Setup VSCode for Elixir Dev”
Hey all, I wanted to share this blog post by @brainlid on how to setup your VS Code workspace for Elixir development.
One thing I wish they covered was how to setup Dialyzer and Credo with VS Code extensions. If anyone has a good guide for this, please share below!
Nice article, thanks!
Setting User-Agent in Elixir with Finch, HTTPoison, Req, or Tesla
Four examples of how to set your user agent when making HTTP requests, thank you!
Two ways you can emulate a constant in Elixir code.
This is a walkthrough of how to use javascript in a clean manner in a livebook component:
ElixirConf 2022 Teller Challenge Writeup
My writeup on the Teller challenge, I did the virtual one, which was different from-person.






















