Search found 32 matches

by fritzdekatt
Sun Sep 15, 2019 12:02 am
Forum: CGIs and the Server
Topic: Using stacks on LC Server
Replies: 12
Views: 873

Re: Using stacks on LC Server

BYU mentions "embedding a browser in a stack" which is a reference to the LC Browser control. That may be, *now*, but it is not what I was referring to. In the LC "Cloud and Database" Lesson series, it demonstrates opening a stack in a client app from a web server. How this would be functionally su...
by fritzdekatt
Sat Sep 14, 2019 10:28 pm
Forum: CGIs and the Server
Topic: Using stacks on LC Server
Replies: 12
Views: 873

Re: Using stacks on LC Server

I'd like a link to that article myself. I seem to remember coming across a bit about creating stacks that ran in the browser on BYU, but I was never able to find it again. BYU mentions "embedding a browser in a stack" which is a reference to the LC Browser control. In the LC "Cloud and Database" Le...
by fritzdekatt
Sat Sep 14, 2019 10:01 am
Forum: CGIs and the Server
Topic: Using stacks on LC Server
Replies: 12
Views: 873

Re: Using stacks on LC Server

http://lessons.livecode.com/m/4070/l/36656-how-do-i-use-stacks-with-livecode-server 4th paragraph: "At start up, a 'Home' stack is created which serves as the container for the global script. This stack sits at the root of the message path and works in much the same way as the IDE home stack - it si...
by fritzdekatt
Sat Sep 14, 2019 1:34 am
Forum: CGIs and the Server
Topic: Using stacks on LC Server
Replies: 12
Views: 873

Re: Using stacks on LC Server

So does that mean I can ignore the "stack" concept (as I would with PHP) when using the server?
And does that mean anything external (other pages) get referenced by includes and requires?
And does the statement "Home stacks are created at startup" (which I've read) mean anything?
by fritzdekatt
Wed Sep 11, 2019 9:52 pm
Forum: CGIs and the Server
Topic: Using stacks on LC Server
Replies: 12
Views: 873

Using stacks on LC Server

I have seen several tutorials on this subject. They say a "home stack" is "created" on startup (presumably the startup of the CGI, which must happen an awful lot on a moderately employed server) and that you can then use "global scripts". This sounds pretty much like gobbledeegook to me. I understan...
by fritzdekatt
Wed Mar 20, 2019 1:49 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 2686

Re: Calling a function in LC Server

Was the difficulty on the AJAX side or the PHP side? I've used XMLHttpRequest to call LC Server routines, so I may be able to help once I learn more about where the trouble lies. I have trouble on the AJAX side because my javascript stinks. It's not you. It's JavaScript. :) But seriously, in LC we ...
by fritzdekatt
Mon Mar 11, 2019 12:23 pm
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 2686

Re: Calling a function in LC Server

Ah, your looking at the wrong link on the page you sent me. Look above what your talking about - Selection_001.png Click on that link, and you'll be taken to this page - Selection_002.png Waayy down on that page, you'll see this section - Selection_003.png Hope that helps :D I get what you mean. Th...
by fritzdekatt
Tue Mar 05, 2019 12:45 pm
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 2686

Re: Calling a function in LC Server

BYU is particularly useful for the novice (me), but the trouble is you can only access a small portion of the site. Hm, I seem to remember the index being completely open, through at least the 210 materials. You mean that has changed? This text on the main page at: http://livecode.byu.edu/ BYU DigH...
by fritzdekatt
Wed Feb 27, 2019 12:28 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 2686

Re: Calling a function in LC Server

Someone else also had information on Lc server, but I think that was more basic. If I remember it, I'll stop in with the link. This was pretty basic http://livecode.byu.edu/internet/revservercripting.php I think they have more on it (but you have to go through the index for that). There was also ht...
by fritzdekatt
Tue Feb 26, 2019 11:19 pm
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 2686

Re: Calling a function in LC Server

RE: Calling functions Indeed, I ended up just translating directly from PHP to call my functions, as you suggested, which works fine except for some cases of AJAX, which I have trouble doing in PHP also. Was the difficulty on the AJAX side or the PHP side? I've used XMLHttpRequest to call LC Server...
by fritzdekatt
Tue Feb 19, 2019 12:27 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 2686

Re: Calling a function in LC Server

There's a nearly infinite range of things we could convey about using LiveCode on servers, so for the moment I'm most interested in addressing the specific questions asked and then we'll see where things lead once those are out of the way. fritzdekatt, if I read your opening post here correctly it ...
by fritzdekatt
Tue Feb 19, 2019 12:08 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 2686

Re: Calling a function in LC Server

Back to one of your basic questions, LiveCode is typeless and intuitive in variable definition, so there is no "exists" you can test, the act of checking a variable name will create it, initialised to empty if $_POST["FirstName"] is not empty then put myFunction($_POST["FirstName"]) into tNewVar en...
by fritzdekatt
Thu Feb 14, 2019 3:15 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 2686

Re: Calling a function in LC Server

I don't know if this pertains to your question or not, but have you seen this lesson from Jacque's site? Introduction to LiveCode CGIs CGIs provide dynamic content to web sites, and allow flexible delivery of information. This tutorial explains how to use LiveCode as a CGI engine on your server, an...
by fritzdekatt
Wed Feb 13, 2019 11:15 am
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 45
Views: 16754

Re: POLL: LiveCode Server deployment

"Have you seen Scott McDonald's LiveCode Lab? It's pretty cool, a sort of platform-as-a-service for LiveCode Server:
http://thelivecodelab.com/"


This lab is currently offline, but it says it will be back later this year.
Sounds like a good idea though.
by fritzdekatt
Tue Feb 12, 2019 12:33 pm
Forum: Extending LiveCode
Topic: ANN: Calendar Plugin
Replies: 26
Views: 3690

Re: ANN: Calendar Plugin

If you found that lesson you cited misleading, don't go looking for Tonto, because you ain't the Lone Ranger. Heh, no, I'm more like the Shadow! Muwahahahah What's "MC"? Heh, that could be a loaded question :P In the days of yore, the great and powerful all mighty omnipotent shtomper wizard (who wo...

Go to advanced search