-1

I want to create a module (personal cabinet) to embed in an existing PHP site. I also want to create it using Grails, to use in other projects. Is there some pattern for creating standalone web applications to easily embed it in ready site?

Sebastian Simon
  • 18,263
  • 7
  • 55
  • 75
Artyom Chernetsov
  • 1,394
  • 4
  • 17
  • 34

1 Answers1

0

The most common way to embed one site within another without coding a site-specific interface is to use an iFrame.

As an alternative, I would suggest making a REST API for the embedded site and then each embedding site can use the API to integrate it.

cdeszaq
  • 30,869
  • 25
  • 117
  • 173