05-15-2008 10:38 AM
05-16-2008 01:11 AM
Our site will have a lot of dynamic content, such as articles. After going through the WCM evaluation guide, I was surprised to find that it was necessary to write Java code to get a dynamic list of articles for a page (the code is there for the example content, like press releases, but it seems you would need to add your own JavaBeans for new content types).While you do need to develop code, it doesn't have to be written in Java. You can use whatever dynamic web application technology you're most comfortable with (provided it includes an HTTP client library, which most languages do these days).
Is there any other way to generate a web page that lists all content created from a particular web form?The simplest way to do this kind of thing is to write a data Web Script (see http://wiki.alfresco.com/wiki/Web_Scripts for details) that queries the repository and returns the list of matching content items in whatever structured data format (XML, JSON, CSV, COBOL fixed length records :wink
Is this something that is (or will be) in WSF?WSF is an example of a dynamic front end web site implemented in JSP / Java, but it doesn't have this kind of complexity. The only time it displays lists of content items is when those items are assigned to the same nodes in the navigational hierarchy, and that's a very explicit relationship in the WSF content model. Query driven lists of content items, in comparison, are far more complex (due to the difficult in calculating dependencies) and can't, in general, be "pre-baked" at submission time. Instead the easiest approach is to simply deploy the raw content out to the delivery environment and let the front end dynamic web application "fry" pages based on dynamic (request time) queries, using standard dynamic web application performance tuning techniques (ie. caching) to maximise performance.
We would eventually like some social features, like users posting comments to articles. Is there any support for that in WCM? Or in WSF?The WCM repository can store pretty much any content model you can dream up - it just doesn't provide much in the way of front end, public UI components (at least not until ADW surfaces). So the answer is yes and no - yes WCM supports user generated content (UGC), but no we don't (yet) provide any UI components that you can sprinkle liberally throughout your web application to allow your visitors to create and manage their UGC.
If not, is there any way to hack this? Ideally, these submissions would be like other content, needing to go through a workflow; the difference is that they must be entered through our published web site, not through the Alfresco web client.Yes there is. Simply model your UGC as an Alfresco hosted content model, develop CRUD Web Scripts for managing that content model, then add whatever UGC UI you wish to your web application, having it read and persist the UGC itself from an Alfresco Runtime via the CRUD Web Scripts.
05-16-2008 02:21 PM
06-02-2008 04:06 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.