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!
HTTP and Smart Basic
-
- Posts: 42
- Joined: Wed Jul 29, 2015 3:53 pm
- My devices: Ipad
Iphone
-
- Posts: 814
- Joined: Tue Apr 09, 2013 12:23 pm
- My devices: iPhone,iPad
Windows - Location: Groningen, Netherlands
- Flag:
Re: HTTP and Smart Basic
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)
-
- Posts: 814
- Joined: Tue Apr 09, 2013 12:23 pm
- My devices: iPhone,iPad
Windows - Location: Groningen, Netherlands
- Flag:
Re: HTTP and Smart Basic
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).