Introducing ReactPhoenix - a package to make rendering React.js in Phoenix easy
Every time I started a new Phoenix application, it took me quite a while to remember how to get everything set up in Phoenix in order to display a React component. Beyond that, most of the tutorials I found that dealt with React and Brunch (vs Webpack) only rendered a single component. I’m more interested in React sprinkles in my app and the global rendering on every page load wasn’t working for me. I saw a hole in the current offerings of packages dealing with Phoenix and React and I decided to fill it.
Who Needs Lodash When You Have Elixir?
As I get more comfortable with Elixir, I can’t help but compare it to other things I know. Elixir’s standard library outperforms and outclasses Javascript’s de facto standard library, Lodash.
Announcing PlugEtsCache v0.1.0
PlugEtsCache is a simple caching system based on Plug and ETS. It lets you to cache responses for a given amount of time, heavily boosting response times.
Take ownership of your data
For too long we’ve been using exclusively relational databases to put our data. Don’t let it model your data, but the other way around. https://blog.digitalnatives.hu/take-ownership-of-your-data-intro/
Library for handling binaries in Elixir
I was missing something like Elixir.String which operated on bytes instead of codepoints, so I wrote a tiny lib with a few handy functions, mostly wrappers for erlang’s :binary. Would love to get some feedback.
Configure Elixir in Production with Weave
12-Factor … Kubernetes … Docker Swarm … Running Elixir in production and keeping these in mind can be a challenge; how do we configured our compiled application at run-time?
Weave can help.
The first Elixir Youtube channel LittleAlchemist.io says Hello World!
LittleAlchemist.io is launching the first (and only) Elixir Youtube channel, and what better way to start than a Hello World tutorial?
From Zero to Hero in Elixir - #1 Say Hello World to my little friend
An Introduction to GenServer
In our latest episode we build a simple shopping list with GenServer https://elixircasts.io/intro-to-genserver
Create a riak_core application in Elixir (Part 4)
How to create a command that involve the entire cluster. https://medium.com/@GPad/create-a-riak-core-application-in-elixir-part-4-728512ece224
How Pattern Matching works in Elixir
Pattern Matching is one of the fundamental concepts that we need to master while learning Elixir.
https://samueltthomas.com/how-pattern-matching-works-in-elixir
Introducing Trans 2.0
Trans is an Elixir library for managing translations embedded into data structures.
Trans 2.0 was released last week with lots of improvements over the previous versions. This article explains the main changes, improvements and future plans for Trans:
https://medium.com/@belaustegui/introducing-trans2-407610887068
IntelliJ Elixir v5.0.0
https://github.com/KronicDeth/intellij-elixir/releases/tag/v5.0.0
-
Decompile any
.beamfile in your project (doesn’t matter what the original language was to Elixir modules and their containing functions and macros) and from the Elixir SDK- Go To Declaration works for both the decompiled module Aliases and the macros and functions, so you can now jump to at least a stub of all standard library functions and macros
-
Completion works for both decompiled module Aliases and the macros and functions, so standard library completion is present, but so is completion of Erlang dependencies once you’re compiled, such as
:idna.
- A bunch of bug fixes, including fixing the wonky highlights in random locations in files: it turned out that the annotator was always highlighting the call definition offset even if the call definition was in another file.
Phoenix Presence for Social Networks
Presence sharing without chat rooms. How to sync presences across a social network while maintaining privacy and scalability.
https://medium.com/@alvinlindstam/phoenix-presence-for-social-networks-5fb67143f0ad
Elixir Testing-Running only specific tests
This article comprises three major topics.
- How to run the specific test cases?
- How to use tags in test cases? and
- How to configure the tests?
Level: Intermediate
https://medium.com/@blackode/elixir-testing-running-only-specific-tests-746cfc24d904
Happy Coding !!
Hub: Pub-sub subscriptions with pattern matching
First release of Hub: A pub-sub hub with pattern matching subscriptions.
Blog post in which I explain my need for Hub:
https://medium.com/@lasseebert/elixir-pubsub-hub-with-pattern-matching-95031a385c42
Deploying Elixir Modules @ Multiple Nodes
This article explains about Elixir Module Deployment across multiple nodes from the scratch. Here we go with deep understanding of things like Node Creation, Establishing Node Connection and Deploying Modules across multiple Nodes.
https://medium.com/@blackode/deploying-elixir-modules-different-nodes-6c9cc17d3b97
Happy Coding !!
Using Apollo Client with Elixir's Absinthe
Check out how to use Apollo in a “Create React App”-based React application alongside an Absinthe-powered Elixir/Phoenix backend in this new article.
Storing any Elixir data in Postgres
Disclaimer : this is just an experiment. I don’t know how f… up it is to store Erlang’s terms in a SQL DB.
You can store any Elixir data (aka Erlang’s term) in Postgres. Here’s how you do it, step-by-step.
https://medium.com/@kaisersly/storing-any-elixir-data-in-postgres-e8f93367f473
