Dynamic webapp/website
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Dynamic webapp/website
When building a website an/or webapp in livecode, can I do a dynamic update like whats possible with jquery?
.
Purpose is for a chatbot implementation I have in mind.
.
Purpose is for a chatbot implementation I have in mind.
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Dynamic webapp/website
What are you building in LiveCode?
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: Dynamic webapp/website
Um, his question appears to be how to implement a chatbot in a dynamic website, or web app, with *all* of it being built in Lc.

Re: Dynamic webapp/website
Yes. Everything in Livecode. Chatbot on normal website with dynamic response and content fed to it. Maybe venture to Wordpress later on and perhaps use JSON API.
Re: Dynamic webapp/website
If you mean how to communicate from HTML5 standalones with the web browser by javascript then have a short intro here: viewtopic.php?p=181331#p181331
shiftLock happens
-
- VIP Livecode Opensource Backer
- Posts: 10043
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Dynamic webapp/website
I would not have been able to infer that "all" would be LiveCode, since HTML is not LiveCode and neither is the browser to view it in.
So you're referring to the server side only, with delivery to a web browser rather than a LiveCode standalone, is that correct?
I ask because when I'm using LC Server with LC standalones I sometimes handle things differently than when either client or server is made with something else.
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: Dynamic webapp/website
Well, I can't be sure, but I think they are asking about doing it using the html 5 to save the Livecode app inFourthWorld wrote: ↑Wed Oct 30, 2019 4:13 pmI would not have been able to infer that "all" would be LiveCode, since HTML is not LiveCode and neither is the browser to view it in.
It could certainly also be that, we'll have to wait till Danieg re-responds to clarify.FourthWorld wrote: ↑Wed Oct 30, 2019 4:13 pmSo you're referring to the server side only, with delivery to a web browser rather than a LiveCode standalone, is that correct?
Just in case it is the html5 choice, I'd have to guess it isn't possible in it's current state.

Re: Dynamic webapp/website
Using callbacks by javascriptHandlers it is certainly possible if the OP is medium advanced in both LC Script and javaScript...bogs wrote:Just in case it is the html5 choice, I'd have to guess it isn't possible in it's current state.
For example http://hyperhh.de/html5/FrameTalkHTML5.html is a website that loads four HTML5 standalones from two different servers and these standalones can send messages to each other (all client side).
shiftLock happens
Re: Dynamic webapp/website
Yes it would be possible under those conditions, but they did say
In it's current state, I really do not think it would be possible as a solely Lc solution using html5.Of course, I could be wrong, it isn't like that would be the first time eh, and none of it is anything I tend to mess around with in any event

However, like I said, that may not be the target either, Richard has brought up an alternate possibility and the OP has not chimed back in.

Re: Dynamic webapp/website
I really don't know what you mean: JavaScript is part of HTML5...
shiftLock happens
Re: Dynamic webapp/website
I am sorry, when I referred to 'html5' , I was talking about the 'html5 builder' in the Lc standalone settings panel, i.e. turning out an html5 standalone.
The picture I posted 3 posts earlier was what I was referring to, not html5 the web-standard, which is not part of LC.
The picture I posted 3 posts earlier was what I was referring to, not html5 the web-standard, which is not part of LC.

Re: Dynamic webapp/website
Sorry for not responding sooner. Thanks guys. I was thinking about a html standalone. But my project calls for a LC chatbot on any webpage. Using sockets would be a better solution I think. The chat engine was written in C++. They had an example of a chatbot on a webpage using "php".and sockets. Can I use LC in place of the php? The webpage uses inline php code.
Re: Dynamic webapp/website
I'd say your probably right there.
Richard or Hermann would have a far better understanding of this than I, but I believe the answer is 'yes' .

Re: Dynamic webapp/website
Yes such things are doable if you know both LC Script and php good enough -- but it will be slower.
Sadly nobody here will do that for you.
You could try yourself and ask with *concrete* scripting problems in an advanced forum, you are now in the 'complete beginners' forum.
Sadly nobody here will do that for you.
You could try yourself and ask with *concrete* scripting problems in an advanced forum, you are now in the 'complete beginners' forum.
shiftLock happens