Programming Ecto 1st edition by Darin Wilson, Eric Meadows Jonsson – Ebook PDF Instand Download/DeliveryISBN: 1680506935, 9781680506938
Full dowload Programming Ecto 1st edition after payment
Product details:
ISBN-10 : 1680506935
ISBN-13 : 9781680506938
Author: Darin Wilson, Eric Meadows Jonsson
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
Programming Ecto 1st Table of contents:
Part I. Ecto Fundamentals
1. Getting Started with Repo
Ecto and Elixir
Ecto Modules
How Ecto Is Organized
Setting Up the Sample App
The Repository Pattern
The Repo Module
Putting Our Repo to Work
Customizing Your Repo
Wrapping Up
2. Querying Your Database
Query Basics
Refining Our Results with where
Working with Joins
Composing Queries
Other Ways to Use Queries
Wrapping Up
3. Connecting Your Tables to Elixir Structs with Schemas
Creating Schemas
Writing Queries with Schemas
Inserting and Deleting with Schemas
Adding Associations to Schemas
Working with Associations in Queries
Optimizing Associations with Embedded Schemas
Deleting Records with Associations
Using Schemas to Seed a Database
Wrapping Up
4. Making Changes with Changesets
Introducing Changesets
Casting and Filtering
Validating Your Data
Capturing Errors
Using Changesets Without Schemas
Working with Associations
Wrapping Up
5. Making Multiple Changes with Transactions and Multi
Running Transactions with Functions
Running Transactions with Ecto.Multi
Wrapping Up
6. Making Changes to Your Database
Introducing Migrations
Your First Migration
Running Migrations
Rolling Back Migrations
Adding Indexes
Changing Data and Table Structure Together
Specifying Up and Down Operations
Changing Default Behaviors
Wrapping Up
Part II. Ecto Applied
7. Adding Ecto to an Elixir Application Without Phoenix
Creating a New Project
Adding Ecto’s Dependencies
Creating Your Repo Module
Adding Ecto to the Supervision Tree
Using Multiple Ecto Repos
Starting Your App
Wrapping Up
8. Working with Changesets and Phoenix Forms
Generating a Form for a Single Schema
Displaying Changeset Errors
Creating a Form with an Association
Creating a Form with Multiple Associations
Wrapping Up
9. Testing with Sandboxes
Setting Up an Async Test
Changing the Ownership Mode
Safely Sharing Connections with Allowances
Wrapping Up
10. Creating and Using Custom Types
Building on Top of Ecto’s Types
Adding Custom Types Without the Built-In Types
Wrapping Up
11. Inserting and Updating with Upserts
Performing Upserts Without Schemas
Performing Upserts with Schemas
Wrapping Up
12. Optimizing Your Application Design
Separating the Pure from the Impure
Working with Contexts
Working with Umbrella Applications
Wrapping Up
13. Working with Embedded Schemas
Creating Embedded Schemas
Adding Embeds to Another Schema
Making Changes
Choosing Between Embedded Schemas and Associations
Wrapping Up
14. Creating Polymorphic Associations
Polymorphism in Other Frameworks
People also search for Programming Ecto 1st:
dynamic programming
plc programming
programming an rca universal remote
programming a ge universal remote
programming ai
Reviews
There are no reviews yet.