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 😅.
A live view could be understood as a process, this process keep an state, and modify his state if an event happens. Keep an eye here.
Original Post: http://carlogilmar.me/post/learning-iot/
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.
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.
I use the Arduino for built a circuit based on receipt and send signals using the serial port. This means that, for…
Original Post: http://carlogilmar.me/post/learning-swift/
When I start to learn swift I decide to watch videos and demonstrations about how to use the Xcode for build iOS apps, but, for be honest, I couldn’t understand some things: optionals, constrains, auto layout… This was my first experience. So I decide start with basics.
I considered that know and understand the language is important, and Swift is a language with a lot of features. The plan was know more about it, and then introduce me to iOS apps development.
Original Post: http://carlogilmar.me/post/ember-call/
Last November 2017 I had to build an application for make exams to evaluate teachers from a popular university. In the beginning this project was considered only for one person (me), so we decide learn Ember JS for this project.
Like other learning experiences, I started to make some exercises for understand the basics concepts. But in this case this experience was chaotic, because it resulted difficult for me follow a concept guide.
Original post: http://carlogilmar.me/post/learning-puppet/
In the developer day is very common configure linux servers for a lot of things: install a Jenkins, prepare the deploy environments, etc… Well, Puppet can help us to configure this servers, as a improve script shell. In this post I’m going to talk about the first steps for use Puppet.
I recommend start to learning using Vagrant for create virtual machines ( By default Vagrant machines have installed an old Puppet version), you can know more in the Making Devs Blog: Creating virtual machines with Vagrant · Blog de Making Devs
Original Post in http://carlogilmar.me/post/ember-first/
In the last post Learning Ember I talk about how to start with Ember.
Now, after nights studying Ember I think that learning this framework is difficult because it require think first in Ember Concepts.
After nights studying Ember I can say that learning this framework is difficult because you have to think first in their main concepts, and if you have some experience with other frameworks or transpilers ( coffee script, typescript, elm) probably you will be confused.
Original post: http://carlogilmar.me/post/effectivejenkins/
Thanks to Packt Publishing for this opportunity, and thanks to Dwayne D’Souza for the collaboration!
So, I want to talk about the content of this course.
This course is for people who know the basics about Jenkins. If you don’t, I would recommend learning about this from their previous courses:
I would also suggest learning Vagrant as an added advantage.
Before you start with this course, you will need to know how to install Jenkins and configure it for the first…
Original post: http://carlogilmar.me/post/learning-ember/
When I was searching about Ember I found a lot of resources: posts, books, videos, courses and more. Everything looks good, until I had to start my first projects.
I think that is good to know the context about it. Ember JS was born as a fork from SproutCore Framework. Apple was a contributor and develop his web application iWork (iCloud begins) with this framework. Ember Js born from SproutCore 2.0, by Yehuda Katz, a member of the jQuery, Ruby on Rails and SproutCore core teams.
Apple Music and LinkedIn are two applications developed with Ember JS.
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.
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. …
The original post is on my personal blog: http://carlogilmar.me/post/phoenix-sockets/
Hi! This post is for explain how to create a simple application with Phoenix and Elixir using Web Sockets.
The Web Socket protocol based on TCP produce a bidirectional communication between client-server app, and it doesn’t need to use HTTP protocols.
I created a phoenix project without ecto
mix phx.new sampler --no-ecto for show a simple connection using web sockets.
For start, we have to create the communication through the web socket.
We have to make the connection to phoenix in every browser through
channels (phoenix Implementation for web sockets).