J
J
John Lit2017-09-08 16:39:38
Laravel
John Lit, 2017-09-08 16:39:38

Similar laravel sites on the same engine or different ones?

There are several sites that are very similar in functionality, almost identical (common database). They are made on the same common laravel engine. Depending on the domain, different configs are loaded and some settings change.
Now another site should be added to them, but its functionality is already significantly different. According to the structure of the catalog, etc. But at the same time, the scheme for ordering goods remains completely identical, lx (consider the floor of the site). The database is also generic. Scripts, layout are used the same.
I started to do it on the same engine, but I feel a hash is obtained.
1. Do it on submodules of the git? (models, own classes). How bloody is this?
2. Do not bother and make 2 separate projects along the way copying the necessary pieces back and forth?
3. Do it on the same engine, but is it better to think over the structure?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IceJOKER, 2017-09-08
@IceJOKER

If everyone has a common back, then make a normal API and already dock different faces to it.
From your options:
1. I can’t answer, it’s too cumbersome
2. why copy-paste
3. I like this option better

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question