Dung Nguyen

Dung Nguyen @bluzky

About: I’m Dung Nguyen, a fullstack developer at Onpoint Vietnam. I love coding and shaing what I know and I hope that can help other developer to solve their problem and improve their code.

Location:
Ho Chi Minh, Vietnam
Joined:
Apr 9, 2018

Dung Nguyen
articles - 21 total

Introduce Relysium - Cursor alternative for Emacs

Recently I try Zed editor and I love it's AI editing tool. I found Elysium package and give it a try....

Learn More 1 0Apr 4

SaladUI - Implement avatar component for Phoenix LiveView

This post is written after I implement Avatar component for SaladUI component library for Phoenix...

Learn More 0 3May 27 '24

Phoenix Liveview components for Shadcn UI

I'm a fan of Shadcn UI library for its neat and clean components. Recently, I'm playing with Phoenix...

Learn More 23 3May 19 '24

How to merge Tailwind class in Elixir Phoenix

Problem I am working on an open source project OrangeCMS using Phoenix LiveView. I am...

Learn More 5 1Jul 16 '23

Implement `toggle_attribute` with LiveView JS

Why? I'm working on rebuilding interface for my project OrangeCMS using TailwindCSS...

Learn More 3 3Jul 13 '23

[TIL] Reusable LiveView.JS commands with JS.exec

This article was originally posted on...

Learn More 3 0Jul 12 '23

How to download large file in Elixir

In my project, I have a quite large csv file for seeding my database. Put it is project source code...

Learn More 15 2Jan 8 '22

Build your own date time parser in Elixir

Elixir does not have built-in date time parser function. In this post, I will show you how to create...

Learn More 17 1Dec 11 '21

Implement token Authentication with Phoenix.Token

In this post, you'll learn how to implement token based authentication using Phoenix.Token. This is...

Learn More 35 2Aug 26 '21

Encrypt your database with Ecto custom type

If your data is encrypted, even if it's leaked, no one know what is the data. That's great. In this...

Learn More 24 2Aug 20 '21

How to validate request params in Phoenix

In web developments, server receives lots of request data from client side. And when working with...

Learn More 27 0Aug 14 '21

Easy data validation with with Valdi in Elixir

Credit: this icon is from flaticon.com In previous article, I shown you how to implement you own...

Learn More 5 0Aug 6 '21

How to build an Elixir validator from scratch

Validation is a must have part of web application. You have to validate request parameter before...

Learn More 15 0Jul 31 '21

Build your own library to render JSON response in Phoenix

In my previous article, I introduced my library call JsonView to render json response...

Learn More 7 0Jul 23 '21

Elixir phoenix - Render Ecto schema to json with relationships

When writing API with Phoenix and render json to client, For some fields I want to keep it original...

Learn More 10 0Jul 10 '21

Elixir for beginner - All you need to know about Guard

What is Guard in Elixir In previous post, I explain what is Pattern Matching and how to...

Learn More 7 0Jun 30 '21

Elixir pattern matching in a nutshell

Pattern matching in a nutshell If you are new to Elixir, Pattern Matching may be something...

Learn More 27 3Jun 29 '21

Compose Ecto query from client

The story At our company, OnPoint, we are building an ecommerce website using Phoenix...

Learn More 3 0Oct 30 '20

Chuẩn hoá và validate dữ liệu trong Phoenix với thư viện Tarams

Yêu cầu chuẩn hoá và validate các tham số truyền lên từ client là yêu cầu cơ bản khi xây dựng API Web...

Learn More 7 0Oct 1 '20

Parse và validate request param trong Phoenix với Ecto

Khi viết các API hoặc cả các endpoint thì thông thường chúng ta sẽ có một số nhu cầu: Chỉ cho phép...

Learn More 1 0Sep 26 '20

Cấu hình kết nối HTTPS để test Facebook app trên localhost

Trong quá trình tìm hiểu về lập trình chat bot sử dụng các API của Facebook Messenger thì việc test...

Learn More 5 0May 9 '19