The Little Elixir & OTP Guidebook

Benjamin Tan Wei Hao

  • 出版商: Manning
  • 出版日期: 2016-10-14
  • 定價: $1,398
  • 售價: 9.5$1,328
  • 貴賓價: 9.0$1,258
  • 語言: 英文
  • 頁數: 296
  • 裝訂: Paperback
  • ISBN: 1633430111
  • ISBN-13: 9781633430112
  • 相關分類: Functional-programming
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

Summary

The Little Elixir & OTP Guidebook gets you started programming applications with Elixir and OTP. You begin with a quick overview of the Elixir language syntax, along with just enough functional programming to use it effectively. Then, you'll dive straight into OTP and learn how it helps you build scalable, fault-tolerant and distributed applications through several fun examples.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Elixir is an elegant programming language that combines the expressiveness of Ruby with the concurrency and fault-tolerance of Erlang. It makes full use of Erlang's BEAM VM and OTP library, so you get two decades' worth of maturity and reliability right out of the gate. Elixir's support for functional programming makes it perfect for modern event-driven applications.

About the Book

The Little Elixir & OTP Guidebook gets you started writing applications with Elixir and OTP. You'll begin with the immediately comfortable Elixir language syntax, along with just enough functional programming to use it effectively. Then, you'll dive straight into several lighthearted examples that teach you to take advantage of the incredible functionality built into the OTP library.

What's Inside

  • Covers Elixir 1.2 and 1.3
  • Introduction to functional concurrency with actors
  • Experience the awesome power of Erlang and OTP

About the Reader

Written for readers comfortable with a standard programming language like Ruby, Java, or Python. FP experience is helpful but not required.

About the Author

Benjamin Tan Wei Hao is a software engineer at Pivotal Labs, Singapore. He is also an author, a speaker, and an early adopter of Elixir.

Table of Contents

    GETTING STARTED WITH ELIXIR AND OTP

  1. Introduction
  2. A whirlwind tour
  3. Processes 101
  4. Writing server applications with GenServer
  5. FAULT TOLERANCE, SUPERVISION, AND DISTRIBUTION

  6. Concurrent error-handling and fault tolerance with links, monitors, and processes
  7. Fault tolerance with Supervisors
  8. Completing the worker-pool application
  9. Distribution and load balancing
  10. Distribution and fault tolerance
  11. Dialyzer and type specifications
  12. Property-based and concurrency testing

商品描述(中文翻譯)

《The Little Elixir & OTP Guidebook》讓您開始使用Elixir和OTP編寫應用程序。您將首先快速瞭解Elixir語言語法,以及足夠的函數式編程知識,以有效地使用它。然後,您將直接深入研究OTP,通過幾個有趣的示例學習如何構建可擴展、容錯和分佈式應用程序。

購買印刷版書籍將包含Manning Publications提供的PDF、Kindle和ePub格式的免費電子書。

Elixir是一種優雅的編程語言,結合了Ruby的表達能力和Erlang的並發性和容錯性。它充分利用了Erlang的BEAM虛擬機和OTP庫,因此您可以立即獲得二十年的成熟和可靠性。Elixir對函數式編程的支持使其非常適合現代事件驅動的應用程序。

《The Little Elixir & OTP Guidebook》讓您開始使用Elixir和OTP編寫應用程序。您將首先熟悉Elixir語言的語法,並掌握足夠的函數式編程知識以有效地使用它。然後,您將直接進入幾個輕鬆愉快的示例,教您如何充分利用OTP庫中內置的強大功能。

內容包括:
- 涵蓋Elixir 1.2和1.3
- 介紹使用actor進行函數式並發
- 體驗Erlang和OTP的強大功能

本書適合已經熟悉Ruby、Java或Python等標準編程語言的讀者。對函數式編程有經驗會有幫助,但不是必需的。

作者Benjamin Tan Wei Hao是新加坡Pivotal Labs的軟件工程師,也是一位作家、演講者和Elixir的早期採用者。

目錄:
- 開始使用Elixir和OTP
- 介紹
- 快速導覽
- 進程101
- 使用GenServer編寫服務器應用程序
- 容錯、監督和分佈
- 使用鏈接、監視和進程實現並發錯誤處理和容錯
- 使用監督實現容錯
- 完成工作池應用程序
- 分佈和負載平衡
- 分佈和容錯
- Dialyzer和類型規範
- 基於屬性和並發測試