The content below was generated for prepare a talk for the Elixir Meetup in CDMX 🇲🇽
All the drawings were drew my me.
The Phoenix Live Views is an open-source project created since last October, 2018. The core maintainers are Chris McCord, Jose Valim, Alex Garibay, Gary Rennie and Scott Newcomer. Join to the Elixir Community Slack!
In the next sections I’ll explain what is and how I understood that this works 😅.
Recently I have the opportunity to give a conference in the Startup Week in Mexico City. So I decided talk about Internet of things, because I was learning this using an Arduino and a Raspberry Pi.
DEMO Connect Everything! The project is create a simple web application for create distribuid music. I was inspired in the Launchpad App and the Smartphone Symphony.
I planned make this using Phoenix Framework, and connect an Arduino for play the music.
In the last days I have been learning about Process in Elixir. After doing some exercises and understand some things about it, I can explain how to create a simple example about process.
The Process Work with process in Elixir is so common, so, it’s important know how to use it. For create a process you can use spawn (which takes a function).
The process structure is very simple: you have a mailbox, created within a function and by the word receive, and you can manage different messages and do something.