Programming Ecto

Programming Ecto

Description

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.

Similar Books

ISBN 10: 1680502263
ISBN 13: 9781680502268

29 Oct 2019
Chris Mccord

ISBN 10: 1680506617
ISBN 13: 9781680506617

24 Dec 2019
II James Edward Gray

ISBN 10: 1680502999
ISBN 13: 9781680502992

01 Jul 2018
Dave Thomas

ISBN 10: 1680502433
ISBN 13: 9781680502435

01 Mar 2018
Lance Halvorsen

ISBN 10: 1680500414
ISBN 13: 9781680500417

24 Feb 2015
Chris McCord

ISBN 10: 1680502549
ISBN 13: 9781680502541

20 Feb 2018
Scott Wlaschin

ISBN 10: 0131177052
ISBN 13: 9780131177055

09 Apr 2009
Michael Feathers

ISBN 10: 1680507192
ISBN 13: 9781680507195

14 Apr 2020
Stephen Bussey

ISBN 10: 1942788002
ISBN 13: 9781942788003

01 Jan 2017
Gene Kim

ISBN 10: 1491986360
ISBN 13: 9781491986363

24 Oct 2017
Neal Ford

ISBN 10: 1857885597
ISBN 13: 9781857885590

30 Mar 2011
Stephen Bungay

ISBN 10: 1680502859
ISBN 13: 9781680502855

01 Aug 2019
Jeremy Fairbank