Programming Ecto: Build Database Apps in Elixir for Scalability and Performance
暫譯: Ecto 程式設計:在 Elixir 中構建可擴展和高效能的資料庫應用程式
Darin Wilson, Eric Meadows-Jonsson
- 出版商: Pragmatic Bookshelf
- 出版日期: 2019-05-07
- 定價: $1,600
- 售價: 8.8 折 $1,408
- 語言: 英文
- 頁數: 225
- 裝訂: Paperback
- ISBN: 1680502824
- ISBN-13: 9781680502824
-
相關分類:
Functional-programming、JVM 語言、資料庫
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$2,980$2,831 -
$1,360$1,292 -
$2,573Structure and Interpretation of Computer Programs, 2/e (美國原版)
-
$1,392Complex Analysis: A First Course with Applications (Hardcover)
-
$580$458 -
$850$808 -
$680$537 -
$2,670$2,537 -
$2,870$2,727 -
$1,088D3.js 4.x Data Visualization, 3/e (Paperback)
-
$1,890$1,796 -
$2,040$1,938 -
$1,452Modern Vim: Craft Your Development Environment with Vim 8 and Neovim
-
$1,408Functional Web Development with Elixir, OTP, and Phoenix: Rethink the Modern Web App
-
$1,680$1,596 -
$1,220$1,159 -
$2,090$2,048 -
$1,280$1,088 -
$2,410$2,290 -
$480$379 -
$1,386Testing Elixir: Effective and Robust Testing for Elixir and Its Ecosystem
-
$420$332 -
$480$379 -
$990$842 -
$600$468
相關主題
商品描述
Languages may come and go, but the relational database endures. Learn how to use Ecto, the premier database library for Elixir, to connect your Elixir and Phoenix apps to databases of the SQL and NoSQL variety. Get a firm handle on Ecto fundamentals with a module-by-module tour of the critical parts of Ecto. Then move on to more advanced topics and advice on best practices with a series of recipes that provide clear, step-by-step instructions on scenarios commonly encountered by app developers. Co-authored by the creator of Ecto, this title provides all the essentials you need to use Ecto effectively.
Elixir and Phoenix are taking the application development world by storm, and Ecto, the database library that ships with Phoenix, is going right along with them. There are plenty of examples that show you the basics, but to use Ecto to its full potential, you need to learn the library from the ground up.
This definitive guide starts with a tour of the core features of Ecto - repos, queries, schemas, changesets, transactions - gradually building your knowledge with tasks of ever-increasing complexity. Along the way, you'll be learning by doing - a sample application handles all the boilerplate so you can focus on getting Ecto into your fingers.
Build on that core knowledge with a series of recipes featuring more advanced topics. Change your pooling strategy to maximize your database's efficiency. Use nested associations to handle complex table relationships. Add streams to handle large result sets with ease. Based on questions from Ecto users, these recipes cover the most common situations developers run into.
Whether you're new to Ecto, or already have an app in production, this title will give you a deeper understanding of how Ecto works, and help make your database code cleaner and more efficient.
What You Need:
To follow along with the book, you should have Erlang/OTP 19+ and Elixir 1.4+ installed. The book will guide you through setting up a sample application that integrates Ecto.
商品描述(中文翻譯)
語言可能會隨著時間而變遷,但關聯式資料庫卻持續存在。學習如何使用 Ecto,這是 Elixir 的首選資料庫庫,將您的 Elixir 和 Phoenix 應用程式連接到 SQL 和 NoSQL 類型的資料庫。透過逐模組的導覽,深入了解 Ecto 的基本概念。然後,進入更高級的主題和最佳實踐建議,透過一系列食譜提供清晰的逐步指導,針對應用程式開發者常遇到的情境。這本書由 Ecto 的創建者共同撰寫,提供了有效使用 Ecto 所需的所有基本知識。
Elixir 和 Phoenix 正在迅速改變應用程式開發的世界,而隨著 Phoenix 一起發佈的資料庫庫 Ecto 也在其中。雖然有很多範例展示基本概念,但要充分發揮 Ecto 的潛力,您需要從基礎開始學習這個庫。
這本權威指南從 Ecto 的核心功能開始介紹 - 倉庫(repos)、查詢(queries)、模式(schemas)、變更集(changesets)、交易(transactions) - 逐步提高您的知識,並進行日益複雜的任務。在這個過程中,您將通過實作來學習 - 一個範例應用程式處理所有的樣板代碼,讓您可以專注於將 Ecto 應用到實際操作中。
在這個核心知識的基礎上,透過一系列食譜來探索更高級的主題。改變您的連接池策略,以最大化資料庫的效率。使用嵌套關聯來處理複雜的表格關係。添加串流以輕鬆處理大型結果集。這些食譜基於 Ecto 使用者的問題,涵蓋了開發者最常遇到的情況。
無論您是 Ecto 的新手,還是已經有一個在生產環境中的應用程式,這本書將幫助您更深入地了解 Ecto 的運作,並使您的資料庫代碼更乾淨、更高效。
您需要的條件:
要跟隨本書,您應該安裝 Erlang/OTP 19+ 和 Elixir 1.4+。本書將指導您設置一個整合 Ecto 的範例應用程式。