Published on: 01/30/14 5:29 PM
Category:articles SPA Tags: Angular JS, Durandal JS, single page applicaitonI am creating new project in sharePoint 2013 and client requirement was a single page application. Then I started searching for requirement of SPA.
It should satisfy following conditions:
1) Proper navigation and history maintenance.
2) Notification after complete operation.
And main is
3) Data Binding
So for develop this we can have 2 approaches first is that use separate javascript libraries for specific function or you can also use some existing javascript functions
we can use knockout.js for data binding operation
sammy.js for navigation and history maintenance
toastr.js for notification purpose
But this all things also can be done with some framework available
We can use 2 great framework for SPA
1) Anguler JS– can get more information here http://angularjs.org/
2) Durandal JS – http://durandaljs.com/
here the differance is that angular Js uses only jquery and if jquery fails to load then it uses its one JqLite file for all operation while Durandal Js uses 3 top library knockout.js for data binding, require.js for loading js file and jquery for UI rendering
Its good framework. you will get more information for this here http://www.johnpapa.net/spa/
0 thoughts on "Single Page Application (SPA)"