Page 1 of 2

( ^..^)ノ LiveCodeServer manual

Posted: Wed Aug 05, 2015 10:23 pm
by Mariasole
Hello!
I'm looking for the User Guide of LiveCodeServer but can not find it anywhere either in PDF or online. :roll:
Someone with a good heart could help a poor girl willing to learn? :cry:
Thanks to all the riders who want to help me! :wink:

Mariasole
( ^..^)ノ

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Wed Aug 05, 2015 11:43 pm
by FourthWorld
The learning materials for LiveCode Server are currently in the form of a tutorial series:
http://lessons.runrev.com/m/4070

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Thu Aug 06, 2015 9:23 am
by Mariasole
FourthWorld wrote:The learning materials for LiveCode Server are currently in the form of a tutorial series:
http://lessons.runrev.com/m/4070
Thanks Richard!
I saw the page of the lessons and are very interesting, but unfortunately, to study, I (we?) need :oops: at least a UserGuide such as "normal" LiveCode. I found that there is a link on the page Resources/Guides :D (http://livecode.com/resources/guides/server). Unfortunately :( , the link is broken (http://livecode.com/resources/guides/server)... You know when the resource will be available? :roll:
Thank you for your kindness and thanks to all the staff! 8)

Mariasole
( ^..^)ノ

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Thu Aug 06, 2015 8:47 pm
by FourthWorld
The content that used to reside in the PDF-format "LiveCode Server Guide" has been moved to the tutorials I linked to.

Given that the main LiveCode User Guide describes the overall mechanics of the language and the Dictionary covers the details of specific tokens, the challenge now is to better understand what users need to get started with LC Server that's not already covered.

LC Server uses the Common Gateway Interface (CGI), so setup is pretty much the same as we find with Perl, Python, PHP, or any other scripting engine that we'd use under CGI.

We could visualize a typical server software stack like this:

Code: Select all

------------------------------
| Storage (MySQL, etc.)      |
------------------------------
| Scripting Engine (LC, etc) |
------------------------------
| Web Server (usually Apache)|
------------------------------
| OS (usually Linux)         |
------------------------------
On the one hand, that's a lot of ground to cover. Many of us jump into making desktop apps easily because we've been using desktop systems for many years, but when we get started using LiveCode on a server it's often our first adventure in server systems, so many of the foundational elements we take for granted on the desktop need to be learned to use a server as effectively.

On the other hand, we're fortunate enough to be getting started with server work (or "play", as I like to think of it because it's so much fun <g>) far enough into the Web's evolution that every other layer in that software stack is well documented with hundreds of tutorials available.

To date, the LiveCode team has focused on providing the documentation that doesn't already exist, the info needed to get LiveCode Server up and running on the server.

But that's just be beginning. Just as the LiveCode User Guide doesn't describe the details of how desktop systems work, it would be daunting to try to replicate the info available for those other layers. Yet, as with the desktop, we still need some guidance because, unlike the desktop, most of us haven't been administrating servers for decades.

The challenge here is one of too much information. Many millions of pages have been written about those other layers, and while most of that may be interesting you only need to know little bits of them to get meaninful work done. No one on earth know everything about every layer in that stack - it's just more than any single human mind can contain.

So now we need to figure out what specific slices of the world's information about server systems are needed to use LiveCode effectively.

And that's where you become our savior:

As someone who's both motivated and a newcomer to servers, you're the perfect person to help guide the community's journey in discovering what further documentation we need. At this point the nature of my work has required me to admin servers too long; I'm useless for this task, as is Mark Wieder who knows about 10 times as much as me about such things. Only you can save us, through the power of your inexperience. :)

So I'd like to take advantage of your position, if I may:

Please dive in with the tutorials I linked to, and once you have LC Server set up put it to work for you. At any point along the way, whenever there's something you want to do and you don't know how to do it, please drop a note here. Not only will this community deliver what you're looking for, but I'll be keeping notes on your journey to help identify key areas where we can provide documentation that anticipates those needs.

Deal?

When things get so big, I don't trust them at all,
You want some control, you've got to keep it small.
D.I.Y

- Peter Gabriel

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Fri Aug 07, 2015 10:45 am
by Mariasole
Thanks Richard,
thanks for what I would call the introduction to the "Gaskin Manual for LiveCodeServer - Absolute Beginners".
Thank you because you have set and clear ideas to me.
Thank you because you have been, as well as a great professional, a friend who, with gentleness and understanding, explain calmly and honestly it like it is.
I would like you (LiveCode all staff) to understand what we are loyal to the product, just like the old days of Apple and its HyperCard.
With LC "artists" can "paint" new creations with OWN HANDS on computers without being "engineers". :D
You think the thrill that can give you to get your hands on a SERVER and create "web paintings" without intermediaries-mercenaries programmers (programmers who write things that you do not understand! :shock: ).

