Launching a stack via URL
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Launching a stack via URL
Hello. I hope I'm in the right place. I am experimenting with launching a stack I uploaded to a web directory. I then created a new stack with a single button (the standalone app) that pulls down that stack file from the URL. It works to a degree but I have a few issues I need to sort out.
I can't seem to find any LC documentation that talks about this way of doing things, including its limitations or tips etc. but I am particularly concerned with saving the stack contents/changes and uploading/saving referenced multimedia files.
I think that someone will tell me it can only be done as a html5 project.
I can't seem to find any LC documentation that talks about this way of doing things, including its limitations or tips etc. but I am particularly concerned with saving the stack contents/changes and uploading/saving referenced multimedia files.
I think that someone will tell me it can only be done as a html5 project.
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.
while removing from the skilled the ability to access wealth.
-
- VIP Livecode Opensource Backer
- Posts: 9960
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Launching a stack via URL
For a living example, in your IDE see Development -> Plugins -> GoLiveNet
Please ask any questions that come to mind. Delivering stacks via HTTP is how I've done much of my work for many years.
Please ask any questions that come to mind. Delivering stacks via HTTP is how I've done much of my work for many years.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Launching a stack via URL
goLiveNet is very cool Richard. I guess my question is fairly simple .. using this approach, I wonder if my stack is downloaded into RAM - is there any mechanism for changes to the stack to be saved and consequently uploaded back to the server to overwrite the existing file?
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.
while removing from the skilled the ability to access wealth.
-
- VIP Livecode Opensource Backer
- Posts: 9960
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Launching a stack via URL
Do you want to save the whole stack, or just data within the stack?
Either way, you'll need something in the server to receive the data, along with some form of authentication. LiveCode Server can help with that.
Either way, you'll need something in the server to receive the data, along with some form of authentication. LiveCode Server can help with that.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Launching a stack via URL
Thanks a million! I would prefer to save the whole stack. I have LC Server on my Indy licence.
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.
while removing from the skilled the ability to access wealth.
-
- VIP Livecode Opensource Backer
- Posts: 9960
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Launching a stack via URL
What is the file size of the stack currently? And can your briefly describe what it does?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Launching a stack via URL
The stack is only 320kb at the moment and is intended to help songwriters think of lyrics. It contains various text fields and (in its desktop version) allows users to load sound files and also record sounds via mergMicrophone (Mac) with a Windows equivalent. The desktop version creates a new card for each musical project and populates a scrolling menu where people can navigate to any project they have created.
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.
while removing from the skilled the ability to access wealth.
-
- VIP Livecode Opensource Backer
- Posts: 9960
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Launching a stack via URL
Will you need to also upload the audio files?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Launching a stack via URL
Yes. That would be the ultimate aim but I was thinking a DropBox account might work. A specific folder on the server would be preferable though. I sort of stumbled across this LC feature and I’m surprised it’s not more widely used V html5 deployment.
The underlying purpose of Al is to allow wealth to access skill
while removing from the skilled the ability to access wealth.
while removing from the skilled the ability to access wealth.