Simple templates for Phoenix/Webpack/Docker/Elastic Beanstalk setup
https://github.com/eellson/phoenix-webpack-docker-elastic
A set of simple templates to get Phoenix up and running with Webpack and Docker, ready for deployment on Elastic Beanstalk.
IntelliJ Elixir v4.2.0
IntelliJ Elixir v4.2.0 has been released:
- Auto-insertion and matching of delimiters
Integrating CircleCI with Elixir/Phoenix
In Elixir/Phoenix we can create complex and maintainable tests in a short time. But, how can we integrate it with CircleCI?
Meet ESpec 1.0.0!
Dear, alchemists! Behaviour Driven Development for Elixir gets a little extra!
With great relish want to inform you that ESpec 1.0.0 is available!
A lot of work has been done in the past year. Some features were completely redesigned (thanks to Jonathan Perret) and tons were added.
So, check it out and enjoy!
P.S. If you’re looking for usage examples with Phoenix framework, take a look to ESpec.Phoenix project.
phoenix_integration 0.1.1 is released
Added new assertion options and a new request function.
Rise From the Ashes — Incremental APIs With Phoenix
Despite Phoenix’s attractiveness, chances are you have business requirements that disallow you from dropping work on existing APIs that still need to be supported. What if we could incrementally replace our legacy API with Phoenix, one endpoint at a time?
Terraform is a simple plug that lets you do just that – incrementally replace an API with Phoenix.
Down the Rabbit Hole: Defining a guard-safe modulo operation in Elixir
I wrote a blog post about the ‘easy’ task of defining a guard-safe modulo operation in Elixir, and the roller-coaster ride that happened next.
Collision v0.3.1 released
v0.3.1 of collision, a library for creating, manipulating, and detecting and resolving collisions between polygons adds support for general polygons, handling concave polygons, a simplified API, and improved documentation.
Instant Elixir code reloader / test runner
While there are some alternatives, I wanted something flexible and configurable during runtime. Also, unit tests are executed in the same Erlang VM, so no long reloading / compiling is necessary. In future with custom run strategies, that would allow you to map a changed file to only a few selected test files. Please test and break! )))
Elixir: a bit about macros & behaviours
A few days ago I implemented a little DSL with Elixir. Obviously, I had to utilize Elixir’s macros approach. In the article I’d like to share with you some Elixir macros and behaviours basic usage.
Solving our SOA problems with Elixir
The wins our startup is seeing after re-writing two of our major services into Elixir.
https://blog.gitmonitor.com/gitmonitor-on-elixir-92a87c7eb382
Elixir in the Trenches
Experiences from an Elixir project
http://blog.carbonfive.com/2016/08/08/elixir-in-the-trenches/
Using Postgres range data type in Ecto
Ecto is an amazing database wrapper and let you customize your needs. With Postgres we have a data type for ranges and this post shows you how to implement that.
Check it out: https://pedroassumpcao.ghost.io/using-postgres-range-data-type-in-ecto/
Credo v0.4.8 released!
Credo is a static code analysis tool with a focus on code consistency and teaching.
This version’s CHANGELOG:
-
Add
exclude_functionsoption toPipeChainStart -
No longer report issues in case of ambiguous aliases in
AliasUsage -
Fix false positives for
LargeNumbersin Elixir>= 1.3.2(again) - Lots of refactorings
Building Phoenix Battleship (pt. 5)
Part 5 of the series about building Phoenix Battleship, in which we’ll cover shooting turns :)
http://codeloveandboards.com/blog/2016/08/08/building-phoenix-battleship-pt-5/
Dynamically Load a Module in Elixir using Macros
Elixir way of keeping code clear and reusable is creating modules and importing them when needed. However import method is easy to use for static module names, it requires more afford to load dynamically assigned modules.
IntelliJ Elixir v4.1.0
IntelliJ Elixir v4.1.0 has been released:
-
Multiple Alias (
A.{B, C}) parsing, quoting, and Go To Declaration (BinA.{B, C}will go toA.B) - Code Folding
