cancel
Showing results for 
Search instead for 
Did you mean: 

Architecture options for Alfresco WCM

viralshah
Champ in-the-making
Champ in-the-making
Hi,
I am new to Alfresco WCM and exploring the product. Basic question is we have a site to be developed which has @80% of the pages whos content needs to be managed by WCM but will not change everyday ( Maybe once in a month or quarter). The other pages would have some type of simple forms for the logged in users that will have to update the DB on submit.

In this scenario what would be the best option to architect the solution ?

1. Have the whole site (including the JSP pages : which mean the web application) part of WCM repository and publish the site as filecopy (FSR) to the live server. ( Live server not having alfresco)

2. Develop an independant web application deployed on application server & fetch the content from the staging Alfresco server using web scripts ?

What are the pros & cons. Is Option 1 feasible ? Can we have a full fledged web application using MVC-2 and framework like spring over there in WCM  or it can just be a JSP directly talking to DB with no middle layer?

If we need "search" feature on the website, can we still use option 1 ? Or we should embed something like Google search on one of the JSP page ?
3 REPLIES 3

zaizi
Champ in-the-making
Champ in-the-making
There isn't enough information to suggest one option or the other. Both will work.

For search to work with option1, you can publish to a ASR and FSR and use webscripts on the ASR to provide search functionality.

Option 3: Deploy to ASR and have independent application / JSP query ASR for content / search.

dwallen
Champ in-the-making
Champ in-the-making
Hi All,

We are looking at using Alfresco for content management systems from within an existing servlet application.
I have been looking at using web scripts to retrieve a list of possible documents that will then be filtered at the application level to taylor the user experience. We will be implementing a rules engine to accomplish this.

As a proof of concept I am using a web script to return a list of content along with mime type, and URL as an xml document.
That part works great and will have very little impact on the application. The next step is what I'm having trouble with.
I was hoping the url returned in the web script xml would be able to be inserted into the servlet page and I would have
access. Text documents or html documents should not be a problem as we will pull them through the application. It's the
media type documents where the URL is inserted directly into the page which we wanted to access directly from Alfresco that are creating an issue for me.

Could someone possibly provide a method for inserting a URL into the page that would access Alfresco content directly?
Here is the type of example I'm am looking for:
<img src="http://localhost:8080/alfresco/service/api/node/content/workspace/SpacesStore/abfc8659-a13a-4b85-b9f...>

Thanks in advance.

zaizi
Champ in-the-making
Champ in-the-making