New Elixir book: Build Your Own Web Framework in Elixir!
- Amazon Discount Code: 15ELIXIR (valid until July 31)
- Link: https://packt.link/sEaa3
Quick snippet from the “Preface”:
The goal is to demystify the aforementioned Phoenix magic by breaking it down into components and designing/building them from the ground up, all while testing their expected behaviors.
Wrote a Mix task that turns any Phoenix Site into a static site
https://github.com/lubien/single-file-phoenix-static/blob/main/lib/mix/tasks/generate_static.ex
Copy and past under lib/mix/tasks/generate_static.ex
Just released part (9/?) of my guide to LiveView for beginners.
https://dev.to/lubien/where-are-all-these-points-coming-from-758
Topics: creating models and contexts from scratch, starting with Ecto query, first glance at IEx.
Elixir's optional syntax
I always knew that Elixir had some optional syntax, but I didn’t realize how prevalent it was!
José Valim shared a new guide on Elixir’s optional syntax. And I thought it was really cool!
So, I created a short video to share an example. Hope you like it!
Timezones with TzWorld
In episode 166 we’ll build an application to fetch timezones from latitude/longitude coordinates using TzWorld.
From idea to app: The ultimate guide to digital product development
🚀 Ever wondered what it takes to transform your idea into a fully functioning digital product? 📱💡 We’re thrilled to share our latest article “From Idea to App: The Ultimate Guide to Digital Product Development.”
This comprehensive guide takes you through each stage of the product development process. Whether you’re a seasoned developer or a bright-eyed entrepreneur, you should take a look. ✨ https://curiosum.com/blog/from-idea-to-app-the-ultimate-guide-to-digital-product-development
#DigitalProductDevelopment #AppDevelopment #TechGuide #Entrepreneurship
Inspecting Elixir Dependencies at Runtime for Security
When a new vulnerability is announced, do you know exactly what is running in production? Doing this is a pretty simple one-liner, but knowing how to do it correctly is extremely important.
A Deep Dive into Mutations with Absinthe
In the third part of this series, we’ll create GraphQL mutations with Absinthe: https://blog.appsignal.com/2023/07/04/a-deep-dive-into-mutations-with-absinthe.html
Thinking Elixir 158: From Ruby to Elixir with Steve Bussey
Episode 158 of Thinking Elixir. A challenge for many people learning Elixir is the change in the mental model. Coming from OOP to Functional changes how we reason about our applications and the old way doesn’t always map over cleanly. Also, Elixir is capable of doing a lot more than other languages and frameworks can and this means learning how to build a “normal” application may change. We talk with Steve Bussey about his new book “From Ruby to Elixir” that aims to help people bridge that gap. While the title says “Ruby”, we discuss how many of the concepts apply to people coming from most OOP languages. We talk about different libraries to recommend to people coming from a traditional Rails stack and more!
To Code BEAM and back again, Stockholm, 2023
I’ve gone to every Code BEAM Stockholm I have been able to since I started Elixir. I like conferences and the reworked Erlang-focused conference has widened beautifully into a more complex mixture of Erlang, Elixir and occasionally other things. https://www.youtube.com/watch?v=D-bqAjjntfQ
Elixir’s Pinned and Non-Pinned Variables: A Deep Dive into Pattern Matching Techniques
The idea of pinned variables and variables in Elixir’s pattern matching
Open sourcing our video metrics project
These days the are great tools to measure everything that occurs in your site. Clicks, reading time, loading times, errors and so forth. And we care about the video content on our websites in the same way… right?
Lifting Your Loads for Maintainable Elixir Applications
Brian Underwood explores separating data loading from data usage in Ecto for maintainability by thinking functionally.
https://www.erlang-solutions.com/blog/lifting-your-loads-for-maintainable-elixir-applications/
Thinking Elixir 157: Adding Dialyzer Late in the Game
Episode 157 of Thinking Elixir. Dialyzer is something that eventually everyone hears about in the Elixir community. It’s a static code analysis tool that has both fans and detractors, and with good reasons on both sides! We talk with Noah Betzen about how he brought Dialyzer to several mature Elixir projects. He wanted the benefits of finding and fixing bugs and to prevent new problems from being added. He shared tools, strategies and other resources for how to get started without stopping everything to fix all the existing problems. If you’ve ever tried to add Dialyzer to a project and aborted, then this discussion may give you the courage and tools to try again!
Beginner friendly Phoenix and LiveView guide
https://dev.to/lubien/the-lazy-programmers-intro-to-liveview-chapter-1-1487 This series teaches how to use Phoenix and LiveView as we progress through the creation of a side project.
Elixir 1.15 deprecates Logger.warn/2 in favor of Logger.warning/2
Elixir 1.15 is deprecating Logger.warn/2 in favor of Logger.warning/2.
It does so since Elixir now relies on Erlang’s :logger, and Erlang uses the term warning instead of warn.
Other terms such as info and error already matched, but warn didn’t. A small change, but I’m glad the log levels now match those of Erlang.
Check it out in action 👉 https://www.elixirstreams.com/tips/elixir-deprecates-logger-warn
PostgreSQL Ranges with EctoRange
In this episode we explore how to use PostgreSQL range types with Ecto using the EctoRange package.
Thinking Elixir 156: React to LiveView for Performance
Episode 156 of Thinking Elixir. When their React app stuttered and slowed with the hundreds of items they needed to display, Tim Gremore tried it out as a LiveView rendered page and found they could scale to thousands without issue. The LiveView version was so responsive the users thought it must not be working because there was no delay to register the changes! Tim shares their journey migrating a service from React to LiveView to solve their issue. He shares tips, what they learned in the process and more!
Introducing Elixir Streams!
A new website that includes all the Elixir and Phoenix tips and tricks 🎥 I’ve been sharing for a while.
Check it out! 👉 https://www.elixirstreams.com/