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

cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
wmnnd
Hey folks, I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
axelson
Hi there! :wave: @frigidcode and I (but mostly him) have been running an Elixir Book club, we’re almost done with Designing Elixir Syste...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
Ganna
Hi everyone, I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews