Architechture of multi-front website

The system I’m working on needs to support multiple websites. All the websites are shop-like and very similar to each other. The differences are more than just in themes though, some of the logic differs as well.

My approach is to develop a solution based on the advanced template. It’ll have one backend and multiple frontends. The frontends are going to be rather “shallow” and most of the actual code will reside in common modules.

I know the description is very general, but does that sound like a viable approach? Are there any best practices for this?

Sounds OK.