




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
AEM 6 developer guide - A complete guide to adobe experience manager 6.x
Typology: Study Guides, Projects, Research
1 / 220
This page cannot be seen from the preview
Don't miss anything!
Student Workbook
Adobe® Experience Manager
Sites: Developer
©2014 Adobe Systems Incorporated. All rights reserved. AEM Sites: Developer If this guide is distributed with software that includes an end user agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe Systems Incorporated. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end user license agreement.
The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commit- ment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide. Please remember that existing artwork or images that you may want to include in your project may be protected under copyright law. The unau- thorized incorporation of such material into your new work could be a violation of the rights of the copyright owner. Please be sure to obtain any permission required from the copyright owner.
Any references to company names in sample templates are for demonstration purposes only and are not intended to refer to any actual organization.
Adobe, Acrobat, Adobe AIR, Adobe Analytics, Adobe Target, AIR, Distiller, Flash, Flash Builder, Flash Catalyst, Flex, Adobe Digital Enterprise Platform, MXML, PostScript, Reader, SiteCatalyst, SearchCenter, Discover, Recommendations, Insight, Test&Target, Report Builder, Survey, Search&Promote, and Social Media are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.
All other trademarks are the property of their respective owners.
Adobe Systems Incorporated, 345 Park Avenue, San Jose, California 95110, USA.
Notice to U.S. Government End Users. The Software and Documentation are “Commercial Items,” as that term is defined at 48 C.F.R. §2.101, consisting of “Commercial Computer Software” and “Commercial Computer Software Documentation,” as such terms are used in 48 C.F.R. §12.212 or 48 C.F.R. §227.7202, as applicable. Consistent with 48 C.F.R. §12.212 or 48 C.F.R. §§227.7202-1 through 227.7202-4, as applicable, the Commercial Computer Software and Commercial Computer Software Documentation are being licensed to U.S. Government end users (a) only as Commercial Items and (b) with only those rights as are granted to all other end users pursuant to the terms and conditions herein. Unpublished- rights reserved under the copyright laws of the United States. Adobe Systems Incorporated, 345 Park Avenue, San Jose, CA 95110-2704, USA. For U.S. Government End Users, Adobe agrees to comply with all applicable equal opportunity laws including, if appropriate, the provisions of Executive Order 11246, as amended, Section 402 of the Vietnam Era Veterans Readjustment Assistance Act of 1974 (38 USC 4212), and Section 503 of the Rehabilitation Act of 1973, as amended, and the regulations at 41 CFR Parts 60-1 through 60-60, 60-250, and 60-741. The affirmative action clause and regulations contained in the preceding sentence shall be incorporated by reference.
ADOBE COPYRIGHT PROTECTED
AEM Sites: Developer Training Student Workbook Chapter 01 | 1-
Getting Started
This chapter provides you with an introduction to AEM. You will learn the following:
Introduction to AEM
Adobe® Experience Manager helps you organize, create, and manage the delivery of creative assets and other content across your digital marketing channels, including web, mobile, email, communities, and video. AEM provides digital marketers with easy-to-use, web-based applications for creating, managing, and delivering personalized online experiences. AEM provides out-of-the-box integration with other Adobe Marketing Cloud solutions.
Following are the major capabilities of AEM:
ADOBE COPYRIGHT PROTECTED
AEM Sites: Developer Training Student Workbook Chapter 01 | 1-
While different instances in different environments are all installations of the same AEM software—installed in different places in the overall system infrastructure—they differ mainly in the way they are configured. For example, it is that configuration, or run mode, that determines whether an AEM instance behaves as an author instance or a publish instance.
What is an Author Instance?
Author instances are usually located behind the internal firewall. This is the environment where you and your colleagues will perform authoring tasks, such as:
Content that has been activated is packaged and placed in the author environment’s replication queue. The replication process then transports that content to the publish environment.
An Author instance is the AEM installation—content authors will login to and manage pages. This includes creating, editing, deleting, moving, etc. In addition, it is the instance run mode, you will use for development, as you can easily observe both Author and Publish views from this mode.
What is a Publish Instance?
A publish environment is usually located in the Demilitarized Zone (DMZ). This is the environment where visitors will access your web site and interact with it, be it public or within your intranet.
ADOBE COPYRIGHT PROTECTED
1-4 | Chapter 01 AEM Sites: Developer Training Student Workbook
Installing AEM
Unlike many other applications, you install AEM by using a Quickstart, self-extracting jar file. When you double-click the jar file for the first time, everything you need is automatically extracted and installed. The AEM quickstart jar file includes all files and repository structures required for:
example:
› Windows : C:/adobe/AEM/author › MacOS X: /Applications/adobe/AEM or *x : /opt/adobe/AEM/author).
newly created folder structure.
NOTE: In production, you may install AEM in any directory structure. However, for the purposes of this class, we recommend the above directory structures so that you can easily find the directory structures mentioned in the course materials.
› cq = the application › author = the WCM mode it will run in (e.g. author or publish) › 4502 = the port it will run in (any available port is acceptable)
ADOBE COPYRIGHT PROTECTED
1-6 | Chapter 01 AEM Sites: Developer Training Student Workbook
Tuning the JVM is a very important and delicate task and requires a more realistic environment in terms of resources (hardware, operating system, etc) and workload (content, requests, etc). For now, it will be sufficient to know that, you can start your instance (either author or publish) using the following parameters:
-Xms --> assigns initial heap size
-XX:MaxPermSize --> assigns the heap to hold reflective data of the VM (e.g.Java objects)
You can now install or start AEM from the command line together with increasing the Java heap and perm gen size, which will improve performance.
ADOBE COPYRIGHT PROTECTED
AEM Sites: Developer Training Student Workbook Chapter 01 | 1-
Once AEM has started successfully, the dialog will change to something similar to the following:
In addition, once the AEM is started, your default browser will automatically open to AEM’s start URL
Use the following command to install AEM, without installing the Geometrixx sites:
java -jar AEM-author-p4502.jar -r author, nosamplecontent
ADOBE COPYRIGHT PROTECTED
AEM Sites: Developer Training Student Workbook Chapter 01 | 1-
user: admin password: admin
You can see the projects by default. The Sites section displays various sites you have created.
The AEM User Interfaces
Following are the important user interfaces that you need to be familiar with:
ADOBE COPYRIGHT PROTECTED
1-10 | Chapter 01 AEM Sites: Developer Training Student Workbook
Authoring in AEM
AEM provides you with following distinct user experiences while editing your web content:
You can use the UI based on your choice. Note that the Touch-Optimized UI works on a Desktop too. At any point of time, you can switch from Classic UI to Touch-Optimized UI.
The classic UI and administrative interfaces use AJAX to enable a desktop-like user experience. For example, when editing content on a website, authors can drag and drop elements like text paragraph and images right onto the page, and immediately see how their changes affect the appearance of the page.
By default, when you open a page, it appears in the Touch-Optimized UI.
http://localhost:4502/siteadmin
ADOBE COPYRIGHT PROTECTED
1-12 | Chapter 01 AEM Sites: Developer Training Student Workbook
Note that the Edit dialog appears. You can update various properties of the image in the dialog. Click the check mark (or the X icon) to close the window.
ADOBE COPYRIGHT PROTECTED
AEM Sites: Developer Training Student Workbook Chapter 01 | 1-
The Assets tab appears in the screen as shown below:
The Component tab appears with available components.
ADOBE COPYRIGHT PROTECTED