SiteFolder - API and capacity questions

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/24/2009 12:05:06 PM
meh
Gravatar
Total Posts 1

SiteFolder - API and capacity questions

Hello... I stumbled upon mojoPortal's multi-site via folders capability yesterday and I think it might be a good fit for a project I'm looking into for a client.

They want to be able to create free content-managed sites for their members under a url structure like, "organizationurl/membername".

From what I've seen, the multi site capabilities of mojoPortal should work well for this. I do have a couple questions.

1) Would it be possible to create a "SiteBuilder" class that would encapsulate all of the work needed to actually create a new site, new site folder, new user with a default password, a new set of pages with default content?

My goal is to simplify the process to sign up a new member. If I could create a new form that would ask the necessary questions to the member and then kick off a single process that would be much easier for the client to manage.

Has anyone tried something like this in the past? Are there major downsides/issues that I'm not considering?

 

2) Has anyone tried adding a large number of sites using the sitefolder functionality? The client I'm working with may have up to 2,000 sites or more that they'd like to manage. Can mojoPortal handle that type of number or more?

Thanks for your time.

2/24/2009 12:22:57 PM
Gravatar
Total Posts 18439

Re: SiteFolder - API and capacity questions

Hi,

1. I plan to build a Site Provisioning system at some point probably as an add on product that can allow users to provision their own sites with an option for ecommerce so one could sell sites, but not sure how soon that feature will be available, not in the next few months for sure. So, yes its possible but no we don't have this yet. Currently only admins in the root site can create new sites, it does create a default admin@admin.com user, and you can configure some files to make some default pages/content that will be created for new sites.

2. I've never setup 2000 sites on a single installation but in theory, its just a matter of whether the site has the resources to handle the aggregate traffic. From IIS point of view its just one site. 2000 low traffic sites is equivalent to less sites with more traffic.

There is a file in the root named mojoSiteMap.config, in the current release its only configured for up to 100 sites, but recently in svn I bumped it up to 200. It has to be configured for up to max number of sites you plan to host. Its just a config file that hooks up the correct site map for each site, it has entries like this:

add name="mojosite96" type="mojoPortal.Web.mojoSiteMapProvider" securityTrimmingEnabled="false" />
<add name="mojosite97" type="mojoPortal.Web.mojoSiteMapProvider" securityTrimmingEnabled="false" />
<add name="mojosite98" type="mojoPortal.Web.mojoSiteMapProvider" securityTrimmingEnabled="false" />
<add name="mojosite99" type="mojoPortal.Web.mojoSiteMapProvider" securityTrimmingEnabled="false" />
<add name="mojosite100" type="mojoPortal.Web.mojoSiteMapProvider" securityTrimmingEnabled="false" />

so to go up to 2000 sites you'd have to keep incrementing and copy pasting until you get to 2000 or whatever your upper limit is planned at. The numbers correspond to SiteID.

Hope it helps,

Joe

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