After tweeting that his inbox couldn’t handle any more requests for preview access, Chris McCord recently made the initial release of Phoenix LiveView public. The repo soon appeared on Github’s Trending page indicating wide interest among developers.
Announced at ElixirConf 2018, Chris described the framework as offering a vastly simplified programming...
I recently added file upload support to an Ember application that
talks to a Phoenix API server using the JSONAPI protocol. I wanted a
solution that integrated well with Ember and
direct uploads to S3 from the client, included drag and drop support
for choosing files, and had the ability to show upload progress. After
In the last article we looked at using Ecto schemas to read records and associations from a database built according to Rails naming conventions. This time we will extend the examples used in that article to see how Ecto changesets can help us write records to the database in a safe and consistent way.
The example apps can be found at PlaygroundRails
I recently migrated a Rails JSONAPI server to Phoenix, and in the process I learned a lot about using Ecto with a database that conforms to Rails naming conventions. It turned out that I was able to share an existing Rails database between the Rails and Phoenix implementations of the server during development, which allowed me to use a phased approach...