Search found 27 matches

by fritzdekatt
Wed Mar 20, 2019 1:49 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 1573

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: 1573

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: 1573

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: 1573

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: 1573

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: 1573

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: 1573

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: 1573

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: 33
Views: 12853

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: 2398

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...
by fritzdekatt
Tue Feb 12, 2019 11:51 am
Forum: Extending LiveCode
Topic: ANN: Calendar Plugin
Replies: 26
Views: 2398

Re: ANN: Calendar Plugin

Hi Fritz, You say "so I mostly use Mc for my coding", what's "MC"? MC = MetaCard, the grandfather of Livecode, see here: http://www.metacard.com Best Klaus Oh yeah. I remember MetaCard. When I knew Hypercard's days were numbered, I took a look at that, as well as Supercard. I gave up on the whole c...
by fritzdekatt
Tue Feb 12, 2019 11:41 am
Forum: CGIs and the Server
Topic: POLL: LiveCode Server deployment
Replies: 33
Views: 12853

Re: POLL: LiveCode Server deployment

Very pleased to read your enthusiastic reply, fritzdekatt. Thanks for chiming in here. There's so much to the range of topics with client-server apps, let's see if we can narrow it down to get you going: what would you like to build, how far have you gotten so far, and what roadblocks have you run ...
by fritzdekatt
Tue Feb 12, 2019 11:03 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 1573

Re: Calling a function in LC Server

Have you seen these lessons? http://lessons.livecode.com/m/4070 As for $_POST, what code are you using that you would expect to see an error from? I have seen these lessons many times, thank you. I can send and receive data from the server. What I can't do is call one of my user-defined functions o...
by fritzdekatt
Tue Feb 12, 2019 10:47 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 1573

Re: Calling a function in LC Server

I'm pretty sure the CMS you're looking for is RevIgniter. https://revigniter.com/ Thank you. I've seen this. As far as I can see, it's an MVC framework for LC, like CodeIgniter is an MVC framework for PHP. I'm sure this is useful for 99 percent of LC server coders, but I don't care for MVC framewor...
by fritzdekatt
Tue Feb 12, 2019 4:54 am
Forum: CGIs and the Server
Topic: Calling a function in LC Server
Replies: 25
Views: 1573

Calling a function in LC Server

If I'm building a browser interface to LC Server, assuming we have no access to any LC desktop objects, what do I use to call a function? I could use a conditional based on the Get array or post via a form, but if I wanted to use a button or list item to call javascript, how could I make this trigge...

Go to advanced search