Testing with Power Assert in Elixir projects
Power Assert becomes your test results more descriptive. In this post, how to test with PowerAssertEx in your Elixir projects. It’s easy to use! Happy testing!
Integration tests fun with Phoenix and React
Writing integration tests with Phoenix and React is easy and fun thanks to Hound, the browser automation and integration tests library for Elixir. Here’s a post I wrote about it with some tips and real test examples:
http://codeloveandboards.com/blog/2016/01/29/integration-tests-fun-with-phoenix-and-react/
Happy coding!
Plasm - Ecto's composable query multitool
I love Ecto and the composability of its queries, but it’s low-level, so I found myself reimplementing my own count, random, first, last, etc. functions in all my models/projects.
Plasm seeks to provide a high-level, generic, composable library of functions to make working with Ecto easier.
https://github.com/atomic-fads/plasm
Contributions welcome!
Free Elixir workshop at the Erlang Factory Lite Brussel
there will be a free elixir workshop at the Erlang Factory Lite Brussel just before the FOSDEM:
http://www.erlang-factory.com/brussels2016/#programme
don’t miss it :)
Fun with Robots and Elixir at the Boston Elixir meetup
Last Thursday, at the Boston Elixir meetup, I gave a talk on programming autonomous robots with Elixir. The focus was on how Elixir/OTP makes it surprisingly easy to implement a multi-agent, “society of mind” architecture for Lego robots. In this blog post, I report on my latest progress and give a brief account of the talk, with links to video and slides.
Use, import, require, what do they mean in Elixir?
An explanation on how to reference modules in Elixir from Learning Elixir.
http://learningelixir.joekain.com/use-import-require-in-elixir/
Phoenix Best Practices - Decorating in Views
Keeping your logic where it belongs
https://dockyard.com/blog/2016/01/15/phoenix-best-practice-decorating-in-views
Running Phoenix acceptance tests on SemaphoreCI
You’re writing acceptance tests with Hound, but how do you get them running in continuous integration? Here’s a step by step tutorial for running Hound on Semaphore CI.
http://blog.animascodelabs.com/2016/01/22/running-hound-on-semaphoreci/
Writing Acceptance tests in Phoenix
Acceptance testing seems to be in its first steps in the Elixir ecosystem, but there are already some cool libs that can help us out to do it.
This blog post shows you how to do acceptance tests in Phoenix with Hound.
Filtering from params in Phoenix
How to extract filters from params and use them in a query.
https://medium.com/@kaisersly/filtering-from-params-in-phoenix-27b85b6b1354#.xggidybvs
Elixir 1.2.1 ChocolateyNuGet Package
The Chocolatey NuGet package for Elixir 1.2.1 is now available. https://chocolatey.org/packages/Elixir/1.2.1
Validating Elixir Data with ExJsonSchema
JSON Schema is a very useful, standards-track specification for defining schemas for JSON data. In this post, we explore using ExJsonSchema and a schema.json file to validate input and output data in an Elixir app.
https://engineering.appcues.com/2016/01/20/ex-json-schema.html
Render different formats in Phoenix
How to render different formats in the same action.
https://medium.com/@kaisersly/render-different-formats-in-phoenix-514aaf832a1a#.k55obfk3f
Conn's Journey Through Phoenix
Exploring the Plug.Conn struct’s journey from endpoint.ex to your eyeballs.
The Rails Doctrine Legacy and Phoenix
Rails has done wonders for my career. I thought I’d share how it has shaped my concept of “programmer happiness”, and how that has led me to Phoenix.
https://medium.com/infinite-red/the-rails-doctrine-legacy-67201abee169#.36y7cjoxi
An Elixir presentation for aspiring Erlang devs
I made a small Elixir presentation for the Erlang course at my University.
http://blog.nexusger.de/2016/01/elixir-for-aspiring-erlang-developers/
Ramblings about function guards, records, maps and ETS and a bit of scalesmall (@dbeck74)
While continuing my scalesmall experiment I explore Elixir and this post is about my findings in the land of:
- function guards
- defstruct vs defrecord
- ETS
- and a very small bit of scalesmall news
Hope you enjoy: http://dbeck.github.io/Scalesmall-W8-W10-Elixir-Tuples-Maps-and-ETS/
Using Stylus and Jeet with the Phoenix Framework
I recently started learning Elixir and the Phoenix Framework, and while porting an existing project into Phoenix I hit a few small road-bumps getting Stylus to compile…
