Page 1 of 2
Help needed in getting started with LiveCode Server v4.6.3
Posted: Fri Jul 22, 2011 2:08 am
by BarrySumpter
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
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Fri Jul 22, 2011 4:06 pm
by Klaus
Hi Barry,
you know that LiveCode Server is a separate product which requires its own license?
Best
Klaus
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Fri Jul 22, 2011 4:13 pm
by BarrySumpter
Yes, I've got one.
Just have no idea where to start.
Kinda lost my momentum trying to sort out Apache install first.
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Fri Jul 22, 2011 4:19 pm
by Klaus
Ah, OK, just wanted to be sure!
Sorry, can't help you in this respect.
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Fri Jul 22, 2011 6:40 pm
by jacque
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.
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 2:17 am
by BarrySumpter
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/
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 4:52 am
by admin12
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
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 7:53 am
by BarrySumpter
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!
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 9:07 am
by bangkok
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/
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 10:11 am
by BarrySumpter
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
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 10:29 am
by BarrySumpter
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.
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 11:07 am
by bangkok
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.
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 11:35 am
by BarrySumpter
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.
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 12:38 pm
by jharris
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
Re: Help needed in getting started with LiveCode Server v4.6.3
Posted: Sat Jul 23, 2011 3:28 pm
by admin12
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