Loading remote LUA scripts to modify my App. Possible?

I just deployed a 30 iPad exhibit system to identify animals in an aquarium. It works great but every time we make changes to it, I have to go iPad by iPad updating the App.

Since LUA is an interpreted language, shouldn’t I be able to load a remote LUA script that defines my whole program and cache it on the iPads until a new one is available? That would make my life immensely easier. [import]uid: 6310 topic_id: 34208 reply_id: 334208[/import]

Hello,
Could you design this with a data-based system wherein the app reads data via FTP and downloads that data into the app, where Lua can then filter and process it? I have a simple app that does that using LuaSockets and FTP, and it works nicely, both uploading and downloading to a standard web server.

A more comprehensive solution would be, of course, to implement Game Minion (even if it’s not a “game” per se) and keep your data in the cloud.

Brent [import]uid: 200026 topic_id: 34208 reply_id: 136030[/import]

I thought downloading executable code from a remote server was prohibited by Apple? Or am I completely missing something? Because this technique seems like it could help save LOTS of time! [import]uid: 14018 topic_id: 34208 reply_id: 136044[/import]

@AlexM2,
I never said anything about downloading *executable* code, so my answer was not “misleading” (notice the phrasing such as “data-based”, “reads data”, and “downloads that data”. Perhaps it was slightly ambiguous at worst. I was referring to exactly what you’re suggesting: downloading data in XML, text, or JSON format and then parsing it for usage in Lua. [import]uid: 200026 topic_id: 34208 reply_id: 136057[/import]

Ah, sorry for the misunderstanding :). That sounds familiar then, thanks. [import]uid: 14018 topic_id: 34208 reply_id: 136115[/import]

Hello,
Could you design this with a data-based system wherein the app reads data via FTP and downloads that data into the app, where Lua can then filter and process it? I have a simple app that does that using LuaSockets and FTP, and it works nicely, both uploading and downloading to a standard web server.

A more comprehensive solution would be, of course, to implement Game Minion (even if it’s not a “game” per se) and keep your data in the cloud.

Brent [import]uid: 200026 topic_id: 34208 reply_id: 136030[/import]

I thought downloading executable code from a remote server was prohibited by Apple? Or am I completely missing something? Because this technique seems like it could help save LOTS of time! [import]uid: 14018 topic_id: 34208 reply_id: 136044[/import]

@AlexM2,
I never said anything about downloading *executable* code, so my answer was not “misleading” (notice the phrasing such as “data-based”, “reads data”, and “downloads that data”. Perhaps it was slightly ambiguous at worst. I was referring to exactly what you’re suggesting: downloading data in XML, text, or JSON format and then parsing it for usage in Lua. [import]uid: 200026 topic_id: 34208 reply_id: 136057[/import]

Ah, sorry for the misunderstanding :). That sounds familiar then, thanks. [import]uid: 14018 topic_id: 34208 reply_id: 136115[/import]