Jun 12, 2012 at 10:58 PM
Edited Jun 13, 2012 at 5:22 AM
I am still very new to Orchard and I am trying to understand what the right approach is in creating a module. This module doesn't use the CMS database for my module data but integrates with an external web service for accessing and modifying data. Based
on various tutorials I have so far managed to create a module with a part for configuring the web service access and I can show different custom views (widget) of the data.
I now need to create a form for posting data to the service. I am now wondering what the best approach is. I intend to have the driver return an additional display shape for the form by combining shapes and then use placement info in the theme to control
where it should be displayed. The post action would be handled by a normal MVC controller, which I would add to Orchard routes.
Is this a good approach?
I have also looked at using form and workflow functionality in existing Orchard modules but I am not sure how to do this from a module. Also, in my case I don't want to keep any workflow states in the CMS database since this is done by the web service.