Ok, I start working, any doubts or difficulties on the LCS will write it here.
I dive with the submarine of inexperience in the existing documentation, and when I have problems with the engine (

Code: Select all

put "new fuel" into tDilithiumEngine
) I will emerge on this post :P . ( :arrow: Trying not to drown in the waves of the English language :oops: )
Thanks again for everything and for your trust! 8)


The carpet crawlers heed their callers:
"We've got to get in to get out
We've got to get in to get out"

The carpet crawlers
Peter Gabriel/Genesis


Mariasole
( ^..^)ノ

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Sat Aug 08, 2015 1:04 am
by golive
Mariasole wrote: Ok, I start working, any doubts or difficulties on the LCS will write it here.
Mariasole
Hi Mariasole

I came across this website that may be of interest:
http://activethought.net/

Look on the right - he has LiveCode Server Tutorials.

These may be of help?
(I haven't worked on LiveCode Server myself).

Good luck with this. I look forward to your progress.

:idea:

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Tue Aug 11, 2015 5:19 pm
by Mariasole
golive wrote:
Hi Mariasole

I came across this website that may be of interest:
http://activethought.net/

Look on the right - he has LiveCode Server Tutorials.

These may be of help?
(I haven't worked on LiveCode Server myself).

Good luck with this. I look forward to your progress.

:idea:

Dear golive,
thanks for reminding me of this resource :D . I found these pages in my search for information on LCS, but some of these are inactive. :( It appears "No input file specified".

I tried to retrieve that in the cache of google and I did. :wink:

Thanks to your report I thought before departure will better organize the galley! 8)
In the galley I will put all the interesting links that can serve our submarine to navigate the sea of inexperience!
The first was reported by you! :P
Honor to golive! Welcome on board! :mrgreen:


( ^..^)ノ Mariasole

### the galley of the submarine in the sea of inexperience

Posted: Tue Aug 11, 2015 5:21 pm
by Mariasole
8) This is the galley of the submarine in the sea of LiveCodeServer inexperience.... 8)


Essential food:
How To - LiveCode Server Tasks
http://lessons.runrev.com/m/4070

Protein biscuits:
Server-side LiveCode Scripting – lesson notes (BRIGHAM YOUNG UNIVERSITY / Office of Digital Humanities]
http://livecode.byu.edu/internet/lc_server_notes.php

In the hermetic box of biscuits protein I have found:
http://samples.on-rev.comDo Intro through Database
http://activethought.net/livecode-server/ Created by Simon Smith at activethought.net [from my First Assistant golive ]
http://dev.on-rev.comSome simple examples by Devin Asay.
http://www.jacque.on-rev.comJacqueline Landman Gay's on-rev and revlet samples, including a fun Mad-libs page.

In another box I also found:
a CD: "The Odyssey" by David Bedford
a book: The Strange Last Voyage of Donald Crowhurst's by Nicholas Tomalin, Ron Hall
a CD: "Journey to the Centre of the Earth" by Rick Wakeman
... just to give the atmosphere in the mist :shock:


the galley awaits other material ....

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Wed Aug 12, 2015 12:33 am
by golive
Mariasole wrote: Honor to golive! Welcome on board! :mrgreen:
( ^..^)ノ Mariasole
Thank you, Captain. 8)

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Wed Aug 12, 2015 11:05 am
by Mariasole
golive wrote:
Mariasole wrote: Honor to golive! Welcome on board! :mrgreen:
( ^..^)ノ Mariasole
Thank you, Captain. 8)
For the power that I have been granted by Admiral Gaskin, I name the brave golive my First Assistant and Head of the Galley of our Submarine of Inexperience. 8)


Mariasole
( ^..^)ノ

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Tue Aug 18, 2015 1:48 pm
by MaxV

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Tue Aug 18, 2015 2:44 pm
by Mariasole
Thanks MaxV,
but the site "http://samples.on-rev.com" (and related links) are already in the galley of the submarine! :wink:
If you notice any other :arrow: original link will put certainly among the good things to eat! :D

Mariasole
( ^..^)ノ

First trip between rocks and icebergs aboard the submarine..

Posted: Tue Aug 25, 2015 9:39 pm
by Mariasole
First trip between rocks and icebergs aboard the Submarine of Inexperience (taken from the logbook).

