Menu

Rapid Development Environment (RDE) in AEM as a Cloud Service

Rapid Development Environment (RDE) in AEM as a Cloud Service is a new environment that you could include in your dev or prod instance on demand for quick deployment, this helps the AEM developers to quickly deploy the changes from local machine build just like we are doing package and bundle install using package manager.
Since AEM as CS package manage doesn't allow to deploy the code changes due to immutability of the system, but AEM as CS package manager allow to upload and install the content packages that includes paths like /content, /etc. 
Here, instead of using package manager for deployment RDE is using AppBuilder and pushing the locally build zip, jar files in AEM as CS RDE instance. Below are the detail about the Rapid Development Environment in AEM as CS development environment setup and uses of it.

How to setup Rapid Development Environment in AEM as CS?

1. First we need to enable the RDE instance for that you have to contact Adobe CSE/Support to get that enable under your license.
2. We need to install node and adobe cli to make the development setup and running in local machine.  
To enable and setup follow the steps given here: How to set up Rapid Development Environment | Adobe Experience Manager

How to use Rapid Development Environment in AEM as CS?

Using Rapid Development Environment is easy using adobe cli, for every task we have to just run one liner command on cli. To learn more and see the steps and action that is possible with RDE please follow the steps given in this document; How to use Rapid Development Environment | Adobe Experience Manager

Rapid Development Environment is going to make the developer life easy and this could be use by a developer at a time. Multiple developers could also use but that required very frequent sync between developers code. The biggest advantage of rapid development environment is that; we now use a full AEM as cloud service instance as a local. Where one can make the changes and deploy the code on cloud service without commit, and running the cloud manager CICD pipeline which taking approximately 40 minutes to make our code live on any AEM CS instance. 

References

10 most beautiful buildings around world

Here are 10 buildings around the world that are widely regarded as beautiful:
  1. Taj Mahal, India
  2. Sydney Opera House, Australia
  3. Sagrada Familia, Spain
  4. Eiffel Tower, France
  5. St. Basil's Cathedral, Russia
  6. Burj Khalifa, UAE
  7. Guggenheim Museum, USA
  8. Neuschwanstein Castle, Germany
  9. Petra, Jordan
  10. The Parthenon, Greece

1. Taj Mahal, India

Taj Mahal, Agra, India

2. Sydney Opera House, Australia

Sydney (AU), Opera House -- 2019 -- 2280

3. Sagrada Familia, Spain

4. Eiffel Tower, France

5. St. Basil's Cathedral, Russia


Храм Василия Блаженного №2
6. Burj Khalifa, UAE

7. Great Pyramids of Giza, Egypt

8. Neuschwanstein Castle, Germany

9. Petra, Jordan

10. The Parthenon, Greece

How to create an experience fragment in AEM?

Below are the steps to create an Experience Fragment (XF) in AEM:
  1. Open AEM and navigate to the Assets console.
  2. Click on the Experience Fragments folder on the left side of the console.
  3. Click on the "Create" button at the top of the console and select "Experience Fragment" from the dropdown menu.
  4. Fill in the required fields in the "Create Experience Fragment" dialog box, including the XF's name, title, and description. You can also select a thumbnail image to represent the XF.
  5. Click on the "Create" button to create the XF.
  6. Once the XF has been created, you can begin authoring it by clicking on the "Open" button next to its name in the Assets console.
  7. The authoring mode for an XF is similar to the standard AEM authoring environment. You can add components and content to the XF, as well as define variations that can be used to tailor the XF for different audiences or use cases.
  8. Once you have finished authoring the XF, you can publish it to make it available for use in your AEM sites. To publish the XF, select it in the Assets console and click on the "Publish" button at the top of the console. You can choose to publish the XF as a draft or a final version, and select the channels or audiences that should have access to it.
  9. After the XF has been published, you can use it in your AEM sites by adding it as a component to a page or template. When the page or template is rendered, the XF will be displayed with its defined content and variations.

Write a file in Node | NodeJS tutorial

