Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
3.3
NOTE: This page describes Spring Surf 1.0.0 which is included in Alfresco 3.3. If you are using Alfresco 3.2 or earlier, please visit Surf_Platform
Spring Surf is a scriptable Web framework that powers the presentation tier rendering capabilities of applications in the Alfresco application suite. These include Alfresco Share, Alfresco Records Management and both authoring and presentation tools for Alfresco Web Content Management.
Surf provides a way for you to build user interfaces for your web applications using server-side scripts and templates. No Java coding, no recompilation, no server restarts and no heavy lifting.
The result is reduced complexity and lower costs. Surf follows a content-driven approach – everything is content on disk. Scripts and templates are just simple files on disk. You can just open up a text editor and begin making changes to the live site.
Surf is a view composition plug-in for Spring Web MVC. More specifically, Surf is a Spring Framework extension that you can use to build new Spring Framework applications. Or you can plug it into existing Spring Web MVC applications in your business. Spring Web MVC provides an elegant separation between the application’s model, view, and controller – thus the acronym “MVCâ€. If you wish, you can use Surf side-by-side with other popular Spring Web MVC technologies including Tiles, Grails and Web Flow.
Surf provides a simple object model that allows you to define pages, templates, components, and themes, and more. It’s all just simple XML content on disk. Your Spring application picks up the new files and processes them through your scripts and your templates to produce the view. Scripts are written using server-side JavaScript and Groovy. Templates are written using FreeMarker and PHP.
In mid-2009, Alfresco began working with SpringSource on the contribution of Alfresco's scriptable, web presentation technologies to the greater Spring Framework stack. Scriptable presentation offers the Spring community with a lighter-weight mechanism for building views and controllers.
By the start of 2010, Spring Surf had been contributed and a first milestone had been released. It is actively developed as a collaborative effort between Alfresco Software and SpringSource. This enables the project to grow and to accelerate in a wider developer community. It is available as a plug-in for Spring MVC 3.x applications under the Apache 2.0 license.
Spring Surf includes a number of Alfresco technologies (now offered under the Apache 2.0 license).
These include the following web technologies:
These also include a suite of development tools:
The Spring Surf project also provides several samples to assist in getting started:
For more information on what is available in the latest release of Spring Surf, please visit the Spring Surf project page].
If you're interested in documentation for Alfresco 3.3 (including Alfresco Share), you should visit http://share.alfresco.com.
If you're interested in developer-level documentation concerning Spring Surf itself, you should visit the Spring Surf project page at http://www.springsurf.org.
The Spring Surf Extension project is maintained and developed as a collaborative effort between Alfresco Software and SpringSource. The Alfresco core engineering team contributes to Spring Surf alongside the Spring community. The project encourages open participation, feedback and contribution.
If you would like to learn more about the Spring Surf project or become involved, you can visit the Spring Surf project at http://www.springsurf.org.
From this project page, you can download the latest Spring Surf releases, access documentation, and browse through project information, including build details, technical documentation, and tutorials. It also provides information about how you can check out the code and contribute.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.