ptalbot:
Hey James!
if you ask me, the real mistake is to use the rest plugin instead of Velocity
Well, I’m really just working on using Servoy Mobile as it is, so I don’t really have a lot to do with how the REST portion of it is implemented.
That being said, if you have a strategy for deploying Mobile Apps with a combination of Servoy, Velocity, and jQuery Mobile (or some other UI framework) I would love to read up on it.
Ah ah ah! I was picking on you!
For mobile, there’s no big strategy involved… just use whatever UI framework you like and are familiar with, then use Velocity/Servoy to build the kind of JSON required by that framework to serve data.
The doing that important or necessary? Or is it just in there by mistake?
The loadAllRecords call is not really needed here.
You do have to keep in mind that the rest_ws plugin uses a pool of headless clients to serve the requests.
REST defines statelessness, so each request may not depend another one.
Make sure that something like the forms foundset state left over from previous request does not affect the next request.