In Node using FileSystems, developer can perform the various file operations, create file, add content into file, delete file.

First import the FileSystems fs using the below node code

const fs = require('fs')


Then, using the Node FIleSystems object fs we could perform the form operations. Liek below.

fs.writeFileSync('notes.txt', 'This file is created by NodeJS application. ')


writeFileSync will create and write the first data into the file. writeFileSynch method have two parameters, first file name and second data.


Next if we want to add or append data into an existing file then use appendFileSync method. Like Below.

fs.appendFileSync('notes.txt', 'DO NOT DELETE THIS FILE')


Hope this help you to understand the basic of file systems in NodeJS.

Failed to construct 'Text': Please use the 'new' operator

Failed to construct 'Text': Please use the 'new' operator, this DOM object constructor cannot be called as a function.

Resolution

We did not import anything Text in the React Component. Hence, component is fail to understand this. Import the Text from the source.

e.g. import { Text } from 'ReactFile.js'

React.createElement: type is invalid -- expected a string

React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

If you are seeing this error that means you are using any element that is either not imported or not getting resolved in your render.

Resolution 1

Check the elements that are being use and their import.

Resolution 2

Change the return statement and try to return without function sign. refere Stackoverflow | React.createElement: type is invalid -- expected a string


Hope this help you to resolve the error.

How to clean node or npm cache?

Using the command cache clean we could clear the node cache. 

npm cache clean --force

Best Hotels in New Delhi, India | India Travel Guide

New Delhi is capital city of India and one of the largest city of India. We have listed the some best, luxary and 5 stars rating hotels in New Delhi, India, along with their star rating, price per night, food options, location, and popular booking websites. You may choose and book your hotels in New Delhi using their direct website links.

1. The Taj Mahal Hotel

   - Star Rating: 5 stars

   - Price per Night: Starts from $200

   - Food: Offers a range of restaurants serving Indian and international cuisines.

   - Location: Mansingh Road, New Delhi.

   - Booking Website: www.tajhotels.com


2. The Leela Palace New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $250

   - Food: Provides multiple dining options including Indian, Italian, and Asian cuisine.

   - Location: Diplomatic Enclave, Chanakyapuri, New Delhi.

   - Booking Website: www.theleela.com


3. ITC Maurya, a Luxury Collection Hotel

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Offers a variety of restaurants serving Indian, Chinese, and European cuisines.

   - Location: Diplomatic Enclave, Sardar Patel Marg, New Delhi.

   - Booking Website: www.marriott.com


4. The Oberoi, New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $300

   - Food: Features multiple dining options including Indian, Chinese, and international cuisines.

   - Location: Dr. Zakir Hussain Marg, New Delhi.

   - Booking Website: www.oberoihotels.com


5. The Imperial

   - Star Rating: 5 stars

   - Price per Night: Starts from $250

   - Food: Offers a range of dining options including Indian, Italian, and European cuisines.

   - Location: Janpath, Connaught Place, New Delhi.

   - Booking Website: www.theimperialindia.com


6. Hyatt Regency Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $120

   - Food: Provides multiple restaurants offering Indian, Chinese, and international cuisines.

   - Location: Bhikaji Cama Place, Ring Road, New Delhi.

   - Booking Website: www.hyatt.com


7. Shangri-La's - Eros Hotel, New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $180

   - Food: Features various dining options including Indian, Chinese, and Italian cuisines.

   - Location: Janpath, Connaught Place, New Delhi.

   - Booking Website: www.shangri-la.com


8. The Claridges New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Offers a selection of restaurants serving Indian, European, and Mediterranean cuisines.

   - Location: Aurangzeb Road, New Delhi.

   - Booking Website: www.claridges.com


9. ITC Maurya, Luxury Collection Hotel (Chanakyapuri)

   - Star Rating: 5 stars

   - Price per Night: Starts from $200

   - Food: Offers a variety of dining options including Indian, Chinese, and Italian cuisines.

   - Location: Chanakyapuri, New Delhi.

   - Booking Website: www.itchotels.com


