Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 4278

Xojo Web. What goes where?

$
0
0

I need some help understanding some basic concepts about Xojo Web.

My background:
I am not a professional programmer. I simply have thoughts along the line of ‘there must be a better solution for this problem’ and then I just put my mind to trying to figure out a solution. So for years I used Excel VBA to varying levels of success to create all kinds of projects and Xojo seemed like the next logical step. For the last year or so I have become comfortable with Xojo (to a basic level) to make some nice little standalone programs which a few of my coworkers now use. The end result using Xojo certainly looks a lot better than using VBA. It is now time to take the next step into web apps. I have a specific project in mind for for which I believe Xojo Web + Xojo Cloud will be the answer. However I am worried about security and this worry stems mostly from my ignorance. I keep reading how safe and secure Xojo web is and this may be so but without understanding some basic concepts I could accidentally expose user data from setting up my project incorrectly. From perusing the forums and the small amount of available learning resources it seems like most people using Xojo Web already have a fairly good working knowledge of producing web pages using html,css,javascript & php, which I do not have. I have never set up even a simple web page in my life. To understand some basic concept I have spent some time learning about packets/frames/cookies/http/https/DNS/headers/TCP.IP etc etc. I am not sure any of this is needed to create a Xojo Web app but it can’t hurt.

So anyway my question is as follows:

In a web project there is the app, session, web pages and various other things such as classes etc. My current understanding is that the web pages are constantly communicating with the server and that the actual processing is done server side? If my assumption is correct then where should sensitive variables be located? For example: Lets say I create a web app that I distribute to a few friends where each of them rate the others on a scale of 1-5. Then some kind of calculation is done to work out the best friend and only this ‘winner’ is made known to all of the others. Obviously it would be a big problem if they could access the answers given by the others. So when the web app is created what variables go where to ensure privacy? Obviously the user needs a place to enter the information. So there will be some kind of controls to rate the friends and a button. Upon clicking the button the control values are placed temporarily in a variable… where should this variable go to ensure absolute privacy. In the web page/session/app? And then where is the best place to calculate the results? I am guessing the the app but am not sure. There was a comment I read somewhere that any information in the app is accessible by all users of the web app?

Anyways… if someone can answer this longwinded question for me I will be very grateful. Without this rudimentary understanding of how the web projects actually work I am floundering in even getting started.

Thanks
Tim

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 4278

Trending Articles