HTTP and Smart Basic

Post Reply
the_wesley_watkins
Posts: 42
Joined: Wed Jul 29, 2015 3:53 pm
My devices: Ipad
Iphone

HTTP and Smart Basic

Post by the_wesley_watkins »

I am not the greatest programmer in the world, so try not to laugh to hard if this is a stupid question, but I just really need some guidance.

I created a program similar to a time clock at work. People sign in on the app on their phones and then clock into work. I also have an admin account that is a monitor to see who is working and if they are clocked in, or late, etc.

However, with my lack of expertise in this error, could someone explain to me how I can set it up to work on multiple devices and the admin can actually see the changes.

At the begining of the program, I need for people to create an account, setup a username and password, then I need that information to be saved somewhere, in someway (which I have no clue how to do).

Then I need for everytime they clock in to work, the admin screen should show that they are clocked in. So, it will need to be constantly refreshed.


This question is mainly just about getting functionality over multiple devices and connecting them all together and how to save data from one device and show that data on another device.


Thank you!

Henko
Posts: 814
Joined: Tue Apr 09, 2013 12:23 pm
My devices: iPhone,iPad
Windows
Location: Groningen, Netherlands
Flag: Netherlands

Re: HTTP and Smart Basic

Post by Henko »

What you describe is a client-server application. I think (am almost sure) that such app cannot be made using SmartBasic. You cannot create a (server)website, you can only display the content of existing websites using the BROWSER statement (see the manual for this)

Henko
Posts: 814
Joined: Tue Apr 09, 2013 12:23 pm
My devices: iPhone,iPad
Windows
Location: Groningen, Netherlands
Flag: Netherlands

Re: HTTP and Smart Basic

Post by Henko »

After having another look at the manual, i think you could make the client part of the app, using the HTTP....POST command and the HTTP_RESPONSE$ command. But the server part is to be made with another tool (ihmo).

Post Reply