Programming Ecto: Build Database Apps in Elixir for Scalability and Performance
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.
Author: Darin Wilson, Eric Meadows-Jonsson
Publisher: Pragmatic Bookshelf
Published: 05/07/2019
Pages: 244
Binding Type: Paperback
Weight: 0.94lbs
Size: 9.25h x 7.50w x 0.51d
ISBN: 9781680502824
About the Author
Darin Wilson has been coding professionally since the days when you got help with coding problems by posting a message to a BBS over a 300-baud modem. Over the years, he's developed apps for banking, education, television, social media, and robotic arms. He is currently the web team lead at Infinite Red, a web and mobile application development company.
Eric Meadows-Jonsson is a member of the Elixir core team and the creator of Ecto. He is a passionate open source developer and is heavily involved in the Elixir community. He works as a developer at Forza Football.
We offer worldwide shipping.
All baymarbookgroup.ca orders over $100
(before taxes) are eligible for FREE standard shipping within Canada and
the United States.
Estimated Delivery Times Outside the USA
Area / Country | Standard International Shipping (Not Trackable) |
International Courier Trackable |
Asia | 10-14 days | 4-6 days |
Australia | 18-20 days | 4-6 days |
Canada | 10-14 days | 4-6 days |
Caribbean | 14-18 days | 4-6 days |
Europe | 10-14 days | 4-6 days |
India | 16-20 days | 4-6 days |
Latin America | 10-14 days | 4-6 days |
Middle East | 16-20 days | 4-6 days |