Everything else that doesn't fall into one of the other categories.
Jarlve
 
Posts: 19
Joined: Mon Jun 18, 2018 6:10 pm

Web program

by Jarlve Mon Jun 18, 2018 6:30 pm

Hey all,

I wrote a small test program with SpiderBasic and I am interested in creating a "web program" though I am not sure how that works exactly.

- I assume that every web program runs on a server or computer that is connected to the internet?
- Does that web program then use the resources of the server to run the program or can the client run the program?
- I want to test my program as a web program that has a real web address. Where do I start? What do I have to do?

Thank you.
falsam
 
Posts: 269
Joined: Mon May 05, 2014 9:49 pm
Location: France

Re: Web program

by falsam Tue Jun 19, 2018 10:05 am

Hello Jarlve. Welcome on board ;)
Jarlve wrote:I assume that every web program runs on a server or computer that is connected to the internet?
A web application coded with SpiderBasic runs on a server.
This server can be local or remote.
Jarlve wrote:Does that web program then use the resources of the server to run the program or can the client run the program?
SpiderBasic generates JavaScript code that will be interpreted by the user's browser. If you use a Php script with your SpiderBasic code, this Php script will be interpreted by the server. The rest of your code will be interpreted by the browser.
Jarlve wrote:I want to test my program as a web program that has a real web address. Where do I start? What do I have to do?
1 - Take a domain name and web hosting.
2 - When your application is ready, Create it from the Compiler -> Create App menu
Image
3 - With a Ftp software (FileZilla for example), transfer the application and files needed to run SpiderBasic
- index.html
- firstapplication.js
- SpiderBasic <folder>

➽ Windows 10 - JDK 1.8 - SB 2.20 - Android 5.5
http://falsam.com

Sorry for my poor english
Jarlve
 
Posts: 19
Joined: Mon Jun 18, 2018 6:10 pm

Re: Web program

by Jarlve Tue Jun 19, 2018 1:49 pm

Hey falsam,

Thank you for the clear and full answers! I should be able to get it going now.

Since as you say, the code will be interpreted by the client's browser, I take it that each client has its own instance of my web program? Each instance will need to load a 30 megabyte file into memory. Any recommendations about that? Should the program download the file from the server?

Thanks.
Return to General Discussion

Who is online

Users browsing this forum: No registered users and 4 guests