Most efficient way to access Liveapi

May 16, 2012 at 7:04pm

Most efficient way to access Liveapi

Hi, wondered if anyone had a feel for the most efficient way to access the live api through the liveapi object in js.

My choices are essentially between creating one object and using Goto to change the path each time I want to access/update a property or creating a new Liveapi object each time using the id of the object.

I’m guessing the latter is the way to go but wondered if none has any practical experience of this?

Thanks, L

#63636
May 17, 2012 at 10:33pm

After some experimentation, it seems the best way is to cache each LiveAPI object created and use these to get/set any values in the set or in a controller.

L

#229395

You must be logged in to reply to this topic.