Are you new to JavaScript?

JavaScript is a prototype-based scripting language with dynamic typing and has first-class functions. This mix of features makes it a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles. It can be used to enhance the dynamics and interactive features of your web page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more. However, it  is considered to be the world’s most misunderstood programming language.

To help you with learning JS, we asked 15 experts to share their tips on the art of JavaScript programming: Read the rest of this entry »

Every day, more than two billion people in more than 190 countries use products made by Unilever. With long-established brand names like Dove, Sunlight and Pond’s in its kitty, Unilever’s range of consumer products and brands is as diverse as its worldwide consumer base.

Unilever logo

In 2010, the company set itself the target of doubling its revenues in a decade or less – without doubling its costs. According to Greg Swimer, Vice President for Business Intelligence at Unilever, information management was to play a crucial role in achieving this goal. To help its employees make better decisions, the company sought to embed data into its business processes and make effective use of data visualization and analytics.
Read the rest of this entry »

In 2010 when Greenpeace posted a viral video highlighting Nestlé’s use of palm oil produced from unsustainable practices which destroy the major habitats of orangutans, it did what any brand in panic mode do. It forcefully tried removing the video. A severe back lash and protests from all social media communities followed. Nestlé had learnt its most important social media lesson, although the difficult way―open engagement is critical when it comes to social media.

It embraced a new social media strategy based on principles of open engagement and developed a new framework using data and insights gained from social media activities on various platforms. The insights garnered from this framework were to guide Nestlé in all its future campaigns and help build its reputation.

Nestle Digital Acceleration Team

Under the leadership of Pete Blackshaw, Global Head, Digital Marketing and Social Media, Nestlé created the Digital Acceleration Team (DAT), a digital leadership training program for digital marketing projects at Nestlé. The 12 members of each class are available to work on short-term projects that Nestlé units apply for. Then they return to their units, bringing with them what Blackshaw calls “digital vitamins” — a supplemental expertise that can be used to assist digital transformation in the graduate’s home unit. Read the rest of this entry »

In the first part of this article we talked about the questions you need to ask before choosing a JavaScript framework. Once we have decided on the need for a framework, we saw how aspects like features of the framework, difficulty-level in learning, external dependencies and the level of community support guide our choice.

In this second and concluding part we are going to compare the three most popular JS frameworks namely AngularJS, Backbone.js and Ember.js.

AngularJS Backbone and Ember JavaScript Frameworks

The 5 parameters on which we will evaluate the three frameworks include:

  • Size
  • Getting started
  • Developer productivity
  • Community support and popularity
  • Users

A quick glimpse into each of the three frameworks and what they do:

AngularJS

Who: Developed by Google; used internally by them and MIT licensed.

What: Angular follows the MVC pattern of software engineering and encourages loose coupling between presentation, data, and logic components. Using dependency injection, Angular brings traditional server-side services, such as view-dependent controllers, to client-side web applications.

Read the rest of this entry »

The JavaScript Developer is a series of interviews with JS developers where they share their stories, inspirations and life lessons. This is the fifth and the concluding part of the series.

Cathy Lill

Cathy Lill is a front end developer and JavaScript specialist, currently working at NICTA on an open source WebRTC framework called rtc.io. Prior to joining NICTA, she worked on the Canvas template builder at Campaign Monitor.

Over the years, she has taught JavaScript, HTML and CSS development with community organizations like Girl Develop It and has given talks at SydJS, Web Directions Respond, Sydney Web Apps Group and Girl Geek Dinners. She is passionate about encouraging and mentoring aspiring developers to create cool stuff on the web.

Here are the excerpts from the interview:

Read the rest of this entry »

AngularJS Backbone and Ember JavaScript Frameworks

A software framework is used to make the process of application development faster since it contains considerable housekeeping and utility code in order to help bootstrap your application. Frameworks also make it easier to produce cross-browser compatible JavaScript code. For eg: if you are building a web application targeting multiple form-factors, you can use a framework to manage the presentation on different screen sizes instead of writing the code from scratch for doing this.

However, critics point out two major disadvantages of using frameworks. One, they bloat up your code thereby adding to the size of your application. And two, there is a learning curve involved. So the expected reduction in development time may not be achieved if your developers are not familiar with the chosen framework.

Once a framework is learned, its benefits however outshine the weaknesses. Mostly open source (there are some exceptions though), these frameworks have a thriving community behind them who have used, tested, reviewed and contributed to them. So you get more done in less time and you benefit from the expertise of others. [Related read: 6 Reasons To Use JavaScript Libraries & Frameworks]

The choice of the right JavaScript framework is a tricky affair and it depends on the kind of application you are building. In the first part of this article, we help you figure out the questions you need to ask before you zero in on a framework for your application. In the second part of this article, we will provide a comparison of the 3 most popular JS frameworks― AngularJS, Backbone.js and Ember.js.

Read the rest of this entry »