EctoAutoslugField adds Ecto 2.1 version support
EctoAutoslugField is a utility library that helps you to generate slugs from your Ecto schemas.
Check it out: https://github.com/sobolevn/ecto_autoslug_field
Tutorial: Deploying Elixir applications with Docker and Digital Ocean
The deploy guide I wish existed when I first got into Elixir and Phoenix. https://subvisual.co/blog/posts/137-tutorial-deploying-elixir-applications-with-docker-and-digital-ocean
Sobelow, the Phoenix vulnerability scanner - v0.3.6
Changes include:
- Checks for Denial of Service
- Checks for known-vulnerable packages
- Bug fixes and improvements
Install with mix archive.install hex sobelow
Stateful WebSockets with Elixir’s GenStage
I had a go at using GenStage in conjunction with Phoenix channels, as the backend for an incremental search solution. I wrote up how I did this, and why I took this approach.
https://medium.com/mint-digital/stateful-websockets-with-elixirs-genstage-a29eab420c0d
Optimal order for adding lists
Optimal order for adding lists in Elixir #myelixirstatus http://minhajuddin.com/2017/06/08/optimal-order-for-adding-lists-in-elixir/
Understanding Pattern Matching
From Zero to Hero in Elixir #6
Let’s understand Pattern Matching with many examples including matching Lists, Nested Lists and Maps.
http://elixir-lang.moscow/events/5
We are hosting our 5th #elixirlangmoscow meetup. Will be talking about: ets, neural networks and philosophy. Register here: http://elixir-lang.moscow
Sobelow, the Phoenix vulnerability scanner - v0.3.2
The latest updates make it easier to scan umbrella applications, and introduce an exit
flag for better integration with your CI pipeline.
Bug fixes and updates result in additional vectors being flagged.
Install with mix archive.install hex sobelow
Check out the docs: https://github.com/nccgroup/sobelow
Mango Ecommerce Demo Site in Phoenix
As an update to my Phoenix Inside Out book, I am happy to announce that a demo site is now available at http://mango.shankardevy.com
This is exactly the same commerce site that you will learn to build when you read my book Phoenix Inside Out apart from learning to build a mini-Phoenix framework and learning Practical Ecto.
Looking forward to your comments!
BTW, I’m extending the pre-order discount until 22nd June. So if you haven’t ordered your copy, order it now.
WebSockex 0.2.0
WebSockex 0.2.0 Released!
This release has some major API changes where callbacks are changed or removed without deprecation.
The affected callbacks are:
-
init/2
- Removed in favor ofhandle_connect/2
. -
handle_disconnect/2
- The first argument is now a map. -
handle_connect_failure/2
- Removed with functionality rolled intohandle_disconnect/2
.
Checkout the v0.2.0
Changelog or the v0.1.3..v0.2.0
diff for more info.
Have you tried just using a function?
Read about how I fell into the trap of overcomplicating my application with Elixir processes. Always remember that the simplest tool that does the job is probably the best tool for the job.
Credo v0.8.0 released
I released v0.8.0
of Credo, the static code analysis tool emphasizing code consistency and teaching.
This release introduces major internal refactorings which result in less memory consumption and an overall faster analysis. It also deprecates @lint
attributes in favor of a comment syntax, which allows users to turn of Credo for specific lines.
For details, please refer to the CHANGELOG.
Sobelow, the Phoenix vulnerability scanner - v0.3.0
Sobelow now supports skipping tests on individual functions.
@sobelow_skip ["Traversal"]
def vuln_func(...) do
...
end
Additionally, bug fixes and updates result in additional XSS and SQL injection vectors being flagged.
Install with mix archive.install hex sobelow
[24h free video] - Customizing Earmark
Working on the Firestorm Forum: Extending the Earmark markdown renderer to add auto-linking URLs and emoji replacement.
https://www.dailydrip.com/topics/elixir/drips/customizing-earmark
[24h free video] - Feature Tests with Wallaby, Part 2
Testing user interaction with wallaby - fill out forms, click links.
https://www.dailydrip.com/topics/elixir/drips/feature-tests-with-wallaby-part-2