Web Development
3 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by Rael Kahn from Angular.org.il
Scoop.it!

Benefits of developing Single Page Web Applications using AngularJS - Harbinger Systems

Benefits of developing Single Page Web Applications using AngularJS - Harbinger Systems | Web Development | Scoop.it
How many times have you experienced the agonizing wait as you navigate through a web application? Looking expectantly at the screen, and waiting for the page to load? Frustrating, isn’t it?

Via Eyal Vardi
more...
No comment yet.
Rescooped by Rael Kahn from JavaScript for Line of Business Applications
Scoop.it!

Structuring jQuery with Backbone.js

Structuring jQuery with Backbone.js | Web Development | Scoop.it

One of the difficulties in building large jQuery applications is keeping code organized. It is very easy to get lost in a Christmas tree of doom-a deeply nested list of callback functions that seems to hold every single feature and interaction. The truth is that jQuery does not provide any guidance on organization or structure for code.

The good news is that you don't have to choose exclusively between jQuery and well-structured code that SPA libraries and frameworks help you to write. You can combine the simplicity and interactivity of jQuery-based applications with the building blocks of good structure from Backbone.js to create highly interactive pages that also have good code organization and structure.

 

 

From jQuery to Backbone.js: A Migration
It's tempting to jump straight in to Backbone.js at this point, but that would be a disservice to most developers. Starting from scratch is easy. The real challenge lies in taking existing code and migrating it to something else.
Taking a migration approach to Backbone.js does two things:
* Shows that Backbone.js can be added to existing projects, without an all-or-nothing re-write
* Shows the similarities and differences between writing jQuery on its own and using Backbone.js to structure jQuery

 

The Add form that was built with plain jQuery code will be migrated to Backbone.js, one step at a time. Before that can happen, though, you'll need to configure Backbone.js in your project.

 


Via Jan Hesse
more...
No comment yet.