Perf tools in Elixir are wonderful! https://email@example.com/an-elixir-performance-tooling-story-c5c85479063a
How to run your Phoenix integration tests on Circle CI 2.0 with headless browser mode?
When designing your Elixir systems, think about the processes as people. Now think of these people in an office all working together to serve the customer. That is how you can build your software systems in Elixir. It’s natural and intuitive!
Talking about system design, how processes work, some benefits of Elixir and Phoenix, and concurrency!
I just added support for Elixir to Dependabot!
Each day it will pull down your
mix.lock files and check whether the dependencies in them are up-to-date. If there are any that could do with a bump it will create individual PRs for each update for you.
Would love beta testers - Dependabot has created a lot of Ruby and JS pull requests, but support for Elixir is brand new.
In addition to finishing PhoenixMarkdown v1.0, I’ve also published a blog post on Medium describing how to use it.
Continuing my roll of updating packages this week…
PhoenixMarkdown version 1.0 has just been pushed to Hex!
PhoenixMarkdown lets you use Markdown as first-class templates in Phoenix.
In addition to streamlining the code, you can now optionally process server-side tags in the Markdown file.
ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.
We are working on a site, but in the mean time would like anyone who is interested in attending, speaking or sponsoring to fill out our Google Form https://docs.google.com/forms/d/e/1FAIpQLSfRgC-654H30l4hJvnqug75AW0l3YFeCc-upTMhADHZmQbzXQ/viewform
how to process an ets table in chunks or batches https://goodcode.in/elixir/10/how-to-process-an-ets-table-in-chunks-or-batches
In this article, I wrote about few things I like about Ecto that aren’t available in Active Record. It’s not meant to be a “Phoenix is better than Rails” rant as both frameworks provide really great things and we can all learn from each of them. https://infinum.co/the-capsized-eight/things-i-wish-active-record-had-after-using-ecto
How to use Mox in your test suite, and at which layers you should use them in: https://blog.carbonfive.com/2018/01/16/functional-mocks-with-mox-in-elixir/.
Apparently I’m updating packages today…
Just published PhoenixIntegration 0.5 to hex. Features the following changes:
- Adds click_button, which requests links in buttons in a test.
- Adds follow_button, which follows requests through a button with redirection.
- Improves error messages when requesting the wrong method.
Every year, we have an opportunity to engage the communities that we’re a part of. From Slack to meetups to conferences — everyone can contribute regardless of their experience. How will you contribute to the Elixir community in 2018? https://blog.echobind.com/how-to-engage-a-community-bc7333b6aaf5
Tutorial for getting started with Ace; a featherweight toolkit for developing web applications.
I just pushed PolicyWonk 1.0.0-rc.0 to hex.
This is a major update (re-write…) that has less code than the original.
v1.0 fixes several issues with the old architecture:
- It wasn’t compatible with Phoenix 1.3 umbrella apps. Or rather, you couldn’t have separate policies for different apps in an umbrella.
- It had a whole mess of complexity that simply wasn’t needed. I never used most of the “shortcut” options since the more explicit versions (with slightly more typing) were always clearer.
- Returning errors from Policies was too vague. I want to know errors are being processed!
- The config file data isn’t necessary in a more explicit model.
- Naming was inconsistent between policies and resources.
If you use PolicyWonk, I would appreciate any feedback before declaring it done.
There are breaking changes, so make sure to read the docs on how to upgrade. Overall, the shape is similar, so there is minimal work to make the upgrade. The result works with Phoenix umbrella apps, is simpler, more flexible and has better consistency.
I think the upgrade will be well worth it.
Lesson 14: https://youtu.be/mYsYgNlRuEM
We finish migrating StatWatch from a CSV file-driven app to a database-driven app. We use Ecto to create associations between user profiles and their associated stats and streamline our stat saving by using Repo.insert_all to take in many rows en masse.
Don’t forget to submit your content requests! https://youtu.be/nauHI5omF2M