ash_phoenix/documentation/topics/working-with-phoenix.md

18 lines
941 B
Markdown
Raw Normal View History

# Working With Phoenix
The AshPhoenix plugin adds lots of helpers for working with Phoenix Liveview (and regular views).
2024-01-03 04:31:00 +13:00
`{:ash_phoenix, "~> 1.2.25"}`
2023-09-27 01:56:36 +13:00
Check out the [getting started with phoenix guide](/documentation/tutorials/getting-started-with-ash-and-phoenix.md) for setup.
## Whats in the box?
- `AshPhoenix.Form` - A form data structure for using resource actions with phoenix forms
- `AshPhoenix.Form.Auto` - Tools to automatically determine nested form structures based on calls `manage_relationship` for an action.
- `AshPhoenix.FilterForm` - A form data structure for building filter statements
- `AshPhoenix.LiveView` - Helpers for querying data and integrating changes
- `AshPhoenix.SubdomainPlug` - A plug to determine a tenant using subdomains for multitenancy
- `AshPhoenix.FormData.Error` - A protocol to allow errors to be rendered in forms
2023-09-27 01:56:36 +13:00
- `Phoenix.HTML.Safe` implementations for `Ash.CiString` and `Ash.NotLoaded`