<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ben&#039;s Blog &#187; Alfresco Web Editor</title>
	<atom:link href="http://www.benh.co.uk/category/alfresco/alfresco-web-editor/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benh.co.uk</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 21:39:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Web Studio, Web Editor and the Web Editor Framework</title>
		<link>http://www.benh.co.uk/alfresco/web-studio-web-editor-and-the-web-editor-framework/</link>
		<comments>http://www.benh.co.uk/alfresco/web-studio-web-editor-and-the-web-editor-framework/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 09:23:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Alfresco WCM (archive)]]></category>
		<category><![CDATA[Alfresco Web Editor]]></category>
		<category><![CDATA[Surf Framework]]></category>
		<category><![CDATA[web editor]]></category>
		<category><![CDATA[web editor framework]]></category>
		<category><![CDATA[web studio]]></category>

		<guid isPermaLink="false">http://www.benh.co.uk/?p=454</guid>
		<description><![CDATA[I have been receiving a steady stream of questions around Web Studio and enquiries around our strategy for future releases with regards to similar functionality, so thought it would be helpful to discuss the product focus.]]></description>
			<content:encoded><![CDATA[<p>I have been receiving a steady stream of questions around <a href="http://wiki.alfresco.com/wiki/Web_Studio" target="_blank">Web Studio</a> and enquiries around our strategy for future releases with regards to similar functionality, so thought it would be helpful to discuss the product focus.</p>
<p><span id="more-454"></span>Firstly to clarify, Web Studio is no longer part of the Community Alfresco product so is no longer available for download.  Web Studio was not part of an Enterprise release and was therefore not supported as part of the core product by Alfresco.  The <a href="http://wiki.alfresco.com/wiki/Spring_Surf" target="_blank">Surf framework</a> that Web Studio utilised has been committed to Spring Source.  The Surf framework is the underlying framework for Alfresco Share and Alfresco will continue to invest in Surf and surrounding developer tools.</p>
<p>With 3.3 Alfresco started to heavily invest in WCM utilising the core Alfresco repository (non AVM).  As part of this strategy we introduced the <a href="http://wiki.alfresco.com/wiki/Web_Editor" target="_blank">Web Editor</a> (in-context editing) and <a href="http://wiki.alfresco.com/wiki/Web_Editor_Framework" target="_blank">Web Editor Framework</a> (WEF).  The Web Editor Framework provides a standard plug-in framework that people can develop any type of functionality on.  The framework can be loosely considered to be a ribbon toolbar that can be customised e.g. adding custom tabs, buttons and any other UI required.  Most importantly it is a common framework that Alfresco, the Alfresco community, partners, customers, the Spring community and anyone else can develop on.  A lot of effort has gone into the way that toolbars, buttons and components in general can be packaged into a single file, allowing for new plug-in’s to easily be “dropped in” to a WEF environment.</p>
<p>The Web Editor was Alfresco’s first core product (documented, supported) feature that was built utilising the Web Editor Framework i.e. the Web Editor has a dependency upon the WEF.  The Web Editor addresses a single specific use case which is to edit content (semantic page content) in the context of the web site.  In context editing.  This functionality is something we are now looking to build on in future releases, expanding this functionality above and beyond simple editing.  The Web Editor focus however of the next release (internally named &#8220;Swift&#8221;) is still on the content editorial process for the Web Editor.</p>
<p>There is also a great deal of interest in what I will term “presentation management”, and this is where Web Studio really sparked peoples thoughts around Alfresco WCM.  By this I mean providing the ability for a site administrator  to manage sites, site structures, templates, components, navigation etc.  In order to provide these features in a consistent, supportable manner, an underlying model is required within the repository which can then be utilised by a  delivery framework.  As the WCM functionality moves forward, we will start to implement such a model, and utilise Spring Surf and the WEF to deliver the presentation management functionality.  The Swift release remains focused on web content production, so no presentation management capabilities are in scope for this release, however the building blocks around the model and Spring Surf will start emerge.</p>
<p>Speaking to Alfresco partners, customers and community member recently, I know people are already starting to implement the Web Editor Framework and build out their required functionality.  We have current customers who have built presentation management capabilities with full custom clients, and the Web Editor Framework provides a powerful  alternative to this route.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benh.co.uk/alfresco/web-studio-web-editor-and-the-web-editor-framework/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Tech Talk Live &#8211; Web Editor Slides</title>
		<link>http://www.benh.co.uk/alfresco/tech-talk-live-web-editor-slides/</link>
		<comments>http://www.benh.co.uk/alfresco/tech-talk-live-web-editor-slides/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 11:45:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Alfresco WCM (archive)]]></category>
		<category><![CDATA[Alfresco Web Editor]]></category>

		<guid isPermaLink="false">http://www.benh.co.uk/?p=451</guid>
		<description><![CDATA[Here are my slides from last weeks TTL on the Web Editor.]]></description>
			<content:encoded><![CDATA[<div id="__ss_3707570" style="width: 425px;">Here are my slides from last weeks TTL on the Web Editor.</div>
<div style="width: 425px;"></div>
<div style="width: 425px;"><strong><a title="Tech talk live alfresco web editor" href="http://www.slideshare.net/alfresco/tech-talk-live-alfresco-web-editor-compatibility-mode">Tech talk live   alfresco web editor</a></strong><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=techtalklive-alfrescowebeditorcompatibilitymode-100413053407-phpapp01&amp;stripped_title=tech-talk-live-alfresco-web-editor-compatibility-mode" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=techtalklive-alfrescowebeditorcompatibilitymode-100413053407-phpapp01&amp;stripped_title=tech-talk-live-alfresco-web-editor-compatibility-mode" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
<div id="__ss_3707570" style="width: 425px;">
<div style="padding: 5px 0 12px;">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/alfresco">Alfresco Software</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.benh.co.uk/alfresco/tech-talk-live-web-editor-slides/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alfresco Web Editor &#8211; Getting Started</title>
		<link>http://www.benh.co.uk/alfresco/alfresco-web-editor/getting-started/</link>
		<comments>http://www.benh.co.uk/alfresco/alfresco-web-editor/getting-started/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 18:23:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Alfresco Web Editor]]></category>
		<category><![CDATA[awe]]></category>
		<category><![CDATA[web editor framework]]></category>
		<category><![CDATA[wef]]></category>

		<guid isPermaLink="false">http://www.benh.co.uk/?p=369</guid>
		<description><![CDATA[As we approach the final stages of development for 3.3 functionality, I thought it would be useful to write a brief introduction to the AWE to help people get started.  Please note that this article describes features currently found in HEAD, and are subject to change.

The Alfresco Web Editor (AWE) is a Spring Surf based web application that utilises the Forms Service to provide in-context editing capabilities to Alfresco repository content (non AVM).  Alfresco 3.3 also introduces the Web Editor Framework (WEF), which is a client side JavaScript framework that is a dependency of the AWE.  More on the WEF later.   The AWE is packaged as a stand-alone WAR file so that it can be deployed to web applications that are remote to the Alfresco application server.]]></description>
			<content:encoded><![CDATA[<p class="note"><strong>UPDATE</strong> -The <a href="http://www.benh.co.uk/alfresco/web-quick-start/web-quick-start-first-look/" target="_self">Web Quick Start</a> sample application is now available that demonstrates using the Web Editor within an end-to-end WCM example.</p>
<p>As we approach the final stages of development for 3.3 functionality, I thought it would be useful to write a brief introduction to the AWE to help people get started.  Please note that this article describes features currently found in HEAD, and are subject to change.</p>
<p>The Alfresco Web Editor (AWE) is a Spring Surf based web application that utilises the Forms Service to provide in-context editing capabilities to Alfresco repository content (non AVM).  Alfresco 3.3 also introduces the Web Editor Framework (WEF), which is a client side JavaScript framework that is a dependency of the AWE.  More on the WEF later.   The AWE is packaged as a stand-alone WAR file so that it can be deployed to web applications that are remote to the Alfresco application server.</p>
<p><span id="more-369"></span></p>
<p class="note">Documentation:<br />
<strong>Web Editor</strong> &#8211; <a href="http://wiki.alfresco.com/wiki/Web_Editor" target="_blank">http://wiki.alfresco.com/wiki/Web_Editor</a><br />
<strong>Web Editor Framework</strong> &#8211; <a href="http://wiki.alfresco.com/wiki/Web_Editor_Framework" target="_blank">http://wiki.alfresco.com/wiki/Web_Editor_Framework</a></p>
<h1>AWE Components</h1>
<p>The diagram below shows the core components of the AWE in a basic configuration where all components (Alfresco and the AWE) are installed on a single application server:</p>
<div><a href="http://www.benh.co.uk/wp-content/uploads/2010/03/alfresco-web-editor-11.png"><img class="aligncenter size-full wp-image-429" title="alfresco-web-editor-1" src="http://www.benh.co.uk/wp-content/uploads/2010/03/alfresco-web-editor-11.png" alt="" width="700" height="394" /></a></div>
<h1>JSP Support</h1>
<p>With the initial release, the AWE will support JSP based web sites by providing a tag library.  Additional languages will be supported in future releases with Freemarker and PHP being top of the list.  The tags have been designed for easy implementation so that a developer can enable the AWE with minimal effort, and without effecting the CSS layout and design of the site.</p>
<h1>Web Editor Framework (WEF)</h1>
<p>One of the key design requirements for the AWE was to provide a client side framework that could be extended and built upon by our community.  As a result, the Web Editor Framework was developed.  This provides a client side JavaScript framework built using YUI that can be extended easily.  New tabs and buttons can be packaged and &#8220;dropped in&#8221; to the framework.  This allows Alfresco to provide core product features, and the <a title="Spring Surf" href="http://www.springsource.org/extensions/se-surf" target="_blank">Spring Surf</a> and wider community to build out any custom plugins that are required.</p>
<p>As noted above, when the AWE is enabled, the WEF is a dependency that renders the toolbar and basic in-context editing buttons and functionality.  If the WEF is deployed stand-alone, the default blank toolbar is rendered.</p>
<p>A great deal of work has been done by Alfresco to package the WEF into and modular framework.  Were really hoping to see custom functionality being built and exchanged.</p>
<p><img class="aligncenter size-full wp-image-390" title="alfresco-web-editor-2" src="http://www.benh.co.uk/wp-content/uploads/2010/03/alfresco-web-editor-2.png" alt="alfresco-web-editor-2" width="1008" height="81" /></p>
<h1>Build and Deploy</h1>
<p>As well as the AWE itself, Alfresco Development have also provided a sample &#8220;customer&#8221; web application that allows you to easily test the in-context editing functionality.  The customer web app includes a simple tag library for calling content items from the repository.</p>
<p>There are a number of options for building the AWE and customer sample application.  Setting the APP_TOMCAT_HOME environment variable allows the builds to deploy directly to your Tomcat webapps directory.  For example:</p>
<p><code>APP_TOMCAT_HOME=C:\alfresco\tomcat<br />
</code></p>
<p>The build options are as follows:</p>
<p><code>clean-webeditor-projects - </code>Cleans all projects related to the web editor project.</p>
<p><code>deploy-webeditor-tomcat - </code>Deploys the web editor WAR to the application Tomcat server</p>
<p><code>incremental-webeditor-tomcat</code> &#8211; Performs an incremental build and deployment of the Web Editor WAR</p>
<p><code>deploy-webeditor-sample - </code>Performs a build and deployment of the customer sample website</p>
<p>To quickly get up and running, run:</p>
<p><code>ant incremental-webeditor-tomcat-exploded deploy-webeditor-sample-exploded</code></p>
<p>This will create both the customer and AWE web applications in your Tomcat webapps directory:</p>
<p><img class="aligncenter size-full wp-image-383" title="alfresco-web-editor-3" src="http://www.benh.co.uk/wp-content/uploads/2010/03/alfresco-web-editor-3.png" alt="alfresco-web-editor-3" width="190" height="125" /></p>
<h1>Sample &#8220;Customer&#8221; Web Application</h1>
<p>The &#8220;customer&#8221; web application provides some simple examples and tests for the AWE.  Bundled with the customer web application example is a &#8220;customer&#8221; tag library.  This provides a simple mechanism for fetching content from the Alfresco repository.  In a production environment, the web application could be loading the content in any number of ways, so the customer tag library just gets you up and running quickly for the purpose of testing the AWE.</p>
<p>Open up \customer\includes\noderefs.jsp file.  You will see the two node references for sample content items:</p>
<p><code><br />
&lt;%<br />
String mainTextNodeRef = "workspace://SpacesStore/301a540e-7101-489c-a8a7-859102a99ea5";<br />
String subTextNodeRef = "workspace://SpacesStore/e94797ce-c6e9-47eb-b28c-c6a4eb3ce666";<br />
%&gt;<!--formatted--></code></p>
<p>The two node refs are used throughout the example pages.  Create two example html files on your local disk, add some textual content, and upload these to a location within the repository.  Browse to these files using the node browser, and add the appropriate node references to the noderefs.jsp file.  Save the file and then browse to http://localhost:8080/customer/, and you should see the page rendered and the WEF toolbar.  You should be able to go ahead and edit any of the content items.</p>
<p><img class="aligncenter size-full wp-image-389" title="alfresco-web-editor-4" src="http://www.benh.co.uk/wp-content/uploads/2010/03/alfresco-web-editor-4.png" alt="alfresco-web-editor-4" width="1009" height="575" /></p>
<h1>AWE Tag Library</h1>
<p>As noted previously, the <strong>customer </strong>tag library is simply providing a mechanism to load a content item from the repository.  Within the index.jsp example, you will see the <em>customer:property</em> and <em>customer:conten</em>t tags used.  These are relatively self explanatory  in that either a property or the content is loaded, hence if you have null displayed for your title, that is because it has not been set.</p>
<p>The template has a <strong>awe:startTemplate </strong> tag which resides within the &lt;head&gt;&lt;/head&gt; section of the page, and also a <strong>awe:endTemplate </strong> tag which sits just inside the closing &lt;/body&gt; tag.  The <strong>awe:startTemplate </strong>tag<strong> </strong>essentially outputs a &lt;script&gt; tag and loads the WEF bootstrap webscript.  The <strong>awe:endTemplate</strong> tag on the other hand sets up the config for AWE i.e. a list of editable content items on the page and then renders a &lt;script&gt; tag to load the WEF resources script.</p>
<p>The <strong>awe:markContent </strong>tag is used to mark editable content on the page.  An edit icon is displayed on the page wherever the tag is used, or if CSS is disabled, an edit link with no image is used .  It is an option for the template developer as to where these are positioned, providing flexibility on where the most appropriate and logical position is for the content item in question.  In the example below, two parameters are specified, the <strong>id </strong>of the content item i.e. the node ref, and the title.  The <strong>title </strong>is used on the toolbar dropdown to list the available editable content items.  Note that within this example, no form is specified so the default form is assumed:</p>
<p><code>&lt;awe:markContent id="&lt;%=mainTextNodeRef%&gt;" title="Edit Press Release" /&gt;<!--formatted--></code></p>
<p>The example used later within the page utilises two additional attributes.  The <strong>formId </strong>allows the developer to specify a specific form to use, and the <strong>nestedMarker </strong>flag defines if the <em>awe:markContent</em> tag is used within a nested element.  If so, the element is used for a JavaScript flash effect, when a user is navigating using the drop down menu.  For example, a surrounding &lt;div&gt; element.</p>
<p><code><br />
&lt;div id="xyz"&gt;<br />
&lt;awe:markContent id="&lt;%=subTextNodeRef%&gt;" formId="description" title="Edit Trailing Text" nestedMarker="true" /&gt;<br />
&lt;/div&gt;<br />
<!--formatted--></code><br />
Please see the links below for documentation.  Hopefully this has provided a good introduction to some of the AWE and WEF capabilities.  Comments and feedback welcome!</p>
<p class="note">Documentation:<br />
<strong>Web Editor</strong> &#8211; <a href="http://wiki.alfresco.com/wiki/Web_Editor" target="_blank">http://wiki.alfresco.com/wiki/Web_Editor</a><br />
<strong>Web Editor Framework</strong> &#8211; <a href="http://wiki.alfresco.com/wiki/Web_Editor_Framework" target="_blank">http://wiki.alfresco.com/wiki/Web_Editor_Framework</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benh.co.uk/alfresco/alfresco-web-editor/getting-started/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

