Corys

Corys

Multi Tenancy in Phoenix

I got a new video up on doing multi tenancy in phoenix 1.3 using Apartmentex.

Lemme know if any questions. :grinning:

http://www.schmitty.me/multi-tenancy-in-phoenix/

Most Liked

marciol

marciol

Hi @Corys, great post. I have been working with this kind of approach for some time, but after read a blog post by Influitive, the creators of gem Apartment, which inspired the Apartmentex Hex Package, I started to think if this is the best approach.

After some research I found a new feature in postgreSQL that could be an alternative, Row Security Level, and a great post by 2ndQuadrant

Let us know what do you think.

OvermindDL1

OvermindDL1

Now wha? PostgreSQL finally added RSL? I’ve been wanting that for years! Whoo hoo! I like its implementation!

andre1sk

andre1sk

It’s in since 9.5

Where Next?

Popular in Screencasts Top

sevensidedmarble
Since static typing is all the rage in Elixir right now, maybe some of you will appreciate my most recent video. It’s all about how to ge...
New
omgneering
This is a part of the ongoing elixir OTP series. The video walks through creating an application, talks about application structure and ...
New
sevensidedmarble
New video alert! I made a video about the LiveView lifecycle, navigation, and how to use handle_params vs mount., etc. Check it out: ...
New
blackode
This video is about the step by step guide to build packages with clear explanation of package files and registration procees to hex.pm ...
New
ElixirCasts
I made an episode where we use escript to make a Rock-Paper-Scissors we can play from the command line. https://elixircasts.io/command-l...
New
AstonJ
Not sure if this is still going but adding it for completeness. Who Is This For? You’re a programmer. You’ve heard of Elixir and ...
New
plicjo
I created a tutorial for implementing a toggle button in LiveView. It’s been done against Phoenix 1.7 to future-proof it, ...
New
sevensidedmarble
New video dropped: this time on manually running your own asset build script with Bun. Bun is used as the script runner with ESBuild stil...
New
ElixirCasts
I made a few episodes about using Phoenix LiveView. https://elixircasts.io/phoenix-live-view
New
sjm
Hello Everyone, i hope you are doing fine! I would like to draw your attention to the Elixir Mentor YouTube channel by Jacob Luetzow. T...
New

Other popular topics Top

josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
quazar
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

We're in Beta

About us Mission Statement