Designing Elixir Systems with Otp: Write Highly Scalable, Self-Healing Software with Layers

Gray, II James, Tate, Bruce A.

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2020-01-07
  • 售價: $1,800
  • 貴賓價: 9.5$1,710
  • 語言: 英文
  • 頁數: 250
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1680506617
  • ISBN-13: 9781680506617
  • 相關分類: Functional-programmingJVM 語言
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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.

商品描述(中文翻譯)

你知道如何使用 Elixir 編碼;現在學會用它思考。學習設計具有智能層的函式庫,這些層能夠塑造正確的資料結構,從一個函數流向下一個函數,並呈現正確的 API。擁抱同樣的 OTP,這使我們的電話系統在過去 30 年中保持可靠和快速。超越對 OTP 函數的理解,了解其背後發生的事情,以及這為何重要。利用這些知識,直覺地知道如何設計系統,以便為用戶提供快速且具韌性的服務,所有這些都以 Elixir 為重心。

Elixir 正在獲得關注,成為一種可以讓你的軟體永遠運行的程式語言,即使面對意外錯誤和不斷增長的處理器需求。這種力量來自於一種有效的程式語言,為並行處理提供了優秀的基礎,並繼承了一個經過考驗的框架,稱為 OTP。

如果你正在使用像 Phoenix 或 Nerves 這樣的框架,你已經體驗到使 Elixir 成為當今需求的優秀語言的特性。本書將向你展示如何超越簡單的編程,進入設計的領域,這意味著建立正確的層次。擁抱那些在函數式程式中表現最佳的資料結構,並利用它們構建性能良好且能夠良好組合的函數,層層相疊,跨越過程。使用正確的技術在正確的地方測試你的代碼。將你的代碼分層為易於理解的部分,並在錯誤發生時能夠自我修復。

在所有 Elixir 的優勢中,最重要的一點是它指導我們以最有利於其運行架構的方式設計程式。專家們這樣做,而現在你也可以學會設計同樣的程式。

你需要的:

Elixir 版本 1.7 或更高。

作者簡介

James Edward Gray, II has been a full time programmer for over 15 years. He has worked with Ruby, Elixir, Elm, and more to tackle challenges in Market Research, Education, Medicine, Finance, and other interesting domains. James is inspired by the sharing of knowledge in the programming communities by contributing documentation, code, and books.

Bruce Tate is a programmer and CEO of Groxio where he is helping to redefine how computer languages are taught and learned. He's the author of Seven Languages in Seven Weeks and Programming Phoenix, among other titles and has been involved with Elixir from the very beginning.

作者簡介(中文翻譯)

詹姆斯·愛德華·格雷二世(James Edward Gray, II)是一位全職程式設計師,擁有超過15年的經驗。他曾使用Ruby、Elixir、Elm等語言,解決市場研究、教育、醫療、金融及其他有趣領域的挑戰。詹姆斯受到程式設計社群中知識分享的啟發,透過貢獻文件、程式碼和書籍來回饋社群。

布魯斯·泰特(Bruce Tate)是一位程式設計師,也是Groxio的執行長,他正在幫助重新定義電腦語言的教學與學習方式。他是《七種語言七週》(Seven Languages in Seven Weeks)和《程式設計Phoenix》(Programming Phoenix)等書籍的作者,並且從一開始就參與Elixir的發展。