Posts

Improving performance of single page application or front end web application

Now a days, most of the people are using single page application. Before I mention performance testing of single page application, I should mention what is single page application and why it is getting popular. Single Page Application (known as SPA) - As it is clear from the name, single page application contains primarily one main html page and rest of the pages are different views in addition to the main html page. User will not see any change in the url once main page is loaded. They can click on different features and only some portion of the main page will be reloaded thus providing good user experience. Why single page application is getting popular - There are many reasons but some of the main reasons are - Entire page is loaded only once at client end and will be served from client side thus performance will be fast HTML/CSS/JS can be cached on first load and network call(except fetching dynamic data) will not be required to load static assets. User will not observe p...

What's new in AEM 6.0

Below are the changes introduced in Adobe Experience Manager(AEM) 6.0 1.Sightly HTML template system introduced in place of jsp.Primary objective of Sightly is - Sightly template is based on HTML5 thus allowing designer to focus on design related part and not to  aware of CQ knowledge. - Secure by preventing cross site scripting attacks - Seperation of concerns(presentation logic with business logic). 2.New foundation components 3.New developer mode in AEM 6 4.Architecture changes - Mongo DB(Mongo MK) introduced in AEM 6 - Persistence has been rewritten. Jackrabbit 3(Oak) repository has been integrated with AEM 6. Instead of persistence manager,  Micro Kernels(MK) like TarMK and MongoMK has been added. 5.Data Store Connector for S3 has been included in AEM 6. Now you can store data in cloud without hosting instance on cloud. 6.Eclipse Jetty has been introduced in place of CQ Servlet Engine. 7.HTML5,CSS,JQuery based Coral UI has replaced ExtJS based side k...

Digital Marketing Concepts

Image
This is a snapshot of what is digital marketing and its components. Digital Marketing  In simplistic terms, digital marketing is the promotion of products or brands via one or more forms of electronic media. Digital marketing differs from traditional marketing in that it involves the use of channels and methods that enable an organization to analyze marketing campaigns and understand what is working and what isn’t – typically in real time. While the Internet is perhaps the channel most closely associated with digital marketing, others include wireless text messaging, mobile instant messaging, mobile apps, podcasts, electronic billboards, digital television and radio channels, etc. Below are the high-level activities and sub activities required for digital marketing. 1. Get site online The first major step is to get your site designed and developed either by your in-house team or out-sourcing to some third party. A good website attracts target audience and builds t...

How to change CRX password?

Image
a)   Open CRX explorer through http://localhost:4502/crx/explorer/index.jsp b)       Click on User Administration and Users à a à admin c)       Admin properties window will be opened on click of admin d)       Click on Change Password to change the password. Enter old password and new passwords. You should get a confirmation message that password has been changed successfully. 

CQ - How to change admin password?

a)       Open admin console( http://localhost:4502/projects.html ) by logging in through admin/admin b)       Click on Tools link and Users (Manage your users) link c)       User Management window is opened. Click on Administrator or other user for which password needs to be changed. d)       Click on Change Password link to change the password. Click on sign out coming on and login with new password.

CQ - What is OSGi bundle?

OSGi bundle(jar + metadata information present in META-INF/MANIFEST.MF) is collection of components which interact through service interfaces. These services are built using OSGi API and deployed in OSGi container (Apache Felix in case of CQ).  Advantages of OSGi is ·          Different modules can be installed/uninstalled/start/stop any time without restarting the server/container. ·          Different version of same module can be used in the same application which is not possible using java. System bundle is the first bundle loaded in Apache Felix (OSGi console). It is similar to bootstrap classloader in java. Bundle can be uploaded into Felix(OSGi container) through two ways a)       CQ web console b)       Putting the bundle file in install folder in jcr

CQ - How to set reverse replication from publisher to author instance

There are some forms (comments/discussions, contact us etc.) on the features which allows user to enter their input on the publisher instance. That data should be replicated back to author instance. It is called as reverse replication. Below are steps for reverse replication. a)       Open tools console and double click on Replication Agents on Author Reverse Replication Agent. Please note that it needs to be done on Author and not on publisher. b)       Double click on Reverse Replication Agent to edit its configuration. c)       Click on Transport tab to change the port to publisher port (4503 in our case) and click on OK.  d)       Now publish any comment on publisher page and it should get replicated to author instance also .e.g. post a comment on http://localhost:4503/content/geometrixx-outdoors/en/community/hiking/journal/2012/12/best_gps_for_hik...