How to make LiveCode multidimensional array contents available to Javascript?

stephen barncard stephenREVOLUTION2 at barncard.com
Mon Jul 18 13:19:55 EDT 2011


Yeah, send out an APB - I've been trying to contact him about his audio
work.

s
q
b

On 18 July 2011 04:36, Keith Clarke <keith.clarke at clarkeandclarke.co.uk>wrote:

> So, I discovered the thread on Mark Smith's LibJson project via the list
> archives and subsequently downloaded v1.0b it from revOnline.
>
> This looks like it might be an efficient mechanism to serialise the
> LiveCode array(s) to subsequently write into a text file, zip, ftp - and
> then see if Javascript can find (and hopefully understand) the result!
>
> Kudos to Mark for sharing.
> Best,
> Keith..
>
> On 18 Jul 2011, at 11:41, Keith Clarke wrote:
>
> > ...whoops, forgot to ask whether JSON is one of the options I should be
> researching.
> > Best,
> > Keith..
> >
> > On 18 Jul 2011, at 11:35, Keith Clarke wrote:
> >
> >> Hi folks,
> >> I have a LiveCode array that contains interesting intranet web site page
> navigation and page-specific parameters - that I can pass into a revBrowser
> 'hosted' within my local stack.
> >>
> >> It's now time to test this resource with users who can't use revlets.
> Security implications mean that it's not practical in the short-term to turn
> the array into some kind of web service on my VPS or on-rev server. So, I'm
> thinking to FTP this array data back to the intranet server as some kind of
> static resource so that Javascript can access its contents from within
> standard browser pages.
> >>
> >> What are the options for packaging-up the LiveCode multi-dimensional
> array for easy access via Javascript? Is there some kind of binary 'array'
> file type standard that both languages understand or do I have to use
> text/XML files or similar?
> >>
> >> Any insights or research links would be much appreciated.
> >> Best,
> >> Keith..
> >
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  <http://www.google.com/profiles/sbarncar>



More information about the use-livecode mailing list