cancel
Showing results for 
Search instead for 
Did you mean: 

Surf and SpringMVC

darryl_staflund
Champ in-the-making
Champ in-the-making
Hi all,

Our development community here in Alberta have been talking about Alfresco Roadmap for 2010 – in particular the move to Surf and SpringMVC as a development platform.  This is good news, but I am left wondering how SpringMVC and Surf will interact with each other.  Can anyone give an explanation or provide an example on how to two will work together?

Here's what some of us were speculating:

    i)  SpringMVC will be used to develop controllers on the client-side of a
        distributed application. It's fairly mature and supports
        the development of wizards.  It also hooks into workflow engines.

    ii) Surf will be used to develop REST-based proxies
        on the client-side.  SpringMVC controllers would invoke the proxies when
        it needs to interact with the repository.

    iii) JSP, Freemarker, and XSLT, etc. could still be used to render content for
         consumption.

    iv) This works at the component level.  But at the page level (where the page
         is created by rendering the content of one or more components and then laying
         out this content in a standard way according to some template), I'm still
         not sure whether Surf or SpringMVC would be used.

Does it sound right?

Darryl
3 REPLIES 3

darryl_staflund
Champ in-the-making
Champ in-the-making
I think I may have found my answer.  I just found this project (called "SX Spring Surf Extension") listed at SpringSource this morning:

http://jira.springframework.org/browse/SESURF

According to its description:
This extensions aims to provide developers with a view composition framework for Spring MVC applications that leverages the advantages of scripts and templates. It enables an alternative to Tiles that removes the dependency on compile-time JSP development and allows web site presentation to be mashed together from lightweight, reusable components.

Darryl

fpp
Champ in-the-making
Champ in-the-making
Darryl,

many thanks for the link - I was looking for that since the video on the integration with the Spring Tool Suite showed up early November on the Alfresco Blogs. Now let's see when some announcements will come around - the Wiki already has some descriptions on it but these are all tagged Version 3.3

fpp

P.S. SE Surf project page with link to svn is at: http://www.springsource.org/extensions/se-surf

darryl_staflund
Champ in-the-making
Champ in-the-making
Just a note that version Milestone 2 of the Spring Surf SDK 1.0.0 has been released.  Important in this release is the inclusion of much needed user documentation 🙂  It can be accessed here:

    http://www.springsurf.org/

Darryl