Day CMS: Architecture Stack

Adobe’s Day CQ5 is based on below underlying technologies including: Apache Sling – web application framework for content-centric applications, using a JavaContent Repository, such as Apache Jackrabbit or CRX. It is based on REST principles to provide easy development of content-oriented applications. OSGi (Apache Felix) – an application framework & dynamic module system for Java …

Windows – Directory structure treeview

Representing a directory structure recursively in treeview form is very useful as it helps in understanding the environmental setup in a better way. There are tools that can do it for you but here is a simple but very impressive MS-DOS command “TREE” that can do this for you. Its available in all version of …

Get Absolute URL – Web Application

Getting fully qualified absolute path of ASP.NET application is always tricky and problem arises when code moves across various platform. Hard coding the Application Path is no where a good solution here. The URL syntax is:

Two solutions that you can look for in such scenarios: 1. Add an entry in your web.config file …

Upload Binary data as HTTP POST

Below is the ASP.NET C# implementation of Uploading binary data like images as POST request to target URL:

The binary data so posted can be retrieved on target post URL using below code:

This scenario is very handy specifically in establishing communication between two different web technologies. For example: You can POST image …

Reverse Data Synchronization

Synchronization of data from Production to Development environment is merely a task of taking backup of Production DB, restoring it to Development environment and running to cleanup scripts to hide/overwrite user-specific critical information. This is pretty straight forward and does not even require domain knowledge. However, reverse is tricky, risky & surely need good insight …