Looking for strategy for developing more then one website with Mojoportal

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
2/10/2010 6:32:38 PM
Gravatar
Total Posts 39

Looking for strategy for developing more then one website with Mojoportal

Hi,

I am just starting a to work with Mojoportal and am trying to work out how to develop and maintain multple websites.

I would initially like to build two websites with mojoportal with more to follow shortly after.

For the first two sites I am building on our local test server and will deploy the database and code to live server when I am done.

What is the strategy for adding further sites?

 

Problem I see is there only one database. After the first two sites go live anything I develop on the test server will need to be scripted and migrated, or just repeated (with potential errors) through the mojoportal UI.

Can I put new sites into a different database then the first two so that I do not have to migrate data when I deploy the third website? Are there any recommended best practices around having multiple websites?

 

Cheers,
Leah

2/11/2010 8:35:07 AM
Gravatar
Total Posts 18439

Re: Looking for strategy for developing more then one website with Mojoportal

Hi Leah,

It is not possible to use different databases unless you use different installations of mojoPortal for each site.

Personally I never create content in a database on my local machine and then restore it on production. I create all content including new sites on production and periodically I get a backup from production and restore it on my test environment.

If I'm concerned about users seeing the content then I just make the pages only visible to Admins role, and when I'm ready to publish a page I change the view roles to allow All Users.

Sometimes I might also use a temporary host name until I'm ready to make it live, like dev1.mydomain.com, not that this hides the pages but unless someone knows about that host name it is not likely that people will stumble on it. As I said before if I want to be sure no-one can see it until I'm ready I use view permissions to protect the page.

Hope it helps,

Joe

2/11/2010 5:33:47 PM
Gravatar
Total Posts 39

Re: Looking for strategy for developing more then one website with Mojoportal

Thanks Joe.

This makes sense to me now. Separate dev, test and production databases can get messy. It is good to have a clear plan. :)

Keeping production as the master for content and structure sounds good. It will keep things simple.

 

Cheers,
Leah

You must sign in to post in the forums. This thread is closed to new posts.