Wednesday, 19 October 2016

                                                        AEM
-------------------------------------------------------------
AEM:
-Creating, managing and handling the web page components

Installation:
------------------
1.AEM-author-4502.jar
2.cq-quickstart(by double clicking on jar)
3.liscence.properties

Development:
-------------
-CRXDE eclipse was introduced by AEM But not preferable for bulk projects
-crd/de web-browser based development is suitable for light weight apps
-Eclipse with Maven is most suitable option to do devlopment with the support of java and jsp , pom.xml

 -Tool: FileVault: for importing/exporting content to and from AEm's content repository
 

Running the AEM:
------------------
Just click on  AEM-author-4502.jar will open adobe site with 4502 localhost
login with admin/admin

urls:
--------------------------
defualt username/pssowrd: admin

localhost:4502/

DB
----
-Aem doesn't use RDBMS it uses Content Repository
-Apache Jackrabbit (Oak) is a Content Repository
-Supports Mongo DB
-Interoperable with Jsp or Sightly(replacing jsp)



AEM MODES: Author and publish modes
------------------------------------
Author mode:(http:localhost:4502)
----------------------------------------
-Designing web pages, content creation,editing and publishing
-system administration
-Resides as a firewall in the network
-
publish mode:(http:localhost:4503)
---------------------------------------
-End users can able to see the pages published by author
-sotres the end uses written info like comments
-Dmz zone (Demilitarized zone) or publishers zone

AEM- Key components
--------------------
WCM : webCM - Admin related
DAM : Digital AudioM - docs, content,
Social Collaboration :- fb, wApp
Mobile
Marketing
Scene 7 Intergration

AEM UI'Scene
------------
1.Classic UI: desktop devices
2.Touch Optimized UI: touch devices, mobiles..etc

welcome Page: http://localhost:4502/welcome
Sites: http://localhost:4502/sites
        http://localhost:4502/siteadmin

 in components properties(ResourceSuperType: wcm/foundation/components/page):
 sling:returnSuperType String
 /foundation/components/page or wcm/foundation/components/page


 Directories which we need to involve:
 ---------------------------------------
 /apps- which code resides in this folder
 /content- web based contennt, design content, developed code will goes to content folder
 /home- User and Group Info.


 -/apps
      -/components
       -pages(jsp's which are coded for UI)
-content
-other folders(drag and drop components)
 -/install(osgi bundles)
 -/src (osgi src code)
 -/templates

Eclipse-Maven with Aem
------------------------
c:users/naveen/.m2/settings.xml (These are the plug-in settings we need to copy and paste into .m2 folder)
-We hv to give <localrepository> as m2-repo maven zip extracted file (if there is no firewall restriction go ahead with the central repository location)
-Setting path env-variables:
user variables:
 JAVA-HOME: /jdk_1.6 jdk folder
 MAVEN_HOME:  /apache-maven folder

 Edit the path as:
     append at the end: ;%MAVEN_HOME%\bin;

check maven installed or not at cmd propmt: >mvn -version
-most commonly used archie_type for AEM is multimodule-content-package-archetype


FileVault:
------------
-cmd line tool to check-in/check-out from Content Repository
-usually required with Eclipse-Maven
-comes along with AEM jar file: \crx-quickstart\opt\filevault
-extract this filevault zip then we can set env-variables ./filevault/bin(after extracting copy upto bin then set