10. The Lodhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $300

   - Food: Features a range of dining experiences including Indian, Mediterranean, and Thai cuisines.

   - Location: Lodhi Road, New Delhi.

   - Booking Website: www.thelodhi.com

The list of 5 stars Hotels in New Delhi not just end here, we have some more luxary and wonderful hotels in New Delhi.

11. Taj Palace, New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $200

   - Food: Provides a variety of dining options with Indian, Chinese, and Mediterranean cuisines.

   - Location: Sardar Patel Marg, Diplomatic Enclave, New Delhi.

   - Booking Website: www.tajhotels.com


12. Le Meridien New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Offers multiple dining venues including Indian, Italian, and pan-Asian cuisines.

   - Location: Windsor Place, Janpath, New Delhi.

   - Booking Website: www.marriott.com


13. The Lalit New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $130

   - Food: Features a variety of dining options serving Indian, Mediterranean, and Pan-Asian cuisines.

   - Location: Barakhamba Avenue, Connaught Place, New Delhi.

   - Booking Website: www.thelalit.com


14. Roseate House New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $120

   - Food: Offers a selection of restaurants serving Indian, European, and Asian cuisines.

   - Location: Aerocity, Indira Gandhi International Airport, New Delhi.

   - Booking Website: www.roseatehotels.com


15. Andaz Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Provides diverse dining options including Indian, European, and Chinese cuisines.

   - Location: Asset No.1, Aerocity, New Delhi.

   - Booking Website: www.hyatt.com


16. JW Marriott Hotel New Delhi Aerocity

   - Star Rating: 5 stars

   - Price per Night: Starts from $150

   - Food: Offers a variety of dining options including Indian, Japanese, and Mediterranean cuisines.

   - Location: Asset Area 4 - Hospitality District, Delhi Aerocity, New Delhi.

   - Booking Website: www.marriott.com


17. The Oberoi, Gurgaon

   - Star Rating: 5 stars

   - Price per Night: Starts from $350

   - Food: Provides a range of dining options with Indian, Chinese, and international cuisines.

   - Location: Udyog Vihar, Phase 5, Gurgaon (Delhi NCR).

   - Booking Website: www.oberoihotels.com


18. The Roseate New Delhi

   - Star Rating: 5 stars

   - Price per Night: Starts from $200

   - Food: Features multiple dining options serving Indian, European, and Asian cuisines.

   - Location: Samalkha, NH-8, New Delhi.

   - Booking Website: www.roseatehotels.com


19. The Ashok, Chanakyapuri

   - Star Rating: 5 stars

   - Price per Night: Starts from $100

   - Food: Offers a variety of dining experiences including Indian, Chinese, and Mediterranean cuisines.

   - Location: Diplomatic Enclave, Chanakyapuri, New Delhi.

   - Booking Website: www.theashok.com


20. Eros Hotel New Delhi, Nehru Place

   - Star Rating: 5 stars

   - Price per Night: Starts from $120

   - Food: Provides multiple dining venues serving Indian, Chinese, and Mediterranean cuisines.

   - Location: Nehru Place, New Delhi.

   - Booking Website: www.eroshotels.co.in


Please note that the prices mentioned are approximate starting prices and can vary depending on the season and availability. It is advisable to check with the hotels directly or visit their official websites for accurate pricing and to explore any special offers or packages they may have.

AppBuilder action

Could we use AppBuilder action from different AppBuilder application or service?

Adobe AppBuilder action in Adobe I/O runtime namespace is internal only, and could be use within the namespace until we expose them as a web-action. Once an Adobe I/O runtime action become web-action then, other users could use that from outside the namespaces just like an web service or internal action. 

How to install older version of Node.JS and NPM

To install the older version of node.js use the below command. You could find the Node.js version here. https://nodejs.org/en/blog/release/

npm install -g node@14.19.0


To install the older version on npm in your machine use the below npm install command with specified version number. 

npm install -g npm@4.0.0