<?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: Am I being stupid! in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/am-i-being-stupid/m-p/249431#M202561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is possible you've mistaken Alfresco's role. Alfresco is not a CMS in the same sense that, say, Drupal is a CMS. What I mean by that is that unlike most PHP-based content management systems, in Alfresco, the repository and the presentation are completely separate. The closest thing Alfresco has to a presentation framework is Surf, which you say you don't want to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you want a web page to get its content from Alfresco and you want to use straight HTML, your HTML page will need to do *something* to get that content. Here are your options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Place JavaScript in your HTML page that does an AJAX call to the repository tier.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Don't use straight HTML but instead use a language that renders HTML, like PHP, Python, or JSP, and make calls from those scripts to the repository tier.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Use a web script that includes a view that renders as HTML. Query the repository from the web script controller. Render the data the controller places in the model in your HTML view (which is implemented as FreeMarker). Depending on what you are trying to do, you might be able to get what you need from Freemarker calls in your view without a controller. (Web Scripts are technically part of Surf, so maybe this violates your no-Surf requirement).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Use a front-end framework like Drupal, Liferay, or others that make calls to the repository tier.&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;In the above options, when I say "make a call to the repository tier" what am I talking about? You have options. You might be calling:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;an out-of-the-box web script (restful)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;a custom web script (restful)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;CMIS (restful or web services)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Alfresco Web Services API&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;The above discussion assumes you want to do something dynamic. Of course you could also just create the HTML page in Alfresco, either manually or as the result of a transformation, and then publish it to your web server's file system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps clarify your options and the approaches available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2012 15:53:18 GMT</pubDate>
    <dc:creator>jpotts</dc:creator>
    <dc:date>2012-03-27T15:53:18Z</dc:date>
    <item>
      <title>Am I being stupid!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/am-i-being-stupid/m-p/249430#M202560</link>
      <description>Hi Everyone,Appologies if this is a very very basic question, but I seem to have read pages and pages of documents and watch several youtube vidoes and don't seem to be getting anywhere. I've setup quick start (tomcat/linux/alfresco4), and have the finance wesbite running. But I only did this to giv</description>
      <pubDate>Tue, 27 Mar 2012 11:59:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/am-i-being-stupid/m-p/249430#M202560</guid>
      <dc:creator>idiotsguide</dc:creator>
      <dc:date>2012-03-27T11:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Am I being stupid!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/am-i-being-stupid/m-p/249431#M202561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is possible you've mistaken Alfresco's role. Alfresco is not a CMS in the same sense that, say, Drupal is a CMS. What I mean by that is that unlike most PHP-based content management systems, in Alfresco, the repository and the presentation are completely separate. The closest thing Alfresco has to a presentation framework is Surf, which you say you don't want to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you want a web page to get its content from Alfresco and you want to use straight HTML, your HTML page will need to do *something* to get that content. Here are your options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;Place JavaScript in your HTML page that does an AJAX call to the repository tier.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Don't use straight HTML but instead use a language that renders HTML, like PHP, Python, or JSP, and make calls from those scripts to the repository tier.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Use a web script that includes a view that renders as HTML. Query the repository from the web script controller. Render the data the controller places in the model in your HTML view (which is implemented as FreeMarker). Depending on what you are trying to do, you might be able to get what you need from Freemarker calls in your view without a controller. (Web Scripts are technically part of Surf, so maybe this violates your no-Surf requirement).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Use a front-end framework like Drupal, Liferay, or others that make calls to the repository tier.&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;In the above options, when I say "make a call to the repository tier" what am I talking about? You have options. You might be calling:&lt;/SPAN&gt;&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;an out-of-the-box web script (restful)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;a custom web script (restful)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;CMIS (restful or web services)&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Alfresco Web Services API&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;The above discussion assumes you want to do something dynamic. Of course you could also just create the HTML page in Alfresco, either manually or as the result of a transformation, and then publish it to your web server's file system.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps clarify your options and the approaches available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 15:53:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/am-i-being-stupid/m-p/249431#M202561</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-03-27T15:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Am I being stupid!</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/am-i-being-stupid/m-p/249432#M202562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks very much for posting a reply, very helpful and makes a little more sense now.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate that the CMS part is not the main guts of Alfresco, but I have the job of writing a website that needs alfresco at its core so i've no choice, but it does seem like a good system. I'm very familiar with writing website based in ASP,PHP, etc so i'm sure I'll get there in the end!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess I'm just used to writing site from scratch, I've tried the Joomla/Drupal's before and while they are good system, sometimes they are a little overkill.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to try Spring thought as it seems like this would save me a little time writing code that's already been written.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I would also like to know if there are any simple guides that can take you through implementing a single template page into the backend (with basic api calls).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 20:29:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/am-i-being-stupid/m-p/249432#M202562</guid>
      <dc:creator>idiotsguide</dc:creator>
      <dc:date>2012-03-27T20:29:20Z</dc:date>
    </item>
  </channel>
</rss>

