Phoenix and Elm, a real use case (pt. 6)
Here is the last part of my series about Phoenix and Elm, where we cover communication through WebSockets.
http://codeloveandboards.com/blog/2017/03/19/phoenix-and-elm-a-real-use-case-pt-6/
Little things that saves time in Elixir Coding....
Some interesting things that saves time while coding in elixir…
https://medium.com/@blackode/little-things-that-saves-time-in-elixir-109d0662fc55
This list grows in number…
Highlights
- Clear Explanation with two ways of doing things
- 7 Interesting things to be cared
Happy Coding
Elixir Math Tips
I share some of the interesting stuff I’ve learned about working with math in Elixir: http://awochna.com/2017/04/02/elixir-math.html
CookieJar is here to store your cookies
https://hex.pm/packages/cookie_jar
This lib helps with hacking around (building clients/bots to access) websites that rely on cookies to store user status, e.g. auth, page history, etc. It has httpoison and httpotion integration builtin.
Check the docs and source code.
Difference between views and templates in Phoenix
Normally in MVC frameworks, the view and the template are essentially the same thing. But in the case of Phoenix Framework, they refer to different components…Phoenix templates are compiled to rendering functions and are placed in the corresponding view modules…
https://samueltthomas.com/difference-between-views-and-templates-in-phoenix
GenStage for continuous job processing
Continuously polling AWS SQS for messages and processing them with GenStage. Production application experience from @uSwitchEng.
https://labs.uswitch.com/genstage-for-continuous-job-processing/
ex_lcd updated to 0.3.2
I updated the ex_lcd hex package to 0.3.2 to resolve a dependency issue. ExLCD is a library to easily use character matrix LCD displays in your Elixir nerves projects.
How to Test Shared Behavior in Elixir
Implementing functionality similar to RSpec’s shared examples using ExUnit, by a Rubyist.
https://blog.codeminer42.com/how-to-test-shared-behavior-in-elixir-3ea3ebb92b64
[Ann] Elixirocks Conference @ Denver CO Nov 9-10 2017
All,
Announcing an all things Elixir conference in Denver CO on Nov 9-10 2017.
Please check out Elixirocks and follow us on twitter @exr
We hope you will join us!
Thank you!
A lot of Piping involved
Let’s learn how to use the pipe operator. With a real world example and how to debug it.
http://www.littlealchemist.io/2017-03-28-A-lot-of-piping-involved/
ETag tracking and Elixir
I’m playing with Elixir and abusing ETag (caching mechanism built into HTTP protocol) to track users.
http://blog.sundaycoding.com/blog/2017/03/28/etag-tracking-and-elixir/
Develop data driven SPAs with Elixir, Cowboy and React
This is an example application built from scratch that shows how to use Elixir, Cowboy and Ecto in conjunction with React, Redux and Redux Saga to create data driven Single Page Applications.
Ecto Custom Types, a practical case with enumerize (Rails gem).
How to read and write an enumerized field from a rails application DB with an Ecto custom type
An Intro to Elixir Functions on ElixirCasts.io
Ready to learn Elixir? Our latest episode is a great place to start.
Implementing a Naive Enum for Lists in Elixir - Part 02
Implementing a Naive Enum for Lists in Elixir - Part 02 https://www.youtube.com/watch?v=oboH_0uJyY4 rawcode
Form Objects in Elixir
Can we have Form Objects in Elixir? It’s a functional language, isn’t it? But thanks to many features it gives us, we can leverage them to mimic Form Object pattern in our applications! Check this out: https://blog.lelonek.me/form-objects-in-elixir-6a57cf7c3d30
Dealing with legacy databases in Ecto
In this post I share some of my experiences dealing with legacy databases in Ecto. It’s surprisingly simple with a few gotchas here and there.
https://cafeinacode.com/dealing-with-legacy-databases-in-ecto-47489ee44c4#.7uwb3xic6
Leverage Swoosh + EEx to send plain-text emails
Sending HTML emails with Swoosh is easy. This post shows you how to leverage swoosh+EEx to send a plain-text body along with your HTML mail.
Baltimore Elixir and Erlang meetup
The second Baltimore Elixir and Erlang meetup is Wednesday, March 29.
Our scheduled talks are on Joe Armstrong’s A History of Erlang, and adding authentication to Phoenix applications.
We’d love to see some new faces!
https://www.meetup.com/Baltimore-Elixir-and-Erlang-Meetup/events/238111072/
Elixir/Phoenix Mix Tip #1: mix deps.unlock
Here comes the first in a series of blog posts on using Mix with your Elixir project.
We kick off with using Mix to update individual Elixir libraries. Of particular interest if you use the excellent tzdata library for handling timezones in your Phoenix app.
http://thisischichi.me/2017/03/22/elixirphoenix-mix-tip-1-mix-deps-unlock/