cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi there,

I would like to st little discussion about topic described in the title.

Did somebody already made some experience with this kind of architecture?

What's are pros and cons of this architecture?

My Pros:

  • easier to extend and maintain

  • client-side rendering (higherperformance)

  • the storefront is separated from the backend

  • the storefront could be deployed separated

  • the OCC layer could be reused from other platforms

My Cons:

  • No hybris standard

  • Hybris CMS doesn't work anymore (You have to build your own interfaces)

  • What will happen if the framework will be not supported anymore

  • Not many frontend developers are available at the moment

  • possible Security Risks, because the code will be executed on the client

  • possible Performance Issues on the OCC side

Many thanks for answers!

Greetz

0 Likes
View Entire Topic
Former Member
0 Likes

Hi Dominik, I've seen client requests for this type of architecture (usually in topic of single page application) increasing recently and these are my observations and thoughts, specifically around single page application front ends (SPAs):

The people who typically champion SPAs are mobile developers who view everything as a mobile App. Usually javascript guys with no regard for business capabilities and NFRs for the platform as a whole.

Ecommerce sites are not applications, the whole reasoning for an SPA is the application part. Think Gmail. What they are not suitable for are content heavy sites which are logically assembled into pages.

SPAs are best suited where there is no concept of pages, where there is no SEO requirement and where there is no requirement for business user control over layout. You “can” “hack” SPAs into behaving like a traditional site, but then why would you do this?

SPAs will add a lot of cost and complexity to an OOB eCommerce deployment. To do it well, you are totally reliant on the APIs – these will be public facing, so I would advise you would porbably need an API broker (like Apigee) in front of hybris to provide monitoring, caching & CDN, security etc.

The mooted benefit of SPAs is control over presentation – this usually assumes this is a html / css developer tasks. If you have any desire for business user control apart from pure content (ie images / text in pre-defined slots), an SPA isn’t suitable.