cancel
Showing results for 
Search instead for 
Did you mean: 

Starting steps to build a website

tempo
Champ in-the-making
Champ in-the-making
Hi all,

i'm pretty new to Alfresco WCM,
Before downloading anything, i'd like to get some advices
I would like to build a very simple web site that would only present in a structured way some documents

Basically what is done on the demo
http://www.alfresco.com/products/presentations/1.4/AlfrescoPortal_viewlet_swf.html

Can you please give me some advices what to use to perform this ?
WCM ? WFS ?

Many thanks for your help

Regards

Maurice
1 REPLY 1

kvc
Champ in-the-making
Champ in-the-making
Maurice:


To create a website, you can do one of three (or more, actually) things:

*  For a static site, create a web form for a web page.  Associate a Freemarker (or XSLT) template with that web form.  Have the user create a web page using that web form, and use Freemarker to generate a static HTML rendition.  You can use our Template API within Freemarker to get a directory location (from the XML captured in the web form) and walk that directory to generate a list of links to files.

*  For a dynamic site, you can create a JSP page and use our Java API to query the repo and fetch and render a list of items.

*  For a dynamic site, you can create a JSP page that uses the c:import tag to reference a web script, where the web script uses our Javascript and Freemarker API fetch and render a list of items in the repository (either via search or walking a directory).

I recommend first walking through the WCM Product Eval Guide and digging into its sample content.  Then, you should review our Javascript API, Template API, and Web Script pages on our wiki.   You should get a pretty good understanding of what you can do after this … and any further questions that come up, don't hestitate to post here or inquire at info@alfresco.com.


Kevin