|
Showing 1 - 4 of
4 matches in All Departments
Want to get better at coding Elixir? Write a hardware project with
Nerves. As you build this binary clock, you'll build in resiliency
using OTP, the same libraries powering many commercial phone
switches. You'll attack complexity the way the experts do, using a
layered approach. You'll sharpen your debugging skills by taking
small, easily verified steps toward your goal. When you're done,
you'll have a working binary clock and a good appreciation of the
work that goes into a hardware system. You'll also be able to apply
that understanding to every new line of Elixir you write. Combining
software with hardware can be frustrating, but you can become
proficient in no time by taking a simple, logical approach.
Blinking a single LED is the traditional hello-world of embedded
systems. Building your own binary clock is the logical next step.
It blinks groupings of LEDs based on the system time. This guide
walks you through a working project using the techniques used by
experts who build software for hardware every day. This common
sense project moves forward in tiny, logical steps. As you
progress, you can verify each step before moving on to the next.
You don't have to be a Nerves novice to benefit from this project.
Become a better Elixir programmer as you build your own desktop
showpiece. With a layered approach to software design, you'll learn
to control the complexity of your programs the way the experts do
by focusing on one small slice of your system at a time. When
you're done, you'll have your own binary clock, and also more of
the tools you need to design and build your own Nerves and Elixir
projects. You'll also be a better programmer with a deeper
appreciation of layering techniques for controlling complexity.
What You Need: This project is for Elixir developers who want to
get started with Nerves, or improve their skills. The project is
designed for Elixir 1.11 and Nerves 1.7, but later versions will
probably work as well with slight modifications. The project uses a
Raspberry Pi zero with a set of components. With slight
modifications, you can make this book work with other components as
well.
You know how to code in Elixir; now learn to think in it. Learn to
design libraries with intelligent layers that shape the right data
structures, flow from one function into the next, and present the
right APIs. Embrace the same OTP that's kept our telephone systems
reliable and fast for over 30 years. Move beyond understanding the
OTP functions to knowing what's happening under the hood, and why
that matters. Using that knowledge, instinctively know how to
design systems that deliver fast and resilient services to your
users, all with an Elixir focus. Elixir is gaining mindshare as the
programming language you can use to keep you software running
forever, even in the face of unexpected errors and an ever growing
need to use more processors. This power comes from an effective
programming language, an excellent foundation for concurrency and
its inheritance of a battle-tested framework called the OTP. If
you're using frameworks like Phoenix or Nerves, you're already
experiencing the features that make Elixir an excellent language
for today's demands. This book shows you how to go beyond simple
programming to designing, and that means building the right layers.
Embrace those data structures that work best in functional programs
and use them to build functions that perform and compose well,
layer by layer, across processes. Test your code at the right place
using the right techniques. Layer your code into pieces that are
easy to understand and heal themselves when errors strike. Of all
Elixir's boons, the most important one is that it guides us to
design our programs in a way to most benefit from the architecture
that they run on. The experts do it and now you can learn to design
programs that do the same. What You Need: Elixir Version 1.7 or
greater.
Don't accept the compromise between fast and beautiful: you can
have it all. Phoenix creator Chris McCord, Elixir creator Jose
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 chapter 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. What You Need: To work through this book, you
will need a computer capable of running Erlang 18 or higher, Elixir
1.5 or higher, and Phoenix 1.4 or higher. A rudimentary knowledge
of Elixir is also highly recommended.
Great programmers aren't born--they're made. The industry is moving
from object-oriented languages to functional languages, and you
need to commit to radical improvement. New programming languages
arm you with the tools and idioms you need to refine your craft.
While other language primers take you through basic installation
and "Hello, World," we aim higher. Each language in Seven More
Languages in Seven Weeks will take you on a step-by-step journey
through the most important paradigms of our time. You'll learn
seven exciting languages: Lua, Factor, Elixir, Elm, Julia,
MiniKanren, and Idris. Learn from the award-winning programming
series that inspired the Elixir language. Hear how other
programmers across broadly different communities solve problems
important enough to compel language development. Expand your
perspective, and learn to solve multicore and distribution
problems. In each language, you'll solve a non-trivial problem,
using the techniques that make that language special. Write a fully
functional game in Elm, without a single callback, that compiles to
JavaScript so you can deploy it in any browser. Write a logic
program in Clojure using a programming model, MiniKanren, that is
as powerful as Prolog but much better at interacting with the
outside world. Build a distributed program in Elixir with
Lisp-style macros, rich Ruby-like syntax, and the richness of the
Erlang virtual machine. Build your own object layer in Lua, a
statistical program in Julia, a proof in code with Idris, and a
quiz game in Factor. When you're done, you'll have written programs
in five different programming paradigms that were written on three
different continents. You'll have explored four languages on the
leading edge, invented in the past five years, and three more
radically different languages, each with something significant to
teach you
|
You may like...
Loot
Nadine Gordimer
Paperback
(2)
R367
R340
Discovery Miles 3 400
Babylon
Brad Pitt, Margot Robbie, …
Blu-ray disc
R271
Discovery Miles 2 710
|