zacky_84's avatar

3 Tier Architecture

Recently a client contacted us to build a web application. We built it using Laravel. However they want us to build using 3 Tier Architecture (3 separate servers: Presentation Tier, Application Tier, Data Tier). Can this be accomplished using 3 separate Laravel application? Maybe they interact through API? If thats the case, how would the Presentation Tier be able to authenticate users?

0 likes
4 replies
Dalma's avatar

Hi Zacky this type of configuration usually results in a load balancer -> one or more app servers -> one or more db servers.

If you would like to view a video series that walks you through the steps there is one here on laracasts : https://laracasts.com/series/learn-laravel-forge

zacky_84's avatar

Thanx for the reply Dalma. In our case, the client wants the server to be in their premise, instead of cloud based or 3rd party hosting. Just to get better understanding, is load balancing part of presentation tier?

Dalma's avatar

Normally the Presentation tier is the load balancer. Even if your client wishes to internally host I still recommend the series as it discusses all of the basics in setting up a multi-tier Laravel application.

zacky_84's avatar

That sounds awesome Dalma. I will watch it now, and get back if I have any questions.

Please or to participate in this conversation.