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

omgneering
I made follow-up video for getting started with GenServer. This video goes over the syntax of handle_call, handle_cast and handle_info c...
New
sevensidedmarble
New video on LiveView for almost total beginner level: Hopefully this is a helpful starting point for someone out there!
New
anup
I created a screencast on how to use simple constructs in elixir like spawn, send and receive to create a process which can manage its ow...
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
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 y...
New
CinderellaMan
Hands-on Elixir & OTP: Create a cryptocurrency trading bot - Ep. 16 - Add end-to-end tests elixir | otp | learning | screencast | cry...
New
anuragg
One of our users just created this screencast for deploy Elixir apps on Render. Hope it’s helpful!
New
aseigo
I am finally back with another episode of Exploring Elixir. Sorry for the long wait! My August was split between vacation and starting a ...
New
sergio
Here’s a quick 3 minute video explaining how to get a great workflow for Phoenix Liveview templates. Good dev ux!
New
alvises
Hey friends, I’ve just published a screencast + article on how to use AWS S3 in Elixir with ExAws. I show how to put, get, list and del...
New

Other popular topics Top

sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 42842 311
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 43591 214
New
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
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35953 110
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31107 143
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
lanycrost
Hi everyone! I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New

We're in Beta

About us Mission Statement