← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 108
  1. Automatic convertion to verified routes

    One of the nicest features in the new Phoenix 1.7 is the verified routes.

  2. Run one-off tasks in Phoenix

    If you run a web application with users in production, you have surely had the need to run a task that changes the database for one or more users.

  3. Sortable lists with Phoenix LiveView and SortableJS

    A very common user interface pattern on the web is to have sortable elements.

  4. Send Tailwind styled Emails with Phoenix and Swoosh

    This tutorial came up as a way to style an email sendout with Tailwind classes.The reason I want to do this is that styling emails is a pain and I use Tailwind every day and that makes me really productive.

  5. Tailwind Navbar New LiveView 0.18 components

    With the latest Phoenix LiveView 0.18 release it has finally become time to revisit components.

  6. Implement HTML redirects with phoenix plug

    In this tutorial, I will go through how you can add html redirects to your Phoenix application.

  7. Teams Feature with Phx.Gen.Auth

    A very common feature in web applications, especially SAAS applications are the concept of teams where a user can have and belong to multiple teams.

  8. LiveView and page specific JavaScript

    In most applications you have some page specific javascript that is only used in one or just a few pages.

  9. CSV Export with Phoenix and LiveView

    A common need in web apps is to export data to different file formats.

  10. How to add a Coinbase crypto checkout to your Phoenix site

    In a previous tutorial, I showed how to add Stripe checkout in a Phoenix application.

  11. Use caching to speed up data loading in Phoenix LiveView

    In this post, I want to show you how to leverage cache in Phoenix LiveView to avoid hitting the database twice when mounting a LiveView page.

  12. Make an RSS Atom feed with Phoenix LiveView

    On this website, I do have some content and I plan to write some more.

  13. Sooner or later there comes a time when you want to deploy your Phoenix application.

  14. Building a datatable in Phoenix LiveView

    To display a static table on webpage that contains a lot of data is a pretty bad user experience.

  15. Scraping data with Elixir and Floki

    In this tutorial I want to show you how to get started with screen scrapinng data from a website with Elixir and Floki.

  16. How to use Phoenix forms for embedded schema and JSONB

    In this tutorial, I want to show you how you can setup form that stores the data in partly the columns in a database but also some of the fields in JSONB with an embedded schema.

  17. In this tutorial, I want to go through how to build a custom select field that is used in Tailwind UI.

  18. How to setup recurring jobs with Oban in Elixir

    Oban has proven itself to be the most versatile job processing library in Elixir and Phoenix.

  19. How to combine Phoenix LiveView with Alpine.js

    No matter how great Phoenix LiveView is, there is still some use case for sprinking some JS in your app to improve UX.

  20. Phoenix 1.8 and Bootstrap 5

    Even though a large part of the Phoenix community seem to embrace Tailwind, there are still a lot that prefer Bootstrap CSS framework.

  21. Getting Started with Phoenix and LiveView

  22. Ecto and PostgreSQL

    Ecto it the database wrapper for mainly Postgresql.

  23. Add bulk actions in Phoenix LiveView

    In this tutorial, I have a list of customers.

  24. Setup Stripe with Phoenix LiveView

    In this tutorial, I will go through how I setup Stripe payments with Phoenix and LiveView to make your app prepared for accepting payments.

  25. Table sorting with Ecto and LiveView

    A very common or even mandatory feature in e-commerce stores is the ability to sort a list of products by attributes.

  26. Fuzzy find with Ecto in Phoenix LiveView

    Fuzzy find is both a simple and a complex thing.

  27. Phoenix Presence with Phoenix LiveView

    A lot of apps have some sort of notification on if users are online or not.

  28. Getting started with GraphQL and Absinthe in Phoenix

    In the last tutorial, there I had an app with a simple rest api that was authenticated with Guardian and Json Web Token.

  29. Many web apps have both a web interface and an Json api.

  30. Create a reusable modal with LiveView Component

    To reduce duplicity and complexity in your apps, Phoenix LiveView comes with the possibility to use reusable components.

  31. Nested Templates and Layouts in Phoenix Framework

    Eventually when your site reach a certain maturity, you look into ways to refactor the code.

  32. Fileuploads to S3 with Waffle

    Waffle is the file upload library that is forked from Arc and works much in the same way.

  33. Introducing Boilerplate Builder

    I have started a new project.

  34. Delete unused node_module folders

    Tired of all nodemodules folders taking up gigabytes of hard drive space?

  35. Use javascript fetch to post to a Phoenix controller

    As in the case with Rails, Phoenix also has protection against cross site request forgery (crfs).

  36. Updating LiveView Spring 2020 ed

    Due to the hard work of the Phoenix LiveView team, there has been a lot of work done.

  37. Multi-tenancy and Phoenix - Part 2

    In the previous tutorial, I wrote how to set up multi-tenancy with Phoenix and Pow.

  38. Multi-tenancy and authentication with Pow

    I basically model every app with multi-tenancy in mind.

  39. Setup a supervised background task in Phoenix

    There are times when you need to spawn a background process for a longer running task.

  40. Share LiveView state between tabs

    Each LiveView on each tab spawns a separate state.

  41. Create a Reusable Calendar in Phoenix LiveView

    Updated for Phoenix 1.7.

  42. Create ghost loading cards in Phoenix LiveView

    Unless you already didn't know, when a LieView component is mounted on a page, it runs the mount/2 function twice.

  43. In the previous tutorial I set up the tagging interface.

  44. In the previous tutorial, I set up the the backend for being able to add tags to products.

  45. I want to add tags to products.

  46. Add and use a JSONB field in Phoenix and Ecto

    PostgreSQL has native support for objects stored as JSON as actually binary JSON (or JSONB).

  47. Nested model forms with Phoenix LiveView

    I my last article, I set up a relationship between products and variants.

  48. Setup a has_many / belongs_to in Phoenix

    Something I do in EVERY project is to setup some sort of relation between resources.

  49. Create a Bootstrap Like Modal with Tailwind and Alpine.js

    In certain scenarios, it doesnt really make sense to use LiveView.

  50. Send events from JS to a LiveView component

    Let say you app uses a javascript library that needs to interact with your app.