Web program

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

Post by Jarlve »

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: 280
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

Re: Web program

Post by falsam »

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 11 - JDK 1.8 - SB 2.40 - Android 13
http://falsam.com

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

Re: Web program

Post by Jarlve »

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.
Post Reply