Yii Framework Forum: multi-domains or share models - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

multi-domains or share models Rate Topic: -----

#1 User is offline   Juliano Baggio di Sopra 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 28-November 11

Posted 28 August 2012 - 06:30 AM

Hello! I am creating three applications with different domains would need to share the same template rules.

In domain-a.com I have an advertising platform
In domain-b.com l have a portal
In domain-c.com I have an processing internal application

I thought about getting them on the same server, but I could not imagine that the server could direct the domain to an specific module of Yii application.

So I thought just make them share the models, since three servers are on the local network. So could have a new server to only shared models.

Some of the two possibilities is possible?
0

#2 User is offline   Juliano Baggio di Sopra 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 6
  • Joined: 28-November 11

Posted 28 August 2012 - 06:20 PM

I chose to use different domains and applications, maintaining control through a structure structured in the repository, where models are above the folders of applications.

The publishing work will be higher, but could not find way to do what wanted otherwise.

If anyone has ideas, I'm always willing to improve!

thank you!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users