Jump to content

MultiTenancy


picyka

Recommended Posts

I'm about to start a new project, and I thought about using the MultiTenancy architecture, where I would have a single system running in unigui and several databases accessed by api.

How can I have the same system URL for more clients in IIS

using the format below

https://app.mycompany.com.br/google
https://app.mycompany.com.br/microsoft
https://app.mycompany.com.br/apple
https://app.mycompany.com.br/tesla

I don't think it would be nice to use unigui's Params URL for this...

Note: the names of companies mentioned there, serves only to illustrate the scenario.

Link to comment
Share on other sites

before I had an application installed on iis for each client, and each client had their address

client1.mysite.com.br
clientex.mysite.com.br


today I have only one website

mysystem.mysite.com.br


I identify the company and the user and the database by login, this made it much easier to distribute to new customers.

have a separate base just for the unified registration of users.

use the unique document number of your country, here in Brazil, I use the cpf.

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi all, I am hoping to leverage a little knowledge her.

I currently have a multitenant app built with delphi / isapi / bootstrap.  For new modules and a slow migration I am planning to use uniGui to which I am brand new.  In my current scheme I run IIS with a wildcard setup of *.mysite.com, when a new client is created they are generated a url of client1.mysite.com.  As only 1 IIS site exists all clients are using the same isapi, 

my question:  if my login form is to carry client specific branding (logo and company name and maybe even custom CSS) how is this best accomplished within uniGUI?

my simple mind thinks that an Ext event with an ajax call to get the data and update the components, if so would anyone have any pointers on best way to do this or is there a more elegant approach?

Link to comment
Share on other sites

1 hour ago, Allen said:

Hi all, I am hoping to leverage a little knowledge her.

I currently have a multitenant app built with delphi / isapi / bootstrap.  For new modules and a slow migration I am planning to use uniGui to which I am brand new.  In my current scheme I run IIS with a wildcard setup of *.mysite.com, when a new client is created they are generated a url of client1.mysite.com.  As only 1 IIS site exists all clients are using the same isapi, 

my question:  if my login form is to carry client specific branding (logo and company name and maybe even custom CSS) how is this best accomplished within uniGUI?

my simple mind thinks that an Ext event with an ajax call to get the data and update the components, if so would anyone have any pointers on best way to do this or is there a more elegant approach?

My host will be the same for all clients. What changes is that each tenant will be passed in the ULR as a parameter.

http://localhost:8077/?client=google

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...