OnPoint Tech Blog
  • Blog
  • Tags
  • About us
  • We are hiring
How to encrypt your data with Ecto
  • Dung Nguyen Dung Nguyen
  • 20 Aug, 2021

How to encrypt your data with Ecto

If your data is encrypted, even if it’s leaked, no one know what is the data. That’s great. In this post, I’m going to show you how …

    • elixir
    • ecto
    • crypto
How to validate request params in Phoenix
  • Dung Nguyen Dung Nguyen
  • 14 Aug, 2021

How to validate request params in Phoenix

Credit: filter image taken from svgrepo.com In web developments, server receives lots of request data from client side. And when working with request …

    • elixir
    • phoenix
    • param validation
Easy data validation with with Valdi in Elixir
  • Dung Nguyen Dung Nguyen
  • 06 Aug, 2021

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 validation module. I you haven’t read it, you …

    • elixir
    • validation
How to build an Elixir validator from scratch
  • Dung Nguyen Dung Nguyen
  • 31 Jul, 2021

How to build an Elixir validator from scratch

Validation is a must have part of web application. You have to validate request parameter before processing, you validate data before inserting to …

    • elixir
    • validation
Build your own library to render json response in Phoenix
  • Dung Nguyen Dung Nguyen
  • 23 Jul, 2021

Build your own library to render json response in Phoenix

In my previous article, I introduced my library call JsonView to render json response easier. You can read it here: Render Ecto schema to json with …

    • elixir
    • phoenix
    • json view
Elixir phoenix - Render Ecto schema to json with relationships
  • Dung Nguyen Dung Nguyen
  • 10 Jul, 2021

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 value. For some fields, I want to do some …

    • elixir
    • phoenix
    • json view
    • ecto
Elixir for Beginner - All you need to know about guard
  • Dung Nguyen Dung Nguyen
  • 30 Jun, 2021

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 use it. Elixir pattern matching in a nutshell Pattern matching …

    • elixir
    • elixir-beginner
  • 1
  • 2

    Blog by OnPoint Team. Theme by Gethugothemes