A
A
Alex Mirgorodskiy2017-09-10 19:19:11
Yii
Alex Mirgorodskiy, 2017-09-10 19:19:11

How to create a site containing other sites?

Hello brothers in mind). Such a question, I want to finally create a portfolio for myself, it consists of 5 of my last works. Complete websites written in yii2. But not just with pictures and links to the site, but to place each full-fledged site with its admin panel, controller views and other elements, so that you can poke everything for testing (of course, I won’t expose the client site to public access), but what I wrote on LAN let me poke. What is the best way to do this in yii2? Modules? If yes, then plz tell me how to do it correctly, otherwise I only made the admin panel a module, but here it turns out you need to create a module that still has an admin module. + what and how will it be with routes in general?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Fedorov, 2017-09-10
@AlexWeb6667

Place it on subdomains, if you make it beautiful for the future - you can do it as an application so that the vendor folder is one

M
Maxim Timofeev, 2017-09-10
@webinar

Each site is a separate app, and on subdomains or not - this is the second question. We take the yii2 advanced template and add a bunch of app to the existing frontend and backend

A
Alex Mirgorodskiy, 2017-09-10
@AlexWeb6667

Thank you, I didn’t immediately think about subdomains, I just didn’t work with them yet)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question