wolfiton

wolfiton

Hi everyone,

Does someone want to participate to bring the Absinthe Tutorial to phoenix 1.4 with Dataloader and all that is needed to have a clear documentation?

Because i really want to learn Absinthe and I think this can help others as well.

Also experience isn’t required just willingness to learn.

What do you think community?

Thanks

Showing Posts 1 to 10

kokolegorille

kokolegorille

I cannot tell You for documentation, but I can tell You data loader is covered in this resource

This is a good complement to the book on Absinthe

I was interested in GraphQL before Absinthe, so I started to do it with node.js first.

I do understand these are paid resources, and might suit all needs, but You can start by learning dataloader as an independant tool…

https://github.com/graphql/dataloader

Starting by this will help You understand how to integrate it with Absinthe later.

If You have all your context queries ready, this will help You build a batch of queries, to execute as one.

Dataloader is a great tool :slight_smile:

wolfiton

wolfiton OP

Thanks,
I come from nodejs so I have some familiarity with those topics the resources are great.

Also i already have that course.

What i was asking is to make a joint effort and bring the Absinthe official tutorial up to date so everyone can use it.

wolfiton

wolfiton OP

I will build a series on how this is done here

wolfiton

wolfiton OP

Part 2 is out

Kurisu

Kurisu

Nice guide. ^^

I found a typo in Section 1. You forgot the x of phoenix in the bottom link to Phoenix page. So the link doesn’t work.

  • OS: Linux , Mac , Windows with WSL or Virtual Linux
    (Virtual Box)
  • Optional: VsCode
  • Database: PostgreSQL My version: PostgreSQL 10
  • Programing languages(required): Erlang , Elixir . My versions: Erlang/23 OTP and Elixir 1.9.4
  • NodeJS above version 5, My version: NodeJS 12.4.0
  • inotify-tools (only for Linux Users)
  • Hex
  • Phoenix

To install them use the:

https://hexdocs.pm/phoeni/installation.html#content

wolfiton

wolfiton OP

Thanks @Kurisu good catch, I updated the article.

wolfiton

wolfiton OP

Part 3 is out

Kurisu

Kurisu

Clear and easy to understand as always. :+1:

About this part of the posts migration file I have a question.

# posts  table
      add :body, :string # Create the body column in the posts table

Will the “body” column store string of more than 255 characters length? If so, before running the migration I would suggest to change its type to :text

# posts  table
      add :body, :text # Create the body column in the posts table

This will allow to store post with unlimited length body in the database. The Post schema however is ok with the type :string for the body field.

But maybe you want to make this change in your next article. That is also fine.

wolfiton

wolfiton OP

Thanks @Kurisu for the appreciation on my work and follow up on this series.
@kurisu can you comment directly on the article page, so I can credit you for this update ragrding body :text?

romenigld

romenigld

I agree with @Kurisu

add :body, :text

it’s the correct.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 92995 915
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New
GES233
I’m posting this in response to Jose’s recent tweet (Cr. link) : People are sleeping on Elixir for a coding harness: Hot-code swappi...
New

Other Trending Topics Top

garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews