Interacting with server side scripts

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
kenoli
Posts: 2
Joined: Sun Jun 23, 2013 6:09 pm

Interacting with server side scripts

Post by kenoli » Sun Jun 23, 2013 6:21 pm

I'm feeling a bit clueless here.

Can LiveCode interact with server side scripts like php/mysql?

How do I upload LiveCode files to a server? Or . . . ?

LiveCode looks like it simply creates lots of individual pages. What if I want to access content from a mysql (or other) database and insert it into a template page? Can I do this with LiveCode?

Can I use LiveCode to enter data into a database to be retrieved and used as web page content?

Is LiveCode simply an html/javascript GUI?

What is it?

Confused???

--Kenoli

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Contact:

Re: Interacting with server side scripts

Post by dave_probertGA6e24 » Sun Jun 23, 2013 8:12 pm

The simple answer is yes.

Livecode can talk across the internet to server side systems like PHP and MySQL.

I have written a basic Tutorial on the subject which is Here

Livecode is an application/programming language - you can create desktop and mobile applications with it - they are not 'webapps' though. They do not run Javascript or show HTML by default. You are actually creating a separate program - be it for business, games or education - your choice.

To see some examples take a look at Livecode 1001. (Disclaimer: HexThello is my iPad game! :) )

Hope that helps,
Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

kenoli
Posts: 2
Joined: Sun Jun 23, 2013 6:09 pm

Re: Interacting with server side scripts

Post by kenoli » Sun Jun 23, 2013 11:39 pm

Great. Yes, that does explain it. Someone mentioned it in relation to html5 which made me think it generated web applications.

I will look at it with a different eye.

Incidentally, I just looked at your primer. Excellent, good work!

Your primer was very helpful in explaining to me what LiveCode is about.

At this point, the code makes little sense, but I suppose it just requires more digging. It doesn't look a lot like plain English as LiveCode suggests.

Thanks,

--Kenoli

Post Reply