Subscribe via RSS Feed

Backbone Routes and History

April 23, 2014 0 Comments
Backbone Routes and History

Backbone Routes – As backbone being a platform which supports the client side, we also in need for a traditional Request/Response website. outesWe fully expect the back and forward history navigation to work. With the stateless nature of the traditional website, this was very easy to implement. The browser needed only to keep track of [...]

Continue Reading »

Collections in Backbone.js

April 22, 2014 0 Comments
Collections in Backbone.js

Backbone collections are simply an ordered set of models. By using Models and Collections we can avoid putting data manipulation logic into our Views. Plus, Models and Collections provide convenience methods for working with a back end, and can automatically signal Backbone Views when the data changes. Such that it can be used in situations [...]

Continue Reading »

Understanding view in Backbone.js

April 17, 2014 1 Comment
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 2 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 4 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 »

javascriptnosqlbook