Wednesday, June 14, 2017

Install JDK related to the AEM

we have to install JDK.(we have to download the latest JDK).
we have to install JRE.
Inorder to run .jar file we need to have Java.

when we double click on the jar file cq5-author-p4504.jar
we get the crx-quickstart folder > logs > in that we have the error log files and other log related information.
we have another folder > opt > where we can do the firewall and all the configuration.
we have another folder > conf > quickstart.properties  &  sling.properties 
 the above all mentioned will come under the admin part of the thing.
The most important one is logs.
——————————————————————————————————————————————————
when we  use the author instance >>  click on the jar file and the author instance get started.
when the instance is open the username and password is admin & admin.

The first button in the server is Project :Project is nothing but grouping of your work, that is title+workflows+teams
is called project.
the second button is sites:this is the important button,where you have the sites converting in to the pages.
like create page, create catelog and authors can able to update the sites in to the contents.
the another button is the assets: you will all the images, videos and in some places they called it as DAM (Digital asset management).
(you can able to manage the digital assests like uploading and downloading the assets).
APPS:if you want to do a mobile app you can do that.
Publications:it is a book type of publications.
Forms:Forms means adobe forms where you have a form based applications you can do through forms.
Screens: if you go to any mall, where the image is changed for that you can able to manage through the screen .
commerce :it means like e-commerce. like for shopping.
——————————————————————————————————————————————————————
On the webpage the content can be updated by the Business team (Business authors)  with out the help of the developer that is product related editing of the components this is what is CMS functionality.
when we do this, where is the content is saving,
what is the data layer in AEM,that is JCR (Java content repository).which is CRX.
Note:How can you quickly find the data, where it is saving ,here we have the developer mode on the right side when you click the edit button.Once if you go to the developer mode and click on the part you want to find the content where it is saved,it redirects directly in to the CRX.this is the where the content is saving.
Actually we will be having the JSP,where we have to do the script changing.in the newer versions we have the html which is much clear in the content creating using the script.
—————————————————————————————————————————————————————
Developer work:
My requirement is one image, one heading and one button:
for that we need to drag the component: 
when you click on the components:
we need to go to image text
drag to the page/if you click on that it will ask for the image and text,that is image format and text format.
basically the dialog is to capture the content from the business and  the script is to render the capture content on the web page.
Aim:You have to develop this component and the script to render that.
—————————————————————————————————————————————
What is meant by CRXDE Lite?
This is  a kind of  a developer tool, we use eclipse and bracket also.
WE USE TOUCH UI AND CLASSIC UI FOR THE BUSINESS PURPOSE RIGHT.
CRXDE LITE is used mostly for the Java content repository (JCR) and the other JSP’s.
—————————————————————————————————————————————
what are the tools available for the Developer and admin?/What are the consoles available in the AEM?
You can go to button TOOLS>CRXDE LITE(this is where the development activities is taking place).
you can go to webconsole (we can see the OSGI bundles configurations)is done through this console.
———————————————————————————————————————————————————
CREATE A PACKAGE AND UPLOAD A PACKAGE:
First you have to go to CRXDE LITE then you have to select the package manager in the top title bar:the beauty of this ,the entire code installations for example I developed some code and I want to share with you.we can able to share using the package manager.I can Zip and I can give the Zip to you, you can just install it.

For example:you get a requirement regarding the  page, you see similar functionality  in the google when you searched it, you install that package in to your local system and go to package manage you can see the option called upload package then the required package from your local system is uploaded.Once the package is uploaded we have to install the package  in the package manager ,just click on the particular package.That particular code is installed on the instance.This is the way you installed the code.

Note:There is a curl command also to do this .that is uploading the package.

You can check that ,whether it was uploaded the package successfully or not.Go to the CRXDE LITE and you can check the packages.

If you want to see that package functionality in the web page:
localhost:4504/editor.html/content/geometrixx/en/products.html  

then click on the Design mode on the right of the page:
1)Click on the bottom of the page:Drag components  here > click on that .

After that click on edit dialog button (like setting button it looks),then search for the experience AEM and we can find the AEM TOUCH UI FOR THE MULTI SITE.

we can find that, select the item and if you go and search in the component search before that you have to set the page to EDIT MODE and we can find the package and we can drag use that.

—————————————————————————————————————————————————
How to create a package??
Goto package manager > create a package  and create a new package give the package name, version and Group.
Once that is created.
click Edit on the package:
select whatever the package you want to get.
then once the editing is finished, you can save it and run the build on that, once the build is done we can either share it or download it.
——————————————————————————————————————————————————————
  we can get some additional functionality :
we can get the max stuff regarding the package.

——————————————————————————————————————————————————

No comments:

Post a Comment