Subscribe via RSS Feed

Understanding view in Backbone.js

April 17, 2014 0 Comments
Understanding view in Backbone.js

A view in backbone.js represents a DOM element, as well as the child elements within that element.Backbone views are used to reflect applications’ data models frontend. They are also used to listen to events and react accordingly.Backbone views are almost more convention than they are code.They don’t determine anything about HTML or CSS,it can be [...]

Continue Reading »

Models in Backbone.js

April 16, 2014 0 Comments
Models in Backbone.js

Introduction: working on a web application involves a lot of JavaScript.in backbone we use models as representative of the information. as we can create, update, delete,validate and also store the data/information in server. we are able to do the same things with a model in backbone.an UI action causes an attribute of a model to [...]

Continue Reading »

Introduction to Backbone.js

April 15, 2014 2 Comments
Introduction to Backbone.js

Introduction: The web application development process has been evolving over the years. In the beginning web applications were just static HTML pages, which required programmers to change the code in order to change the content. Later, in web 2.0, server side programming languages were added to generate HTML pages dynamically based on user input and [...]

Continue Reading »

JavaScript and Cookies

April 11, 2014 1 Comment
JavaScript and Cookies

Web Browser and Servers use HTTP protocol to communicate. HTTP is a stateless protocol. But for a commercial website it is required to maintain session information among different pages. Cookies are bits of data that a browser stores in visitor’s computer. When a web server has sent a web page to a browser, the connection [...]

Continue Reading »

Calling NEO4J Rest API from node.js without any Library

April 10, 2014 0 Comments
Calling NEO4J Rest API from node.js without any Library

As we can call and get results from REST API for any server, following is a test where we have called and got result from Neo4j REST Api using node.js. Here our call is a raw NEO4J Api call from node.js for a GET method which returns a particular node.  May be we will make [...]

Continue Reading »

String Object in JavaScript

April 9, 2014 2 Comments
String Object in JavaScript

The String object is used to manipulate characters and wraps Javascript’s string primitive data type with a number of helper methods. Because Javascript automatically converts between string primitives and String objects, we are able to call any of the helper methods of the String object on a string primitive. String objects are created with new [...]

Continue Reading »

Polymorphism in JavaScript

April 8, 2014 3 Comments
Polymorphism in JavaScript

Polymorphism is the ability to create a variable, a function, or an object that has more than one form. In object oriented programing polymorphism is used to call the same method on different objects to have them respond in their own way. Polymorphism also supports late binding or dynamic binding which determines exact type of [...]

Continue Reading »

Encapsulation In JavaScript

April 7, 2014 1 Comment
Encapsulation In JavaScript

Introduction : Encapsulation is an important feature in object oriented programing (OOP). It is also very important to any developers, that they can secure their technology from others. A class is a template or prototype for each object instances made to the class design. The class specifies the properties and methods that objects can work [...]

Continue Reading »

Understanding “this” keyword in JavaScript

April 4, 2014 3 Comments
Understanding “this” keyword in JavaScript

Whether it is JavaScript or java we have been using “this” in many places. This “this” is quite interesting. “this” is actually a reserved keyword. Although it acts differently in JavaScript than all other languages. In java we know that “this” refers to the same object in which ”this” resides. But in javascript we will [...]

Continue Reading »

Object in JavaScript

April 3, 2014 0 Comments
Object in JavaScript

JavaScript is an object oriented language, but JavaScript does not use classes. JavaScript is prototype based, not class based. In JavaScript objects play a very important role. With the help of object oriented programing we can use 1. Encapsulation – A language mechanism for restricting access to some of the object’s components. 2. Abstraction – [...]

Continue Reading »

javascriptnosqlbook