Architectural question, how should I approach this?

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.
6/26/2007 3:34:40 PM
Gravatar
Total Posts 112

Architectural question, how should I approach this?

Hi All,

One of my customers needs bidirectional data flow with another company. Orders will flow in, status changes will flow in and out. I'm thinking about how to do this securely.

I'm thinking I will setup mojoPortal for their other CMS needs, and security. I could write a new module that would accept a form field of XML, or RDF data. The mojoPortal security would prohibit bad folks from wrecking havoc. I would post-process the form field data to update the database. And there are some exciting things to learn here; login to mojoPortal, fill in the form field, push a button, scrape up the status reply...

Does this seem the correct approach?
Dale E. Moore

6/26/2007 8:18:15 PM
Gravatar
Total Posts 18439

Re: Architectural question, how should I approach this?

Is this for an automated process or is a user involved?

I'm not sure what you mean "things to learn here; login to mojoPortal, fill in the form field, push a button, scrape up the status reply..."

For automation I would not go for any approach with screen scraping or trying to automate interaction with the web ui. Not sure if thats what you meant.

I would use web services and be sure and use SSL so that all communication is encrypted.

To handle the automation/schedule the calls to the remote service I would write a Windows Service which is pretty easy in .NET

If its not automated but submitted by a user I would use a form and post to the web service, again always using SSL.

Hope it helps,

Joe

 

6/26/2007 8:57:59 PM
Gravatar
Total Posts 112

Re: Architectural question, how should I approach this?

Thanks Joe,

You have clarified some of my newB language and I appreciate your input!

I plan for this to all work automatically without any users directly involved. So I take it from your note Web Services with SSL is the right way to go. Google tells me there are over 1.2 Million hits on "dotnet web services with ssl"; any other pointers or insight you are willing to share will be very much appreciated!

Thanks,
Dale E. Moore

6/26/2007 9:22:28 PM
Gravatar
Total Posts 18439

Re: Architectural question, how should I approach this?

just google for .NET windows service, leave out the ssl in your search, there are several good tutorials on places like code project.

SSL is not difficult, you just need an SSL certificate installed on the web server, then make requests with https

In mojoPortal you can force SSL in web service or page code with SiteUtils.ForceSSL();

Hope it helps,

Joe

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