I found in the galley of the submarine the vinyl "Journey of the Centre of The Earth" by Rick Wakeman. 8)

So I thought it was perfect for the first trip into the unknown: the installation of LiveCodeServer on various servers! :wink:

The spirit of Arne Saknussemm hovers in the cockpit! :shock:

And so the submarine runs in his first and most difficult maneuver to overcome a difficult obstacle: the first installation.

To be prepared to overcome the obstacle I state thatI read ALL the material available in the galley, and then I sent in BINARY the version 7.0.6 of LCServer.
Then I created a simple test page and sent it to the server via ftp.

Result: not working!

The Submarine of Inexperience began to tremble! Golive, trustworthy my first assistant, stop the engines!

I sip a cup of juice of seaweed and I start to reflect. :|

Let's start from the beginning.
I have several server "shared" (as most of the poor beginners) where you can not do nothing but manage manageable through htaccess. (all server with LINUX OS).

I followed the pattern of the operating LCS "as installed with htaccess" we have in the galley.

I followed slavishly. But it has not worked.

I remember long ago I had solved the problem by accident! (Juice of seaweed is good for memory) :P .

The servers that use it only works if I disable htaccess on the first line! (#Options ExecCGI) :D

Not that this should work for everyone, but it is an interesting trick (I guess it depends on how it is configured on the Apache server).

So on the first server available to me, with which I say more familiar, I've been successful. 8) LCS works and the proof is the test page.

The rock is exceeded! The submarine of inexperience traveling to a new server, a new adventure!

I try then with a second "new" server, a server that I do not know. I only know that this is "shared" and I only own the file htaccessto manage it.

This time too slavishly follow the manual of LCS eating a biscuit fossil. :?

And there is the sound of twisted metal! Stop the machine! This is not a rocky server, is an iceberg!

:x LCS does not work on this server. I try to serve me the trick to disable the line HTTACCESS. Nothing, not working. :x

Then I have an epiphany :idea: .
Perhaps the server is 64-bit, and I've sent the 32-bit. But how do you know that the server is 64-bit? The provider does not tells me, so I try to find out.

I try to figure out how to write the PHP test file, since I know that is installed by default (is installed virtually everywhere) and I do run on the server. [phpinfo()]

In the first table of the PHP test page is actually written "x86_64", which makes me hope it's 64-bit!

So I try on the web (we have web sonar technology :wink: ) and I find that in fact under the symbol "x86_64" the server should be 64-bit.

I then try to send LCS 64-bit via binary ftp, but LCS still does not work !!!
Recheck all over again, and I try, on the bare control panel of the server provider, if there is an error log of the server! I find it! :!:

Now I can get feedback from the server!

With the 64-bit version of LCS the iceberg server tells me:
----
End of script output before headers: livecode-community-server
suexec policy violation

----

or returns mysterious sonar signals as :shock:

---
exiting on signal 11
---

For the 32-bit version instead:
----
End of script output before headers: livecode-community-server
livecode-community-server: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file

----

I try and I research on the web to understand these types of errors, but I find it enlightening forum link...

I understand that LCS does not work because in the server is missing a file system!
I write to the server provider and they kindly propose to change my server.

The submarine of inexperience is safe, he has passed the iceberg!

It 'was tough, but we made it... 8)


For this reason I ask Admiral Gaskin and the members of the LC Fleet Experienced, humbly and respectfully:

You can write a PHP file that sent to a server do a test and say:
"Ok on this machine you can run Live Code X? Congratulations now you can abandon PHP! "
or
"No, sorry, this machine can not run Live Code Server X because they lack these files: so.so and up.dll and us.pl and IO.zxspectrum"

It would be a great help also for the server providers that in this way will know which dll install inside the server to run LCS...
It would be a help to all the little IXBot (ineXperiencedBot, - bots as submarine, of course not robots -) that circulate in the seas with servers icebergs heavy million tons!!! :shock:

I hope to be helpful affectively to all absolute beginners of LCS!
Now I dive for new and exciting adventures ... of the Submarine of Inexperience!

(In future trips I'll bring a grammar of English) :mrgreen:


Mariasole
( ^..^)ノ

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Wed Aug 26, 2015 11:33 am
by MaxV
Waht OS does your server use?

Re: ( ^..^)ノ LiveCodeServer manual

Posted: Wed Aug 26, 2015 12:41 pm
by Mariasole
MaxV wrote:Waht OS does your server use?
Hi MaxV,
the OS was Linux! :!:

Mariasole
( ^..^)ノ