Programming Ecto : build database apps in Elixir for scalability and performance by Wilson, Darin

Programming Ecto : build database apps in Elixir for scalability and performance (#5MOVZ87)

by Wilson, Darin
Paperback 2019
Dewey: 005.74
Description: xiii, 222 pages; 24 cm.

Sign In or Create an Account to purchase this item.


Product Overview
From Follett
Includes bibliographical references and index.;Part 1. Ecto fundamentals. Getting started with Repo -- Querying your database -- Connecting your tables to Elixir structs with schemas -- Making changes with changesets -- Making multiple changes with transactions and multi -- Making changes to your database -- Part 2. Ecto applied. Adding Ecto to an Elixir application without Phoenix -- Working with changesets and Phoenix forms -- Testing with sandboxes -- Creating and using custom types -- Inserting and updating with upserts -- Optimizing your application design -- Working with embedded schemas -- Creating polymorphic associations -- Optimizing IEx for Ecto -- Using schemas without tables -- Tuning for performance. Learn how to use Ecto, the premier database library for Elixir, to connect your Elixir and Phoenix apps to databases. Co-authored by the creator of Ecto, this book provides the essentials you need to use Ecto effectively. Explore the core features--repos, queries, schemas, changesets, transactions-- gradually building your knowledge with tasks of ever-increasing complexity. Build on that core knowledge with a series of recipes featuring more advanced topics. Speed up your test suite by running database tests concurrently. Use nested associations to handle complex table relationships. Add streams to handle large result sets with ease. These recipes cover the most common situations developers run into, based on questions from Ecto users.--Source other than the Library of Congress.
From the Publisher

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. 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.

Product Details
  • Publication Date: May 7, 2019
  • Format: Paperback
  • Series: The pragmatic programmers
  • Dewey: 005.74
  • Description: xiii, 222 pages; 24 cm.
  • Tracings: Meadows-Jonsson, Eric, author.
  • ISBN-10: 1-68050-282-4
  • ISBN-13: 978-1-68050-282-4
  • LCCN: 2018-277904
  • Follett Number: 5MOVZ87