Javascripts

The following source code can be used to load all images from a folder into webpage : Hope this helps. The above is actually a good answer provided in SO and i’m adding the link also here. URL : http://stackoverflow.com/questions/18480550/how-to-load-all-the-images-from-one-of-my-folder-into-my-web-page-using-jquery/18480589#18480589

Read More Load all images from a folder into web page using Jquery/Javascript

Everyone who are using jQuery will know that sometimes the jQuery events(click, bind, live, on etc ) may fire more than once due to event bubbling. For example, consider the following code snippet : Due to event bubbling, a single click on the .button can trigger the click function multiple times. A detailed explanation regarding…

Read More Prevent jQuery events from firing multiple times

Prototype-based programming is a style of object-oriented programming in which classes are not present, and behavior reuse (known as inheritance in class-based languages) is accomplished through a process of decorating existing objects which serve as prototypes. This model is also known as class-less, prototype-oriented, or instance-based programming. When you define a function within JavaScript, it…

Read More Concept of Prototype in Javascript

Closures Are Not Magic This page explains closures so that a programmer can understand them — using working JavaScript code. It is not for gurus or functional programmers. Closures are not hard to understand once the core concept is grokked. However, they are impossible to understand by reading any academic papers or academically oriented information…

Read More JavaScript Closures

If you are totally new to AJAX (which stands for stands for Asynchronous Javascript And XML), the AJAX entry on wikipedia is a good starting point: Like DHTML and LAMP, AJAX is not a technology in itself, but a group of technologies. AJAX uses a combination of: HTML and CSS for marking up and styling…

Read More Ajax

Event bubbling and capturing are two ways of event propagation in HTML DOM. In bubbling the event is first captured and handled by the inner most element and then propagated to outer elements. In capturing the event is first captured by the outer most element and propagated to the inner most element. During the time…

Read More Event Bubbling and Capturing

Backbone routers are used for routing your applications URL’s when using hash tags(#). In the traditional MVC sense they don’t necessarily fit the semantics. Though a Backbone “router” is still very useful for any application/feature that needs URL routing/history capabilities. Defined routers should always contain at least one route and a function to map the…

Read More What are routers in Backbone.js?

What is Backbone.js? Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface. Introduction The Evoluton of Web Application has been gradual over the…

Read More Backbone.js – Complete tutorial for beginners