Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Angular and WIP: Progressive Saving

John Papa
January 16, 2014

Angular and WIP: Progressive Saving

Quite often we force users to to save or cancel data, before moving on when what they really want is to leave the page in a changed state and come back to their work in progress later, perhaps after closing the browser. This requires change tracking, local storage, serializing and rehydrating complex object graphs, not to mention visual indicators to improve the user experience. Come learn how when AngularJS meets BreezeJS we can light up this scenario.

John Papa

January 16, 2014
Tweet

More Decks by John Papa

Other Decks in Technology

Transcript

  1. Option C: Auto-Save as User Types What if the Data

    is Invalid ? What if the Data is Incomplete ? This may not work out so well
  2. Save WIP Automatically What Stories Should We Handle ? Get

    WIP Cancel WIP Listen for Changes Tell the User
  3. How Do We Export an Entity ? Stash all WIP

    Serialize entity, changes and state
  4. How Do We Import an Entity ? Return the newly

    imported entity Grab the stashed WIP Import the WIP into Breeze
  5. The WIP data Who tells the directive when WIP changes

    WIP directive How Do We Tell the User ?
  6. Pluralsight Courses Angular Fundamentals - Joe Eames/Jim Cooper http://jpapa.me/ngfundps Build

    Angular and Breeze Apps Part 1 and 2 John Papa http://jpapa.me/spangz and http://jpapa.me/ spangz2