How to contribute to Elixir

Some notes I took on contributing back to the language

Fragments in Ecto

I work with the fragment function in Ecto to add custom SQL to a query.

http://learningelixir.joekain.com/fragments-in-ecto/

Elixir Best Practices: When to Use Structs, String-keyed Maps, and Atom-keyed Maps

Some simple rules for what to use when, and why.

https://engineering.appcues.com/2016/02/02/too-many-dicts.html

(ERRATUM) Filtering from params in Phoenix

My solution didn’t work with default values. I added an erratum to my article :

https://medium.com/@kaisersly/filtering-from-params-in-phoenix-27b85b6b1354#.ohvrfm8wk

Elixir Best Practices - Working with Deeply Nested Maps

Easier than you think

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!

http://qiita.com/ma2ge/items/29115d0afbf97a092783

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!

Running Elixir and Phoenix projects on a cluster of nodes

Its easier than you think

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/

Render different formats in Phoenix (2nd attempt)

A more Railsy approach to handling formats.

https://medium.com/@kaisersly/render-different-formats-in-phoenix-2nd-attempt-8775a289ebb1#.ijaj6i1z0

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

Previous page Next page