AngularJS, Front End Development

Comparison between Angular and Polymer

Angular :-  Angular is a robust application level js framework based on MVC pattern, facilitate you to extend HTML's syntax to express application's components clearly. Angular's bi-directional data binding and dependency injection reduce code complexity and development time. Polymer :- Polymer is a lightweight js library used to build...

by Anil Joshi
Tag: javascript
06-Apr-2016

AngularJS, Node.js

How to Internationalize your website in 10 minutes

Okay so let me come straight to the point that all of us need to provide multi-language support with our websites at some point of time. In such a competitive time, if we can find a short and effective way to do it without getting into much complexity then we are definitely one step ahead of others. So less of talking now and I will...

by Sakshi Tyagi
Tag: javascript
18-Mar-2016

Automation Testing, Technology

Javascript to groovy objects in GEB functional test cases

Use Case While writing functional tests sometimes we need to test whether a certain javascript objects have some particular values. If we have a JavaScript object such as in our page [code] var myObj = { attr1 : 'attr1-val', attr2 : 'attr2-val'}; [/code] then after reaching that page we can execute the below in our GEB spec...

by Aseem Bansal
Tag: javascript
02-Dec-2015

AngularJS, Front End Development

Angular + SEO

There's a phase in every project when development reaches its completion and next step is to make it search engine friendly. When I had to do this task in my project, at that time I was a little bit confident that this is a very simple task and we just need to set meta tags and some other html tags so that google can crawl easily. But...

by Rubi Saini
Tag: javascript
05-Oct-2015

AngularJS, Grails

Testing promises with Jasmine

We have been using Jasmine to test our angular code. Recently I came across a piece of code in Javascript which included a REST API call and returned a promise. The promise then had a success callback and all the rest of the play. So in this blog, I have tried to illustrate how to test a promise. Here I have a function which returns a...

by Komal Jain
Tag: javascript
03-Aug-2015

Technology

Getting familiar with Sitemaps

About Sitemap Sitemap is an XML file that include URLs of a website and their basic information like last updated, how often it changes and how much important it is as compared to other URLs by giving its priority. Purpose of Sitemap The information listed in Sitemap.xml file is used by the search engines to decide efficiently which...

by Rishabh Dixit
Tag: javascript
30-Jul-2015

Technology

Routing in ReactJS

React-Router In this blog we will talk about react-router. Routing is a dire need in SPA(Single page applications), in which we load partial content without asking the server for a complete webpage. React is no different in terms of loading only what is required. Routing programmatically presents specific content to users based on the...

by Dhiraj Sharma
Tag: javascript
27-Jul-2015

Node.js, Technology

JSChannel Conference 2015: Summarizing the thoughts

Javascript ninjas from TO THE NEW Digital travelled all the way to Bengaluru for JSChannel Conference 2015. DAY 1   The weather was perfect to start the first day of the conference. There were renowned Javascript aficionados present from all around the world. The day was kicked off with the keynote by Douglas Crockford(Author...

by Sakshi Tyagi
Tag: javascript
22-Jul-2015

Node.js

Sharing content using META tags

Meta Tags Meta tags in HTML documents provide metadata/information about a web page, or the content it contains. They must be declared within head section of the web page only. They are used to specify page description, keywords (for search purposes), author information or any other metadata giving additional information about the...

by Rishabh Dixit
Tag: javascript
20-Jul-2015

Node.js, Technology

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] ...

by Mohit Tyagi
Tag: javascript
08-Jul-2015

AngularJS, Node.js

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...

by Sakshi Tyagi
Tag: javascript
07-Jul-2015

AngularJS, Front End Development

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 from some other social...

by Vibhor Kukreja
Tag: javascript
02-Jul-2015