First time on web... not so good

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

First time on web... not so good

Post by egolombek » Tue Jun 16, 2020 7:48 am

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

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 » 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
Last edited by richmond62 on Tue Jun 16, 2020 12:38 pm, edited 3 times in total.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 » Tue Jun 16, 2020 12:28 pm

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

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 » Tue Jun 16, 2020 12:53 pm

Password Obfuscation:

search.php?keywords=obfuscation

egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

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

Post by egolombek » Tue Jun 16, 2020 1:28 pm

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?

egolombek
Posts: 74
Joined: Thu Jan 30, 2020 2:11 pm

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

Post by egolombek » Tue Jun 16, 2020 1:30 pm

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).

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10099
Joined: Fri Feb 19, 2010 10:17 am

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

Post by richmond62 » Tue Jun 16, 2020 1:55 pm

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.

SparkOut
Posts: 2947
Joined: Sun Sep 23, 2007 4:58 pm

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

Post by SparkOut » Tue Jun 16, 2020 8:49 pm

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?

Post Reply