<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fully dynamic 'web2.0' website with Alfresco in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80693#M53895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Awesome!&amp;nbsp; And *yes* I would *love it*.&amp;nbsp; We are eager to get people to start posting samples of what they've done to share … and it's really important for us in terms of learning.&amp;nbsp; Looking at what you've done - and you've had to work around - really helps us hone in on what we need to do next.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am excited about this.&amp;nbsp; Always share everything, that's what we like to say &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Aug 2007 22:28:52 GMT</pubDate>
    <dc:creator>kvc</dc:creator>
    <dc:date>2007-08-03T22:28:52Z</dc:date>
    <item>
      <title>Fully dynamic 'web2.0' website with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80690#M53892</link>
      <description>I'm evaluating Alfresco for some time, and I want to create fully dynamic 'web2.0' style (kind of a blog) site with Alfresco. As I can see - the WCM is for making content from ECM available as a website in a static way.My questions are: 1. can I create a dynamic website - where users will create con</description>
      <pubDate>Mon, 30 Jul 2007 16:37:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80690#M53892</guid>
      <dc:creator>macberger</dc:creator>
      <dc:date>2007-07-30T16:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fully dynamic 'web2.0' website with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80691#M53893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, you can create a fully dynamic site … this is the reasoning behind our support for managing your site as a source tree and for providing virtualization capabilities for web applications.&amp;nbsp; A dynamic site is a web app.&amp;nbsp; WCM is designed to help you build and maintain web apps and keep your developers and contributors in sync.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your run-time site, you can indeed embed Alfresco content services - for example, accessing our create/edit content edit for managing updates to XML.&amp;nbsp; And yes, you can have WCM use Freemarker to generate content from an Alfresco space on the fly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In WCM, you can model content and pages (where a page is a collection of components that source 0 or more content items) via XSD.&amp;nbsp; Business users can create individual XMLs, which you may or may not pre-generate into a fixed rendition (for example, an email newsletter or PDF).&amp;nbsp; Similarly, business users can use a web form to create a definition for a new dynamic web page - the XML generated from the form specifies what components to include in the page, where they are positioned, and how they are instantiated (for example, for a directory listing, which directory contents to list).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The key here:&amp;nbsp; the XML that defines the page *does* get statically pre-generated - as a JSP page!&amp;nbsp; Your templates (either Freemarket or XSLT) in Alfresco don't *just* pre-generate HTML - they should generated dynamic pages, which a business user can then preview and test.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, when a business user is using a form to add components to a page, those components are Web Scripts.&amp;nbsp; A web script is an URL-addressable Alfresco executable Javascript file whose response template is a Freemarker template.&amp;nbsp; Web scripts can really do anything:&amp;nbsp; generate lists of content from a space, query the XMLs in the current website to generate teasers and section pages - you name it.&amp;nbsp; When you generate the dynamic web page, what your template does is read the page definition XML created by the business user, and then generates the URLs to the appropriate web scripts passing as adornments the parameters specified by the business user when filling out the form.&amp;nbsp; That way, you can have a limit number of web scripts that can be combined in myriad ways on myriad web pages for a fully dynamic and *business-user composable* site.&amp;nbsp; Developers develop components; business users control everything in the site, from content to layout and presentation!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does that answer you question?&amp;nbsp;&amp;nbsp; We are very excited by this model … we think it is simple, fast, elegant, and very powerful.&amp;nbsp; We do need to provide a great deal more in the way of examples and documentation … perhaps you could help by contributing something back - a sample website project, for example - to help others here in the Community?&amp;nbsp; We'd love to give you any assistance you'd need here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 13:17:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80691#M53893</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-08-03T13:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Fully dynamic 'web2.0' website with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80692#M53894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kevin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are doing something similar on a project now. We have a number of "directory pages" and are using web scripts to execute lucene queries to generate the directory listings pages based on categorisations. All the directory items are defined using WCM and Web forms.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We would be interested in producing a sample once the project is finished should you be interested.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mark&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 16:10:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80692#M53894</guid>
      <dc:creator>mark_smithson</dc:creator>
      <dc:date>2007-08-03T16:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fully dynamic 'web2.0' website with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80693#M53895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Awesome!&amp;nbsp; And *yes* I would *love it*.&amp;nbsp; We are eager to get people to start posting samples of what they've done to share … and it's really important for us in terms of learning.&amp;nbsp; Looking at what you've done - and you've had to work around - really helps us hone in on what we need to do next.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am excited about this.&amp;nbsp; Always share everything, that's what we like to say &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2007 22:28:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80693#M53895</guid>
      <dc:creator>kvc</dc:creator>
      <dc:date>2007-08-03T22:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Fully dynamic 'web2.0' website with Alfresco</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80694#M53896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Kevin&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answer - that's what I had in mind, but I don't quite understand how to do this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Now, when a business user is using a form to add components to a page, those components are Web Scripts. A web script is an URL-addressable Alfresco executable Javascript file whose response template is a Freemarker template. Web scripts can really do anything: generate lists of content from a space, query the XMLs in the current website to generate teasers and section pages - you name it. When you generate the dynamic web page, what your template does is read the page definition XML created by the business user, and then generates the URLs to the appropriate web scripts passing as adornments the parameters specified by the business user when filling out the form.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I mean I created some webscripts to list some of my spaces, even add my extended content to them, but now the scripts are executed directly REST-style. How can I combine them on another page as you said? For example - space listing from URL A on the top, and some other listing from URL B on the bottom. Maybe you can point me to some example code, or documentation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW - I would like to post my work too (when I'm through with it &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mac&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2007 13:32:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/fully-dynamic-web2-0-website-with-alfresco/m-p/80694#M53896</guid>
      <dc:creator>macberger</dc:creator>
      <dc:date>2007-08-06T13:32:57Z</dc:date>
    </item>
  </channel>
</rss>

