cancel
Showing results for 
Search instead for 
Did you mean: 

Spring application with Alfresco 4.2.e

manideepan
Champ in-the-making
Champ in-the-making
We plan to develop a spring MVC based application which can manage content with Alfresco CMS.
i was referring to the below link to develop UI components. Am i in the right path on referring the below link?

http://wiki.alfresco.com/wiki/Forms_Developer_Guide#Form_UI_Component

if not, what should i refer in order to develop a simple form which can submit values to database from Alfresco CMS?


Thanks,
Manideepan.
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
You have several options. Of course that is both a blessing and a curse. Let me start by saying that there is nothing out-of-the-box that is going to help you persist form values to a database. If that's all you need to do I would seriously consider an alternative built for that purpose like Grails or similar.

If you want to post form values to Alfresco, though, you can use the form service to do that. If your form will exist within the context of the Alfresco Share web client, then you'll need to know more about how to do Share customizations including the underlying Spring Surf framework and probably some of the client-side UI extension points. There is no single comprehensive developer guide for something like that. I would point you to Dave Draper's blog and other blogs that can be found on http://blogs.alfresco.com.

Finally, you always have the option of using whatever MVC framework you want and then using the CMIS API (preferred) or Alfresco web scripts (custom REST API) to persist what you need to persist into Alfresco. Using this approach you would not need to know anything about how Alfresco Share works. The downside is that if your use case is close to the document management use case that Alfresco Share provides you'd be duplicating some amount of work and you'd potentially have more custom code to support going forward.

Hope that helps,

Jeff