Working on the Firestorm Forum: Extending the Earmark markdown renderer to add auto-linking URLs and emoji replacement.
Testing user interaction with wallaby - fill out forms, click links.
ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.
I am happy to announce that I am completing final rounds of my Phoenix book and am opening up pre-order for my book with 15% off.
You can read more about the book at https://shankardevy.com/phoenix-book/
Topics covered in the book are:
- Learn just enough Elixir to dive into Phoenix
- Create a mini-Phoenix framework using Elixir and Cowboy
- Plug magic in Phoenix Endpoint, Router and Controller
- Develop an ecommerce site in Phoenix using Test Driven Development
- Practical Ecto Cookbook
- Blueprints to help you better design your project
- Access to lots of handy reference cheatsheets!
- Full access to all code repos used in this book.
Phoenix Inside Out is approx 350 pages and is organised in three parts as follows:
Part I. (Introduce) Readers might come to Phoenix without knowing Elixir. So teach them just enough basic to understand Phoenix code. Knowing the language fully well is indeed necessary for mastery but it’s very easy to get lost in learning Elixir.
Part II. (Demystify) The book explains the internals of Phoenix by showing user how to create something like Phoenix. I believe the best way to learn how a framework works is to create it yourselves. And the best way to use it in your project is to learn how it works.
- Part III. (Empower) The book demonstrates building an commerce site using TDD. Hound is used for acceptance testing. This part also introduces Ecto and Contexts as in Phoenix 1.3. I also explain various deployment options that you can put to use in your project.
Practical Ecto cookbook is approx 120 pages with about 60+ recipes under the following headings
- Embedded Schema
Need to test that tricky function? Here’s a story of a refactoring that allowed us to add some good new tests for a new feature in Benchee.
How to customize actions of ExAdmin resources.
Transitioning monolithic apps into a micro-service architecture isn’t straightforward – in fact, it is often quite difficult. In this intermediate talk, we’ll learn how Elixir umbrella apps and Phoenix utilize the Erlang VM (BEAM) to make building services less painful and more productive.
How to build a template engine (using simple string interpolation), leveraging pattern matching and state machines while measuring overall performance.
In our latest embedded-elixir blog post, Connor Rigby describes how to manage multiple versions of Elixir and Erlang/OTP using ASDF-vm. http://embedded-elixir.com/post/2017-05-23-using-asdf-vm/
Part 2 of our series on sending email with Bamboo. Watch how easy Bamboo makes it to use layouts and templates to compose emails: https://elixircasts.io/sending-email-with-bamboo-part-2
I’m starting a series of posts to people from Java learn Elixir faster. I hope you guys like it.
- Flag for an additional SQL injection vector
- Small addition to XSS checks
- Minor bug fixes and refactoring
You can now install with
mix archive.install hex sobelow, and if you want (or need) to install an older version, you can do so with
mix archive.install hex sobelow 0.2.4.
Retort.Resources.Timeoutalso has functions for deleting and putting module-wide and function name specific timeouts, to make testing easier and less boiler plate needed in override examples.
timeouts set by
Retort.Resources.Timeout.put(module, function_name, timeout).
Retort.Resources.Timeout.delete(module, timeout)will delete
Retort.Resources.Timeout.put(module, function_name, timeout)OR remove the
function_nameand leave it for the other function names when
Retort.Resources.Timeout.put(module, timeout)is called.
Retort.Resources.Timeout.put(module, timeout)will set the
Retort.Resources.Timeout.put(module, function_name, timeout)will set the
Retort.Resources.Timeout.put(module, function_name, timeout, func)will only temporarily
Retort.Resources.Timeout.put/3, but for the duration passed function only. This can be used to test timeout handling.
- Update to
- Fix formatting of timeout override example code.
Retort.Resources.timeout(module, function_name)is deprecated; use
In the second instalment of “When to use processes in Elixir” I wrote about using processes to run concurrent tasks.
In case you missed it, you could already send emails with attachments using Swoosh 0.8, all adapters supported
Checkout docs at https://github.com/swoosh/swoosh#attachments
The adapters list: