Help needed in getting started with LiveCode Server v4.6.3

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Help needed in getting started with LiveCode Server v4.6.3

Post by BarrySumpter » Fri Jul 22, 2011 2:08 am

LiveCode Server is a scripting server like for HTML, PHP and vbScript, etc.
Where you can mix LiveCode in with your HTML and PHP and vbScipt commands etc.
This is NOT a database server.
It should be named LiveCode Scripting Server.

===========================================================

Hi all,

I'm scratching me head trying to figure out if I want to persue the LiveCode Server released in v4.6.3.
The Server doco reads like I have to have Apache already setup and working.
And I'm wondering if its worth the hassel.

As I've spent quite a bit of time already setting up and testing against IIS 5.1 on WinXP32.
I also read about the setup of LiveCode Server using scripts.
Which has warning bells going off as I would certainly prefer the setup to be automated instead of manual.
With me not knowing where to start.

Any suggestions, from anyone, on how to get the LiveCode Server setup on IIS 5.1 on WinXP32 would be greatly appreciated.

Has anyone done this?
Or can anyone point me in the right direction?

tia
Last edited by BarrySumpter on Sun Jul 24, 2011 12:53 am, edited 2 times in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by Klaus » Fri Jul 22, 2011 4:06 pm

Hi Barry,

you know that LiveCode Server is a separate product which requires its own license?


Best

Klaus

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by BarrySumpter » Fri Jul 22, 2011 4:13 pm

Yes, I've got one.

Just have no idea where to start.
Kinda lost my momentum trying to sort out Apache install first.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by Klaus » Fri Jul 22, 2011 4:19 pm

Ah, OK, just wanted to be sure!
Sorry, can't help you in this respect.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by jacque » Fri Jul 22, 2011 6:40 pm

Go to the Lessons area of the web site, if you haven't already, and do a search for "server". There were lots of lessons posted when 4.6.3 was released.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by BarrySumpter » Sat Jul 23, 2011 2:17 am

Finally!
Someone else sorting out step-by-step instructions.

SparkOut Suggested Uniform Server
Which has an Apache server
The Apache server is required by LiveCode server
http://forums.runrev.com/viewtopic.php? ... 3&start=30

And a Uniform Server contributors step-by-step setup process - Lots n Lots of info here:
From nothing to a fully working, secured OT server. [Uniform Server] + [TFS 0.3.6]
http://otland.net/f479/nothing-fully-wo ... 6-a-77593/
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by admin12 » Sat Jul 23, 2011 4:52 am

My biggest confusion with server is that I am unsure how it will run my live code app.

My questions is: If I kill myself creating a complex live code database app that works great as a stand-alone and as a revlet using the web delpoyment module, can I turn around and run that program on the server, as is?

If so, HOW?

I will be installing LiveCode server as a CGI parser onto my VPS tomorrow, more than likely.

Mike

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by BarrySumpter » Sat Jul 23, 2011 7:53 am

Hi Mike,

I'm now trying to setup Apache in the simplest and quickest way.
Then setup LiveCode Server under Apache in the Simplest and quicked way.
Then test LiveCode server in the simplest and quickest way.
Which would mean just a simple LiceCode database to start with.

Can you please post your process and finding in another thread?

I'll do the same.

Thanks heaps!
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by bangkok » Sat Jul 23, 2011 9:07 am

admin12 wrote:My biggest confusion with server is that I am unsure how it will run my live code app.

My questions is: If I kill myself creating a complex live code database app that works great as a stand-alone and as a revlet using the web delpoyment module, can I turn around and run that program on the server, as is?

If so, HOW?
There might some confusion here. Let's recap :

-the server won't be able to run an "app". The server interprets LiveCode scripts. The newest version allows to run "stack"
(see documentation : http://tinyurl.com/3ua5cch
http://www.runrev.com/developers/documentation/server/

But you can't have "graphic".

-to have an idea of how it's working :
http://samples.on-rev.com/

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by BarrySumpter » Sat Jul 23, 2011 10:11 am

So LIKE a php scripts server, or an html scripts server , or a VB Scripts server, or an AJAX scripts server.

So LiveCode Server allows us to execute LiveCode scripts
similar to the way php scripts, html scripts, Vb scripts, and AJAX scripts are executed.

would that be like in one file

MyMixOfScripts.xxx:

-- html script here --
Head this
Meta that
Title this
Div that
--php script here--
$this and $that
--end php script
--LiveCode script here--
Put this
Set that
--End LiveCode script
-- end html script

Or is it one file with livecode scripts only?


hmmmmm
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by BarrySumpter » Sat Jul 23, 2011 10:29 am

Yeah, OK.
Its just another scripting language to add to the mess.

I was really liking LiveCode for web.
And I like the fact that I didn't have to script in that way of html, php, and vbscript.
Thats been an absoute dogs breakfast since day one.

Thats why I got into LiveCode.
One Language to Rule the All!

Don't know why I was thinking it was a LiveCode Database Server.

I'm sure its me pushing to hard to get it sorted so I can develop something constructive.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by bangkok » Sat Jul 23, 2011 11:07 am

BarrySumpter wrote:Yeah, OK.
Its just another scripting language to add to the mess.
I don't understand. It is the same.

You write LiveCode for :
-desktop
-and web (via LiveCode Server)

... the language is the same.

Dekstop:
on mouseup
put "Hello world" into myVar
repeat with i = 1 to 20
put i
end if
end mouseup

Live Code Server :
<?rev
put "hello world" into myVar
repeat with i = 1 to 20
put i
end if
?>

along with pieces of HTML.

But the novelty of the latest release, is the ability to run stack (I didn't try it though.), where you can store functions, etc. It sounds nice. You edit your LiveCode script in a stack within the IDE. You can use the debugger. And then you upload the stack to the server, and then a small irev file can make calls to this stack.

Anyway. You know LiveCode script language. Therefore you know how to use LiveCode server. No need to learn PHP.
You just need to know a little bit of HTML, CSS styles in order to format outputs.

Don't give up. LiveCode server is a blessing.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by BarrySumpter » Sat Jul 23, 2011 11:35 am

Yeah, OK.

I had given up on LiveCode Script Server for about 30 mins.

Just needed a little encouragement to get me back on track.

I have another go tomorrow.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

jharris
Posts: 84
Joined: Wed Jan 26, 2011 3:28 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by jharris » Sat Jul 23, 2011 12:38 pm

I was able to setup server on my Ubuntu VPS following this tutorial:
http://blog.clarityforsuccess.com/2011/ ... buntu.html

I haven't tried setting it up with Windows, but I wouldn't think it would be to difficult. I may have a look at
it later today, if I can get time.

I've tested LiveCode Server a little and I really like it so far. I have written a lot of PHP and I think it is a nice
addition for LiveCode users. They can process form data and database tasks on the web without having to
learn PHP or PERL or one of the other scripting languages.

jharris
Operating System: macOS Monterey Version 12.5
LiveCode Version: 9.6.8

admin12
Posts: 412
Joined: Wed May 11, 2011 9:47 am

Re: Help needed in getting started with LiveCode Server v4.6.3

Post by admin12 » Sat Jul 23, 2011 3:28 pm

I'm a bit let down here. We have spent a LOT of time DESIGNING the database front end in Live Code. Now that it is nearly done, I was hoping to deploy to web for people to use. I just found out, however, that quite a few people who would be utilizing this database will be kids in college - who cannot install the revlet player on their community computers. Now what?

Then I hoped Live Code server would be the answer, but from the way it sounds, the graphics will all be tossed (as in, the stacks I have been creating with all the background graphics and form elements. The graphics are IMPORTANT here.) If using server, what controls are used and what are ignored?

Any suggestions?

Mike

Post Reply