AEM Edge Delivery Services (EDS)
AEM EDS

AEM Edge Delivery Services (EDS)

This is a developer introduction to AEM EDS.


Details architecture -

https://github.com/adobe/helix-home/blob/main/docs/architecture.md

Main Docs -

https://www.aem.live/

Code for aem.live - https://github.com/adobe/helix-website?

Coding -

Setup for Document-Based Authoring -

  • Create an EDS project using boiler-plate project from github (https://github.com/adobe/aem-boilerplate).
  • Install AEM Code Sync GitHub App repo so code changes get pushed to EDS code bus.
  • Create content on Google drive location and share location with AEM user [email protected]
  • Update the folder URL from your Google Drive to fstab.yaml
  • Add AEM Sidekick plugin in chrome browser and publish your page
  • Are you able to access .aem.page and .aem.live pages yet?
  • Code will be moved to code bus via AEM Code Sync app and content will be fetched using Sidekick by content bus. When a user requests a page, Helix admin takes the code from code bus and content from content bus and assets from media bus then dynamically renders the page and send it to CDN.?

Local env -

  • It's a node js project so install npm in your local
  • Install the AEM Command Line Interface (CLI)
  • clone your repo in local and run aem up

Setup for Universal Editor -

Setup for Universal Editor is little different.

Content

Universal Editor

  • A modern what-you-see-is-what-you-get (WYSIWYG) UI for authoring content within AEM. The content you author is persisted in AEM as a Cloud Service.
  • If you are choosing Universal editor as your authoring tool, you need to setup you repo little different. Follow this guide.


Universal Editor

Document-Based Authoring

  • Word doc or Google Docs become your pages on your website. Your headings in your documents will become headings on your website. Bold, italic, underlining, lists, images, etc. will all appear on your website
  • Sections - create different sections of page using --- (three hyphens) on a single line
  • Most important - Blocks - for more structured content and add custom functionality to your site. JS will add class name to div same as first row of table. This name of block will map the css/js of block code to this div.

Blocks

  • Add metadata to your page or section, create a table like the following

Metadata


How does content document and code (js/css) gets mapped? content doc > markup > DOM > HTML

  • AEM converts content doc to very easy readable markup, check view source of page and it will show markup
  • scripts.js/aem.js converts markup into a DOM, it adds more div and classes

markup


DOM

Other important site wide features


My demo -

https://main--space--ajaykumar138.aem.live/?


要查看或添加评论,请登录

Ajay Kumar的更多文章

社区洞察

其他会员也浏览了