angularjs - Clever bulk update in Angular $resource -


here's i'd achieve:

say have todo list , following changes:

  • mark complete task 1
  • change name of task 2
  • mark complete task 2
  • change name of task 1

at present, system can achieve firing 4 http queries. there way angular can sync app server, every 20 seconds, able notice when change has been done on same item, , group changes same query.

the clever bulk update like:

  • update task 1, set complete=true, name= new name
  • update task 2, set complete=true, name= new name

has ever tried this? idea way should search find out more info kind of workflow?


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -