From Ruby to Elixir: Unleash the Full Potential of Functional Programming

Bussey, Stephen

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2024-05-28
  • 售價: $1,980
  • 貴賓價: 9.5$1,881
  • 語言: 英文
  • 頁數: 224
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798888650318
  • ISBN-13: 9798888650318
  • 相關分類: Functional-programmingRuby
  • 海外代購書籍(需單獨結帳)

商品描述

Elixir will change the way you think about programming. Use your Ruby experience to quickly get up to speed so you can see what all of the buzz is about. Go from zero to production applications that are reliable, fast, and scalable. Learn Elixir syntax and pattern matching to conquer the basics. Then move onto Elixir's unique process model that offers a world-class way to go parallel without fear. Finally, use the most common libraries like Ecto, Phoenix, and Oban to build a real-world SMS application. Now's the time. Dive in and learn Elixir.

Whether you're a seasoned Ruby developer looking to expand your skill set or a programming beginner looking for a solid foundation in Elixir, this book has what you need to get up to speed quickly. Elixir is a functional language with a fairly small footprint. This makes it easier to learn and put into production than other languages. Plus, it's built on forty-year-old foundations that give your applications rock-solid stability.

The first part of this book is all about developing expertise in the language. Learn about the core data types, build application data structures, enumerate over data, and use pattern matching to control the flow of an application. Elixir has an amazing process model that allows for (actually) easy parallel processing. Learn how to tap into this process model so you can leverage that power yourself.

The second part of this book builds a real-world application using the most important libraries in a web developer's toolbox. Each library is compared to its similar Ruby library so you'll quickly see similarities and differences. We'll use Ecto, Phoenix, and Oban to build a SMS application powered by Twilio.

What are you waiting for? Tap into your Ruby knowledge and start building scalable Elixir applications today.

What You Need:

You'll need Elixir 1.14+ and Erlang/OTP 24+ installed on a Mac OS X, Linux, or Windows machine.

商品描述(中文翻譯)

Elixir將改變您對程式設計的思考方式。利用您的Ruby經驗快速上手,以便了解這個熱門話題的內容。從零開始,建立可靠、快速和可擴展的生產應用程式。學習Elixir的語法和模式匹配,掌握基礎知識。然後,深入瞭解Elixir獨特的進程模型,以無懼地進行世界級並行處理。最後,使用像Ecto、Phoenix和Oban這樣的常用庫來構建真實的短信應用程式。現在是時候了。立即開始學習Elixir吧。

無論您是一位經驗豐富的Ruby開發人員,希望擴展自己的技能,還是一位初學者,希望在Elixir上建立堅實的基礎,本書都能滿足您的需求,讓您快速上手。Elixir是一種功能性語言,佔用空間相對較小。這使得學習和投入生產比其他語言更容易。此外,它建立在四十年的基礎上,為您的應用程式提供了穩定性。

本書的第一部分專注於開發語言專業知識。了解核心數據類型,構建應用程式數據結構,枚舉數據,並使用模式匹配來控制應用程式的流程。Elixir擁有令人驚嘆的進程模型,可以實現(實際上)輕鬆的並行處理。學習如何利用這個進程模型,以便自己利用這種能力。

本書的第二部分使用網頁開發人員工具箱中最重要的庫來構建一個真實的應用程式。將每個庫與其類似的Ruby庫進行比較,以便快速了解相似之處和差異之處。我們將使用Ecto、Phoenix和Oban來構建一個由Twilio提供支持的短信應用程式。

您還在等什麼?利用您的Ruby知識,立即開始構建可擴展的Elixir應用程式吧。

您需要準備一台安裝了Mac OS X、Linux或Windows的電腦,並安裝Elixir 1.14+和Erlang/OTP 24+。