Page 1 of 1

First time on web... not so good

Posted: Tue Jun 16, 2020 7:48 am
by egolombek
So, I decided to create a web version of an app I've been working on and try compiling it for the web. I found a free hosting site (000webhost) and I used the Community Edition. I used the instructions in the Lesson (http://lessons.livecode.com/m/4071/l/80 ... on-the-web) and was very happy to see that the process was not all that tricky.

But...
- the website literally takes 70 seconds to load.
- it doesn't work -- the first thing that is supposed to happen is that you enter a password, and it checks your password with an online database. Nada. I can enter the password, but for some reason the backspace key does not work. But most significantly the sign-in button does not work.
- the graphics are all weird. It looks like a screenshot, not a native app.

I figure I must be doing a lot wrong, so any help would be appreciated.

For a screenshot: https://drive.google.com/file/d/1I7GSqE ... sp=sharing

Image

Re: First time on web... not so good

Posted: Tue Jun 16, 2020 12:26 pm
by richmond62
- the graphics are all weird. It looks like a screenshot, not a native app.
Yes, they tend to be pretty ugly, and if you want anything different at the moment you need to do a lot of "aesthetic" work.

What do you mean by "a native app" in the context of something in a browser?

I don't think it is reasonable for a browser based app to adjust itself to the look-and-feel of an end-user's operating system.

How, for the sake of being awkward, are you going to ensure that when I open your web-page in Oregano

[http://www.genesys.org.uk/oregano2.html] on my machine running RISC OS 5 your in-browser app looks like a RISC OS native application?
-
rigan.png

Re: First time on web... not so good

Posted: Tue Jun 16, 2020 12:28 pm
by richmond62
I can enter the password, but for some reason the backspace key does not work. But most significantly the sign-in button does not work.
What I noticed in your screenshot was that the password is visible en clair, rather than a series of dots . . .
-
Screenshot 2020-06-16 at 14.27.44.png

Re: First time on web... not so good

Posted: Tue Jun 16, 2020 12:53 pm
by richmond62
Password Obfuscation:

search.php?keywords=obfuscation

Re: First time on web... not so good

Posted: Tue Jun 16, 2020 1:28 pm
by egolombek
Yah, I know. I thought about it. But it is for young kids, and often sites do not obscure their passwords for a variety of reasons.

But... anyway, the web app actually does not work. Is there a problem opening a database from a web version of the app?

Re: First time on web... not so good

Posted: Tue Jun 16, 2020 1:30 pm
by egolombek
richmond62 wrote:
Tue Jun 16, 2020 12:26 pm
- the graphics are all weird. It looks like a screenshot, not a native app.
Yes, they tend to be pretty ugly, and if you want anything different at the moment you need to do a lot of "aesthetic" work.

What do you mean by "a native app" in the context of something in a browser?

I don't think it is reasonable for a browser based app to adjust itself to the look-and-feel of an end-user's operating system.

How, for the sake of being awkward, are you going to ensure that when I open your web-page in Oregano

[http://www.genesys.org.uk/oregano2.html] on my machine running RISC OS 5 your in-browser app looks like a RISC OS native application?
-
rigan.png
Well, I expected the compiled version to look like a website, not a photo of a website. Glad I was trying it out with Community Edition and didn't sink $500 into the paid version! Especially since it does not seem to work for me. (Although hopeful someone will know what I'm doing wrong).

Re: First time on web... not so good

Posted: Tue Jun 16, 2020 1:55 pm
by richmond62
to look like a website, not a photo of a website.
That's an odd statement as, surely, a photo of a website would look exactly the same as that website.

If you mean that you didn't really want you're LiveCode thing in a webpage to look like some sort of
Windows 3.1 knock-off I'd have to agree.

Actually it makes me think of Visual BASIC 5. :(

Personally I have only messed around with the HTML export thing twice
as it is clear to see that the graphics are fairly awful, and the functionality is not up to par.

This has also been said by far more experienced folk than myself.

I sincerely hope that the good people at LiveCode central will sort the whole HTML thing out
fairly soon.

Re: First time on web... not so good

Posted: Tue Jun 16, 2020 8:49 pm
by SparkOut
To answer one of the questions, albeit with uncertified info, I believe that it is possible to use a database from a LiveCode HTML5 app. If I remember seeing, and if I understand what I remember, I think the caveat is that the path to the database is crucial to get right.
If you "answer the result" when you try to open the database connection, do you get an error message?