I have to correct myself.
The script works when i call an url that is on the same server as the html5 app
is called from.
And more important parameters can also be used.
And as Sean already posted about a HTML5 library, it´s possible to use an HTML5
app with an api layer using LC Server or PHP
Hi Colin
I have a library I’ve created for HTML5 and php for LiveCode Deployment. Pm me
at s...@pidigital.co.uk
Sean Cole
Pi Digital Productions Ltd
eMail Ts & Cs
> On 29 Apr 2020, at 20:00, matthias rebbe via use-livecode
> wrote:
>
> If "post... to url" and "put URL..." would work, th
If "post... to url" and "put URL..." would work, then it should work with
HTLM5.
But currently only load URL is supported.
But to be true, i am not sure about "load URL.."
I´ve used load URL only for downloading files in the past. I am not sure if
the command can also be used with parameter
That’s good to know, Matthias. So it seems that what you’d have to do is, still
do the MySQL I/O in LC Server scripts, but also dynamically construct the HTML
output in your LC server scripts, so that the calling HTML5 app could make
sense of it.
Am I interpreting the situation correctly, Matt
I was also thinking about using LC Server or PHP scripts, but if i understand
it correctly then "put URL" or "POST.. to URL" aren't currently supported in
the LC HTML5 engine.
Only "load URL" is supported and only for http / https.
Matthias
-
Matthias Rebbe
Life Is Too Short For Boring Code
Colin,
I haven’t tried it myself, but I would think you’d have to write an API layer
using LiveCode Server scripting. All of the MySQL reads and writes would take
place in your .lc scripts on LC Server. Then it would be simple, RESTful http
calls from your HTML5 app. Of course, this all depends
Anyone got any insightful ways of READING/WRITING to a mySQL table using
web-apps developed with Livecode HTML5?
Thanks
Col.
--
Colin Kelly
M 07951 920680
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url t