Node.jsTechnologyTesting

Custom matcher for testing with Jasmine

Jasmine is a behavior-driven development framework for testing JavaScript code. Many Jasmine users only use the default set of matchers which are extremely powerful, yet are unable to meet our requirements when dealing with complicated or custom code. Jasmine provides a wide list of built-in matchers: Arrays: [javascript] expect(array).toBeArray(); expect(array).toBeArrayOfNumbers(); expect(array).toBeEmptyArray();[/javascript] Booleans: [javascript] expect(boolean).toBeBoolean(); expect(boolean).toBeFalse(); […]

Technology

Sass : Nesting selectors and properties

Sass is a well known framework of CSS. It’s an efficient and reliable tool, which gives us great power to write CSS in precise way. Sometimes we (Front-end Developers) all wonder that we wouldn’t be able to enjoy writing CSS. However, as soon as Sass came in our life, we discovered this was the way […]

Technology

Full Text Search in AEM using Query Builder

The full-text field search allows you to look for a field anywhere in a webpage, be it the title, content, or the url of a webpage. A full-text search shall match whole words. For example, a full-text search on comments that contains “perform search” or “text search” or “text” will return a comment that contains […]

Technology

Snapdeal vs Flipkart: Anatomy of an Ambush Marketing Campaign

Flipkart had come up with its campaign #achhakiya for which it ran a series of advertisements on TV and had also filled most of the leading newspapers with this ad campaign. It also ran a hashtag campaign #achhakiya on Twitter. The messaging used in the campaign was that even after narrowing down on a product, […]

Technology

How to resolve 3 major challenges of multi-channel content distribution?

‘Anytime, anywhere’ is the power given to viewers by the rise of technological sophistications in digital video management.  As the options of watching videos are plenty with many number of platforms mushrooming every day, the content owners behind the screen find it more complex to meet the requirements for distributing videos in all those channels. […]

AngularJSNode.jsTechnology

NodeSchool – Delhi NCR, 2015

And we returned with yet another successful NodeSchool event which was bigger than the last one. NodeSchool-Delhi NCR was conducted on July 4, 2015 at TO THE NEW Digital office. This community event basically got its inspiration from NodeSchool – an open source project run by people in order to enable others to organize more community driven […]

AWSTechnology

Route 53: Setting up Private Hosted Zones (PHZ)

It’s been a while since Amazon extended its Route53 service by adding a new feature called Private Hosted Zone which works within VPC. We recently started exploring it and thought of sharing our learning through this blog. Introduction: This feature enables us to route the traffic between various resources present inside a VPC using custom […]

GrailsTechnology

Migrating stored procedures with Grails Database Migration Plugin

Stored procedures are often preferred over writing long inline queries for getting reports from database. But they tend to change constantly depending on the business logic. The database migration plugin handles the changes in domain structure effectively but too bad the default management of changes in stored procedures is not as effective. We can manage […]

AngularJSFront End DevelopmentTechnology

Manually Bootstrapping an AngularJS Application

We always need some mechanism to control our front-end application at the time when we bootstrap it. Getting some customization done before kicking in the angular on the front end, can be a desired use case for some of the Angular Applications. It is mainly needed when we have to redirect to an Angular application […]