Neo4j with Elixir, Phoenix and Neo4j.Sips(β) - The Movies Example Application

A very simple web application using Neo4j with Elixir, Phoenix and Neo4j.Sips(β).

Find more information on Github:

Sap - HTTP combinators for Plug applications

In most Plug applications, there is some sort of match and/or dispatch process that takes place for an individual request. A request will come in, a set of pattern matching statements created will be compared against the requested path, and if there’s a match, a function will be called to send the client a response. Here, there is a clear separation between matching/filtering a request and creating a response.

With Sap, the basic idea remains the same, but the way a request is accepted and a response is created is slightly different. Combinators, a fancy name for simple functions meant to be composed with one another, are tasked with one of two goals:

  • filter requests based on some criteria
  • build up a response

The power of these functions comes from the ability to compose them in any order. There is no clear separation of each type of combinators, so a filtering combinator can be used both before and after a building combinator and vice versa.

Find more information:

Tabula - pretty printer for maps/structs collections

Tabula can transform a collection of maps (structs too, e.g. Ecto models) into an ASCII/GitHub Markdown table. Grab it from hex and enjoy!

Neo4j.Sips - a simple Elixir driver for Neo4j graphdb

Hi there - Neo4j.Sips is aiming to help the Elixir developers explore the Neo4j graph database, and to eventually become the core of a future Ecto adapter. The source code for this driver is in Github: florinpatrascu/neo4j_sips. If interested, you can use it in your projects directly from hex.pm. These are my first steps to learning Elixir and I am welcoming your feedback. Pull requests, would be awesome! - Florin.

Filter request params from Phoenix logs

Phoenix is a really powerful and customizable framework. One of it’s small but important configurations is filtering custom params from the logs. I am sure that this will be more interesting to beginner than experienced developers, but nevertheless, let’s see what’s the motivation behind this and how to do it in Phoenix. Read more here.

101 LINQ examples in Elixir

Exploring data manipulation with the 101 LINQ examples using Elixir’s Enum and for comprehensions https://github.com/omnibs/elixir-linq-examples

My discoveries about Elixir processes

What did I learn about Elixir processes in the the wild. http://eddwardo.github.io/elixir/2015/10/22/elixir-pingpong-table/

Scaffold a Phoenix project with namespaced resources

I wrote a very simple article on scaffolding a Phoenix project with namespaced resources.

Check it out: http://buff.ly/1LPLjs0

Sprint Poker – Free Agile Estimating Tool

Free Open Source Agile Estimating Tool written in Elixir, Phoenix and React. http://blog.elpassion.com/sprint-poker/

Streaming work through a process pool

I wrote a blog post on using Elixir Streams to push work through a process pool and send the results back out in a Stream. You can read about it here: http://bit.ly/1ZW3JNW

Writing a Blog Engine in Phoenix and Elixir: Part 3, Adding Roles to our Models

I wrote up part 3 of the tutorial series on writing a blog engine in Phoenix! This time we’re covering add a “role” concept to the models we’ve written so far!

https://medium.com/@diamondgfx/writing-a-blog-engine-in-phoenix-and-elixir-part-3-adding-roles-to-our-models-3be45a4afe4b

Exon v0.0.3

Exon is a tool used to register the items (machines, screens, lasers, 48 ports switches) you may have at home or in your hackerspace. it provides a hybrid API and stores the data in ETS/DETS tables. Last night, I released v0.0.3 which brings a few adjustments in the JSON part of the protocol and warns if you try to register two items with the same name. Feel free to write a client for it in your favourite language, I wrote a spec sheet for this purpose.

Parallel Processing for Elixir

I just pushed the typical “Hello World” for Elixir (parallel map) so I don’t have to copypaste it again and again for every new project.

https://github.com/Anonyfox/parallel

Wrapping up the TCP small message experiment series (by @dbeck74)

I finally reached the 3M messages per second range: http://dbeck.github.io/Wrapping-up-my-Elixir-TCP-experiments/

The experiment sources are now on github.

Plug Web Apps

Create a Web App in Elixir only using Plug and Cowboy as the web server.

https://youtu.be/7R0VsjI0moU

I just published “Testing Validations in Elixir and Ecto”

I’ve published a new tutorial expanding on testing other different validations available for models!

https://medium.com/@diamondgfx/testing-validations-in-elixir-and-ecto-677bd8a071a1

How to set tests as pending in your ExUnit suite

Just published a new blog post about recreating RSpec’s “pending” feature in Elixir and ExUnit. Check it out here.

Understanding Lists

List is a basic data structure in functional programming, but I found it’s often not well understood by many programmers. In this post I’m explaining how lists work and implementing couple of basic lists functions like map or length.

Read more here

Embedding Elixir Structs in Ecto Models

With Ecto, you can embed individual or arrays of structs directly inside another model. This makes it easy to pull up records without having to do a SQL join, since the record is on the same table. A couple examples of when you might want to do this are for settings or addresses.

Learn more here!

LearningElixir: ElixirConf 2015 Report

I had a chance to go to ElixirConf 2015 in Austin, Texas. The conference was a great and I learned a lot. I’ve written a bit about my favorite talks of the conference. Read more here.

Previous page Next page