Arquivo da categoria: Elixir

Programming Phoenix 1.4

Nota: 10

Resumo:

Don’t accept the compromise between fast and beautiful: you can have it all. Phoenix creator Chris McCord, Elixir creator José Valim, and award-winning author Bruce Tate walk you through building an application that’s fast and reliable. At every step, you’ll learn from the Phoenix creators not just what to do, but why. Packed with insider insights and completely updated for Phoenix 1.4, this definitive guide will be your constant companion in your journey from Phoenix novice to expert as you build the next generation of web applications.


Phoenix is the long-awaited web framework based on Elixir, the highly concurrent language that combines a beautiful syntax with rich metaprogramming. The best way to learn Phoenix is to code, and you’ll get to attack some interesting problems. Start working with controllers, views, and templates within the first few pages. Build an in-memory context, and then back it with an Ecto database layer, complete with changesets and constraints that keep readers informed and your database integrity intact. Craft your own interactive application based on the channels API for the real-time applications that this ecosystem made famous. Write your own authentication plugs, and use the OTP layer for supervised services. Organize code with modular umbrella projects.

This edition is fully updated for Phoenix 1.4, with a new section on using Channel Presence to find out who’s connected, even on a distributed application. Use the new generators and the new ExUnit features to organize tests and make Ecto tests concurrent.

This is a book by developers and for developers, and we know how to help you ramp up quickly. Any book can tell you what to do. When you’ve finished this one, you’ll also know why to do it.

Share and Enjoy !

0Shares
0 0

Programming Elixir 1.6

Nota: 10.

This book is the introduction to Elixir for experienced programmers, completely updated for Elixir 1.6 and beyond. Explore functional programming without the academic overtones (tell me about monads just one more time). Create concurrent applications, but get them right without all the locking and consistency headaches. Meet Elixir, a modern, functional, concurrent language built on the rock-solid Erlang VM. Elixir’s pragmatic syntax and built-in support for metaprogramming will make you productive and keep you interested for the long haul. Maybe the time is right for the Next Big Thing. Maybe it’s Elixir.

Share and Enjoy !

0Shares
0 0

Elixir – Do zero à concorrência

Nota do livro: 9.
Meu código fonte.
Código fonte.

Conteúdo

Hoje em dia, com os processadores multi-core, é possível explorar muito mais a distribuição de tarefas ao longo do desenvolvimento. Apesar disso, muitos programadores ainda continuam escrevendo código de maneira clássica, sem tirar o devido proveito das possibilidades e, portanto, não alcançando o resultado mais eficiente. Elixir é uma linguagem de programação moderna, dinâmica e funcional, baseada em processos que se comunicam isoladamente. Com ela, podemos resolver problemas de escalabilidade, tolerância a falhas e alta concorrência, sem abrir mão de desempenho e produtividade.

Neste livro, Tiago Davi apresenta a linguagem de programação Elixir, que, por ser uma linguagem imutável e utilizar o paradigma funcional, nos permite pensar em termos de funções e transformação de dados. Você poderá executar código em pequenos processos, cada um com seu próprio estado, de modo que a construção de sistemas distribuídos e concorrentes seja feita de forma natural, transparente e fácil.

Share and Enjoy !

0Shares
0


0