04 21
Introduction To Spring Surf
0
Blog
POST BY
techforceNew

Introduction To Spring Surf

Introduction

  • 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 i.e. everything is content on disk. Scripts and templates are just simple files on disk.

  • 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. 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. 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.

Spring Framework Extension

What is included in Spring Surf?

These include the following web technologies:

  • Spring Web Scripts – scriptable REST controllers for remote API development.

  • Spring Surf – scriptable view composition for web applications and sites.

  • Spring Web Editor – in-context editing framework for WCM-driven web sites.

These also include a suite of development tools:

  • Spring Roo Addon – quick and easy command-line scaffolding for Web Scripts and Surf web sites

  • Eclipse Plugins – IDE plugins for SpringSource Tool Suite (STS) to assist in building Surf projects.

  • Documentation Generation – automatic generation of PDF and HTML documentation for Spring Web Scripts.

Where can I learn more?

  • 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.

Leave a Reply

Your email address will not be published. Required fields are marked *