AEM Flashcards
What provides the Java Container in AEM Stack?
OSGi
What is the functionality of Dispatcher?
Caching
Load Balancing
Security
What are parts of the AEM Stack?
Application Layer (AEM)
Web Application Framework (Apache Sling)
JCR / Storage Layer
OSGi Java Container
What contains components?
Bundles
Benefits of using JCR?
Stores content in hierarchical structures
What environment shows personalized content?
Publish
What is the web framework in AEM Stack?
Apache Sling
What is the storage layer in AEM Stack?
JCR
Benefits of AEM as a cloud service
Always on
Always at scale
Always current
Always learning
Always On
No content freeze or downtime
Protection against cloud disasters and failures
Always at Scale
Auto-scaling (publish and authot)
Faster rendering and processing of 100% pixel quality assets - microservices for asset ingestion and processing
Always Current
Automated rolling product updates
Always Learning
automated corrective updates
Intelligence and machine learning by default
AEM product line is tending towards…
cloud-native solution
AEM as a cloud service
Next generation of AEM product line with cloud-native solution
Significant increases of scaling and performance while preserving and extending use cases and functionalities
Cloud Manager
Single entry point for operations and devs to create and manage components of AEM as a cloud service
Programs Component in AEM as a cloud service
set of environments that support a logical grouping of customer initiatives
Has exactly one production environment and may have multiple non-production
Environment component in AEM as a cloud service
Can be production/non-production, ex. demos or training
Pipeline component in AEM as a cloud service
self service creation of CI/CD (continuous integration/continuous delivery) pipelines for best practices
Automates unit performance and unit testing
Digital Foundation Blueprint
includes suite of standardized process, automation tooling, and implementation patterns that follow Adobe’s best practices and accelerate the creation of new sites
- Built for Business Value
- Quick Time to Market
- Lower Cost of Ownership
Features of Digital Foundation Blueprint
- Enhanced core components
- New archetype
- Launch Automation
- Minimal Configs
- Pre-baked
- Launch/Analytics/Target Integration
What can exist as the only instance in the Cloud Manager environment?
Production
What two things are part of the publish tier?
Publish & dispatcher
What is a benefit of AEM as a cloud service vs as a managed service?
New features are deployed at regular intervals without having to upgrade
What is part of the Cloud Manager program?
Pipeline
Which of the following is true about AEM as a Cloud Service?
- Can be installed at a customer’s site
- Performs code quality checks
- Allows use of classic UI
- Performs code quality checks
Does unit testing
What is an advantage of using AEM as a Cloud Service?
Environments are provisioned quickly
Asset Microservice
scalable, lightweight, and extensible platform service for processing assets for AEM, runs completely on Adobe I/O runtime
Goal of Asset Microservice
be independent service for transforming assets into the entire spectrum of renditions needed by applications an customers
Asset Microservice allows for…
simple integration of adobe rendering technology and Sensei
Asset Microservice provides
agile and modular dev and deploy experience
Architecture of Asset Microservice
.
Binary Cloud Storage
contains assets/images/videos for faster rendering
helps to keep a bottleneck from occurring
metadata is stored in AEM Cloud Service
Asset Microservice Benefits
direct binary up/downloads for better performance
new microservices for assets processing
enabled for dynamic media (dynamic renditions, viewers, smart cropping)
enable for smart tags by default
optimized versions of desktop app and assets link
What 2 configurations are available by default in AEM Assets as Cloud Service
Smart Tags
Dynamic Media
Where does asset microservices exist?
Adobe I/O runtime
What 2 apps are optimized for AEM Assets Cloud Service?
Desktop App
Asset Link
What can you create to control renditions in Asset Microservices?
Processing Profile
Assets are directly uploaded to…
Binary Cloud Storage
Page versioning allows what in terms of deletion?
You can restore the page after deletion. Deletion after versioning a page can cause deleting a single page to take 0.5-5 seconds.
Page versioning
now optional, but default is yes
AEM Sites
Web Experience Management
AEM Assets
Digital Asset Management
AEM Forms
Digital Forms Management
AEM Screens
Digital Signage
AEM Page
instance of a template where components render the actual content
Templates
define the structure of a page, specify components used within the selected scope
Components
reusable modular units that determine specific functionality to display content on the page
When deconstructing the creative design you should have…
approved creative work, page design, and mark up
Wireframe
the template and components depend on the structure defined in this
Don’t start template identification until these are done
Mark ups
Selector
used for alternate methods of rendering content
Extension
specifies content format
specifies scripts to be used for rendering process
Content path
jcr path that specifies the content to be rendered
suffix
specify additional information
Apache Sling Script Resolution
- HTTP request
- Content Resolution - takes the path to find resource
- Get Resource Type - Sling:resourceType, Sling:resourceSuperType, jcr:primaryType
- Script Locations - /apps (first) /libs (second)
- Script Names - selector/extension
6 Script - Include Options
CRXDE Lite apps folder
- stores all components, scripts, template definitions related to site
- contains source code
- contains APIs to pull components from JCR and assemble them on a page
CRXDE Lite conf folder
stores all configurations for a site, additive templates and policies for a site
CRXDE Lite content folder
contains all content for the site by authors or editors
contains site structure
contains nodes that have a sling:resourceType that points to the structure or page component
CRXDE Lite etc folder
all resources related to tools and utilities, ___ libraries and page designs
CRXDE Lite home folder
information about users and groups
CRXDE Lite lib folder
all library definitions that belong to AEM code
includes out of the box components, templates, any other AEM feature
CRXDE Lite tmp folder
temporary work area
CRXDE Lite var folder
file that changed and updated by the system (ex. audit log, statistics, handling)
CRXDE Lite var/classes folder
java servlets in source and compile forms that have been generated by component scripts
To create templates with initial content, you need to identify…
Unique templates,
Fixed components,
initial content (logo, footer, nav bar)
Deconstructing creative design
Unique templates,
Fixed components,
initial content (logo, footer, nav bar),
reusable components
Why can’t Sling call scripts directly?
This would break the rules of REST strict concept of REST server, mixing of resources and representations
Which is the first folder that AEM looks for scripts
/apps
What 3 things should you consider when you start deconstructing a creative design?
Markups
Page Design
Components
What is the correct step sequence for accessing CRXDE Lite
Tools > General > CRXDE Lite
What is CRXDE Lite?
Is a development environment for AEM projects
Embedded in AEM and enables you to perform standard development tasks in the browser
Static Templates
Designed and configured by developer
Stored under /apps
Uses design mode to persist design properties
Changes to structure will not reflect on pages
Editable Templates
Created and edited by authors
Stored under /conf
Uses content policies to persist design properties
Changes to structure will reflect on pages
Availability of templates can be configured by using properties like (4)…
allowedPath
allowedParents
allowedChildren
allowedTemplates
cq:template
primary node type for templates
Create editable templates
From landing page
Tools > Configuration Browser > Create
put in title and check “editable template”
Check that it was made in Tools > Templates
In CRXDE, conf/(title you chose)
In Tools > Template, select create, pick template type,
Layout container
responsive container which can contain other components
Modes in editable templates: Structure, Initial Content, Layout
- Structure: define structure of the page
- Initial content: define initial content of pages created from that template
- Layout: define all the components
Content policies
define design properties of a component
policies are applicable to the templates and pages created from templates
Enabling an editable template for use
Go to the template > view as admin > check the template > enable
From landing page:
Sites > check the editable template > Properties > Advanced > Template Settings > Add editable Template (“/conf/(name)/settings/wcm/templates/.*”)
Create Page should now be available
What are the benefits of using editable templates?
The retain a dynamic connection to any of the pages created from them
They allow authors to edit and create templates
Changes to structure will reflect on changes made from them
Step sequence to create a static page
Go to CRXDE Lite > go to apps directory > right click on templates > hover on create > click on create template > make edits > click ok > save
Brackets IDE
Open source text editor
Automated sychronization of changed files to the AEM instance
Manual bidirectional synchronization of files and folders
Full content-package sync of the project
HTL code completion for expressions and data-sly blocks
Ending support for Brackets on September 1, 2021
What does the META-INF folder contain?
The package’s filter information
HTL
HTML Template Language
Benefits of HTL over JSP
Simplified Development
Increased security: HTL does automatic escaping
Reduced project costs: reduced by about 25%
HTL Expressions
used to access data structures that provide dynamic elements <h1 class="${component.name}"> ${properties.propName} ${properties["propName2"]} </h1>