Jump to content

Recommended Posts

Posted

Hi processwire people,

a short insight of what I'd like to build:

  1. different clients sites, each one with it's own domain.
  2. one main site (with it's own domain) which grabs some content from clients sites.

The users that run www.client1.com or www.client2.com need to publish a post on their personal site.

The post then must be available on "www.mainsite.com"

Do you think that the module "Multiple site support" is the way to go?

Thanks!

Posted

The other option is to build an interface for the sites to communicate over, like a json api or similar. With 3.0 you could try the multi instance support as well, but it's not very well tested by now.

Posted

I am using REST API to exchange information between independent PW installs. There is Ryan's Pages Web Service Module you could use on the client sites and then query it from the main site. Or clsource's REST Helper classes for setting up a REST API. I wrote a tutorial on setting up the latter.

If you decide to go the REST route, there is the HTTPful REST client for PHP which makes life a lot easier when doing requests with PHP (from your main site to the client sites).

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...