← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 21
  1. ElixirKit ↔ OIDC

    At work we had been using elixirkit for a small menu bar app some time last year.

  2. Data to Responses

    The introduction of HEEx in Phoenix 1.7 and the shift toward rendering HTML with function components brought significant changes to how data is transformed into HTTP responses in Phoenix.

  3. Matrjoschka of phoenix communication

    Phoenix, the powerful Elixir web framework, is renowned for its real-time capabilities.

  4. Metaprogramming Pitfalls

    One of my most liked posts on the elixir forum has long been a post, where I shed some light onto what quote/2 and unquote/1 are about in metaprogramming on elixir.

  5. Bare Websockets

    While phoenix used websocket connections for a long time for its Phoenix.Channel abstraction there wasn’t really a good way to use websocket directly up until phoenixs latest major release (1.7).

  6. One-to-Many LiveView Form

    With Phoenix LiveView becoming more and more popular people try to build more dynamic forms than before.

  7. Serve the webfinger protocol with phoenix

    With Elon Musk taking over Twitter many, especially tech savvy, people have been looking at Mastodon as an alternative – and so did I.

  8. Renderless function components

    The introduction of HEEx and function components to Phoenix LiveView brought a lot of improvements for building and maintaining UIs in html to the Phoenix community.

  9. Phoenix Views for JSON APIs

    When doing JSON APIs in phoenix one will eventually hit the fact that by default structs cannot be encoded to json by Jason, the default json library of phoenix.

  10. Data fetching using LiveComponents

    A common occurance in my phoenix applications is the need to render a list of some items – say companies in a job board application.

  11. Unnest for runtime sorted results

    The recent ecto 3.5 update introduced the parameterized type Ecto.Enum, which is a great way to use atoms in elixir for signifying things like statuses or types of data.

  12. LiveView: Double Mount

    When using phoenix_live_view people are often worried about their LiveViews being mounted twice for fresh requests.

  13. Child Specs in Elixir

    Child specs are often confusing for people trying to convert the old Supervisor.Spec based syntax to the newer child spec based syntax, people trying to integrate with erlang libraries or because they added more parameters to their start_link functions and

  14. Ecto: When to cast

    People starting out with ecto are often confused by all the methods of getting changes applied to a changeset and therefore the database.

  15. A case against many_to_many

    On the Slack Channel for Elixir there’s often the situation of people coming from other languages/frameworks to elixir and especially ecto to ask about “How to model many-to-many relationships”.

  16. Are elixir deployments really that hard?

    I've thought that @rails deployment on a non-Docker or non-Heroku production server was tricky.

  17. Alternative parameters for phoenix controller actions

    You probably know the default parameters of a phoenix controller action callback: def index(conn, _params), do: […] or def create(conn, %{"entity" => entity_params}), do: […].

  18. Ecto abstract tables

    Phoenix 1.3 introduced the concept of contexts in a application.

  19. Entity status history using ecto

    For a project of mine I recently needed to keep the history of state changes for an entity in my database.

  20. Customize Phoenix.View EEx rendering

    Getting straightforward HTML templates rendered in Phoenix is really easy.

  21. Living Styleguide mit Fractal und ProcessWire

    Bei der Thematik von Styleguides und Pattern-Bibliotheken sind sich heutzutage wohl die meisten Entwickler darin einig, dass sie ein wertvolles Tool sind, um ein Projekt auch von Seiten des Interfaces modular zu gestalten.