Integrate my application with mojoPortal

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
7/26/2011 2:48:04 AM
Gravatar
Total Posts 13

Integrate my application with mojoPortal

Hi Joe,

    we chose mojoPortal as our CMS comparing to DNN and Umbraco. One requirement is not to use it as a standalone website but integrate with our current admin website. Basically it could be one new tab within our admin website. Therefore we will call many mojoPortal APIs in our code, here are some API scenarios I know for now.

1. Register user into mojoPortal when user registered in our admin site;

2. Call mojoPortal login.aspx when user navigating to the cms tab.

3. Get page list an editor can edit;

4. Get page list an approver can approve and edit;

5. Redirect to HtmlEdit.aspx when an user want to edit a page.

Which documents should I refer? I searched a bit I only found some docs about extending mojoPortal, but not integration with API calls.

 

Thank You.

Bruce

7/26/2011 3:41:40 AM
Gravatar
Total Posts 13

Re: Integrate my application with mojoPortal

I am sorry, one more question.

My boss is concerned about performance. I read an article here.

http://www.mojoportal.com/mojoportal-vs-dotnetnuke2006-09-02.aspx

(there is a broken link inside http://www.mojoportal.com/ForumThreadView.aspx?thread=432&pageid=5&&pagenumber=4).

It was written about five years ago. Are there any up-to-date profiling data to make my boss

believe I am choosing the right product for him?  :)

I am thinking to use mysql master-slave structure to separate write and read requests so that datatabase won't be the bottleneck. basically we will use the admin site to update contents and another website to just read contents from mysql based on mojoportal. Can I have your opinion about this idea?

 

Thank You. Have a nice day.

Bruce

 

7/26/2011 6:21:25 AM
Gravatar
Total Posts 18439

Re: Integrate my application with mojoPortal

Hi Bruce,

Sorry but I have no recent performance comparisons with other apps.

I can't say that I recommend having 2 sites using the same database where one writes and the other only reads. You may try such a thing but its not something I'm supporting or encouraging.

We do have a scheme where a different connection string can be used for writes than reads that was intended for this kind of replication. In most of the MySql data layer the connection string is determined with code like this:

private static String GetReadConnectionString()
        {
            return ConfigurationManager.AppSettings["MySqlConnectionString"];

        }

        private static String GetWriteConnectionString()
        {
            if (ConfigurationManager.AppSettings["MySqlWriteConnectionString"] != null)
            {
                return ConfigurationManager.AppSettings["MySqlWriteConnectionString"];
            }

            return ConfigurationManager.AppSettings["MySqlConnectionString"];
        }

but I'm not 100% sure this is done consistently in 100% of the MySql data layer code but is probably correct in most places. If you were to report any methods that don't have this I would be willing to update them.

Hope that helps,

Joe

7/26/2011 6:39:10 AM
Gravatar
Total Posts 18439

Re: Integrate my application with mojoPortal

We don't really have what you would call a comprehensive API that is designed to be used outside of mojoPortal so if that is your requirement mojoPortal may not be the right choice. 

Best,

Joe

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