4 Layer Canvas doubt
Question

Hi, I am doing the Tech Lead Guided Path and i have a question about this 4 layer canvas.

I don´t know how to implement the best way the menu. In wich module should I have to implement it?

In my app there are two principal modules (One for the app and other for Backoffice), after that I have a Core Services, and also a Theme Module with all the non-logic resusable UI.


Login and Menu should be implemented in this theme module and make there the role checks to redirect to Home or BackOffice? 

Thank you.

Adrian Poveda Sanchis wrote:

Hi, I am doing the Tech Lead Guided Path and i have a question about this 4 layer canvas.

I don´t know how to implement the best way the menu. In wich module should I have to implement it?

In my app there are two principal modules (One for the app and other for Backoffice), after that I have a Core Services, and also a Theme Module with all the non-logic resusable UI.


Login and Menu should be implemented in this theme module and make there the role checks to redirect to Home or BackOffice? 

Thank you.

The best way in the EndUsers, is to use URL for not having a side reference in the EndUser. You can use like ReplaceURLDomain("https://"+ GetServerName()+"/NewPage/") if you gonna homolog the application.

If it is like a "menu" you can create a WebBlock in the core and reeuse that in the EndUsers.


The article underneath can be helpful as well:

https://success.outsystems.com/Support/Enterprise_Customers/Maintenance_and_Operations/Designing_the_architecture_of_your_OutSystems_applications/01_The_4_Layer_Canvas

Furthermore, I recommend to check en test it on Discovery. Just play with it a little bit and see what happens. Usually it will be more clear that way. 


Hi Adrian,

I had my doubts as well regarding placing the menu. What helped me was watching this video:

https://www.outsystems.com/learn/lesson/1236/custom-style-guide-architectures

Its a lesson from the Style Guide Architectures course and in this video 3 type of scenario's are explained in how you can setup the menu and login. Keep in mind that you might need to use the External Site to navigate through your menu and screens to avoid upward referenes or cycle dependencies. 

Kind regards,

Jordi

I am also preparing for tech lead and like to take a chance and answer. friends - correct me if wrong.

since you are asking about 4LC, i guess modules(app and back office) to be placed in orchestration layer and theme in the core services layer.

Hi Adrian,

In addition to the aforementioned suggestions, I also find this materials very good for architecture.

https://www.outsystems.com/training/lesson/2102/tech-talk-2020-web-and-mobile-architecture-with-architecture-dashboard

https://www.outsystems.com/blog/posts/application-architecture

Hope this helps,

Kind regards,

Chris

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.