Ir para conteúdo
Fórum Script Brasil

Soujanya Bargavi

Membros
  • Total de itens

    1
  • Registro em

  • Última visita

Sobre Soujanya Bargavi

Soujanya Bargavi's Achievements

0

Reputação

  1. I have an approach where we'd have a web front end (built using Ember.js/handlebars) making calls to a web service which would in turn join the data (e.g. how many movies you've watched) with the appropriate content (e.g. the web service knows to look up node X in the CMS; "Thanks for watching all those movies!") and return the copy, image and data in a single JSON document. This works really well when I have a RESTful API to the CMS. However I've now been asked to make Adobe Experience Manager/CQ5 the CMS, and need to know if the same thing exists. I don't think it does; I know that CQ5 uses either JCR/CRX as its content repository but from what I can see these aren't exposed as a web service (only language level APIs available) AEM 6.2 uses JCR OAK which promises a RESTful API. So in short my question is: does JCR OAK provide a RESTful API to the content and if so can anyone provide any examples/pointers please? Tradução: Eu tenho uma abordagem em que teríamos um front-end da Web (criado usando o Ember.js / handlebars) fazendo chamadas para um serviço da Web que, por sua vez, uniria os dados (por exemplo, quantos filmes você assistiu) com o conteúdo apropriado ( por exemplo, o serviço web sabe procurar o nó X no CMS, "Obrigado por assistir a todos esses filmes!") e retornar a cópia, imagem e dados em um único documento JSON. Isso funciona muito bem quando eu tenho uma API RESTful no CMS. No entanto, agora me pediram para fazer o Adobe Experience Manager / CQ5, o CMS, e preciso saber se a mesma coisa existe. Eu não acho que sim; Eu sei que o CQ5 usa o JCR / CRX como seu repositório de conteúdo, mas pelo que eu vejo, eles não são expostos como um serviço da Web (somente APIs de nível de linguagem disponíveis) O AEM 6.2 usa o JCR OAK, que promete uma API RESTful. Então, em suma, minha pergunta é: o JCR OAK fornece uma API RESTful para o conteúdo e, nesse caso, alguém pode fornecer algum exemplo / ponteiros, por favor?
×
×
  • Criar Novo...