cancel
Showing results for 
Search instead for 
Did you mean: 

SURF + Application based website : Suggestions ?

deas0815
Star Contributor
Star Contributor
Hallo everybody,

I'm working my way through SURF, and I'm wondering what the suggested approach is to embed an application into a SURF based website.

Assume for example you want to code your application in JSF or Grails.

Should one create (webscript-based ?) components delegating to the JSF/Grails application ?
Or should one create custom (grails/JSF) components ?
Or should you back off from JSF/Grails and implement the application in webscripts ?

SURF knows about pages and paths and navigation, and so do JSF and Grails in general. If you have an action directing to another page, I guess
the application has to be aware of SURF as the DispatcherServlet is the main entry point, right ?

Or am I completely on the wrong track an missing something here ?

Any suggestion or rough outline how to do this is highly appreciated.

regards
Andreas
2 REPLIES 2

jpfi
Champ in-the-making
Champ in-the-making
Hi,
from my point of view using SURF doesn't make sense if you want to use more heavyweight technologies.
In this case I'd go the other way around: Write your application using JSF, Grails or any other web or portal technology/framework.
Then adapt & use Alfresco as Content Repository/Service via RESTful WebScripts, either integrate whole SURF components (presentation webscripts) or simply use data webscript and render the presentation within your framework.

Cheers, Jan

deas0815
Star Contributor
Star Contributor
Hallo Jan,

Hi,
from my point of view using SURF doesn't make sense if you want to use more heavyweight technologies.
In this case I'd go the other way around: Write your application using JSF, Grails or any other web or portal technology/framework.
Then adapt & use Alfresco as Content Repository/Service via RESTful WebScripts, either integrate whole SURF components (presentation webscripts) or simply use data webscript and render the presentation within your framework.

Cheers, Jan

hm … so seems technolgies are note yet integrated like they could/should be, right ?

But that is not so unusual - Portals and CMSs can also cause headaches. Smiley Wink

What I had in mind was placing application components on pages in webstudio just as you place applications on pages in a portal.

Depending on the requirements of the project, I think that could be a pretty appealing approach.

regards
Andreas