How should a web page looks like...

Everything else that doesn't fall into one of the other categories.
irobot
Posts: 4
Joined: Fri Aug 01, 2014 8:15 am

How should a web page looks like...

Post by irobot »

Dear programmers, Dear Fred,

I've finished some time ago my project (please see www.der-prozess.de) with PureBasic.

I've done it with PureBasic because I'm not an real programmer, I only know some Basic.
I don't know C or C++ or Java or complex programmers "tricks" and what ever difficult stuff.
I hate complex stuff regarding computers. So, I really enjoy the easiness of PureBasic.
I think it is one of the greatest things to have only one myprogramm.exe and that is it.
This myprogramm.exe runs even from CD without any installation.
I hate complex installation routines which fills my computer with garbage.
OK thats for know.

Some days ago I've seen something about SpiderBasic. It looks VERY interesting for me.
I'm planing to re-write DER_PROZESS to use it on every Hardware with a browser.
Is this the main idea of SpiderBasic ? It runs even on Android-Machines ? Mac ?
I hope I can use as much code as possible from PureBasic.

Now my question:
--------------------
How should a web page looks like to start automatically DER_PROZESS on the browser when calling the web page ?
What is necessary to install ? In what folders ?
It is necessary to create an myprogramm.exe-file ?
I want to understand this.
Is there any documentation where I can find an answer to my question ?

Thank you in advance for your help and please, please keep it easy to understand for me.

And thank you to Fred an his team for this nice piece of software !

Regards
irobot
User avatar
MrTAToad
Posts: 291
Joined: Sun Apr 20, 2014 11:43 am
Location: Chichester, England
Contact:

Re: How should a web page looks like...

Post by MrTAToad »

This is what it looks like in a browser : http://triority.uk/SpiderBasicPseudo3D.html

In order to get it all working correctly, I updated everything from the Libraries directory and put it in /spiderbasic/libraries

Whether it is all needed, I don't know, but unless Fred states otherwise (or even perhaps releases a "run-time" pack), I would upload it all - there is a lot, so it will take a while.

It would then just be a matter of renaming the spiderbasic.html file to something suitable and uploading that too.
irobot
Posts: 4
Joined: Fri Aug 01, 2014 8:15 am

Re: How should a web page looks like...

Post by irobot »

MrTAToad thank you for your answer.

I think I've written my question not correct.

What I wanted to know is whicht files I must upload to my webpage, to let DER_PROZESS start when the webpage ist called by the browser.

Are there any "help-files" which explain this question ?

Thank you in advance for your answers.
irobot
Fred
Site Admin
Posts: 1506
Joined: Mon Feb 24, 2014 10:51 am

Re: How should a web page looks like...

Post by Fred »

You can not launch an exe from a webpage, you will have to rewrite it completely. Then you need to upload all the "spiderbasic/libraries/javascript" folder somewhere on your server and adapt the paths in SpiderBasic.html
irobot
Posts: 4
Joined: Fri Aug 01, 2014 8:15 am

Re: How should a web page looks like...

Post by irobot »

Fred,

thanks a lot for your answer.

I can imagine that it is not possible to run my DER_PROZESS.exe from the web page.
I'm trying TO UNDERSTAND what files I must upload to my webpage, to let a programm written with SpiderBasic run.

At the moment I'm rewriting DER_PROZESS with SpiderBasic.

When I've finished this work (maybe years...) I want to let people use DER_PROZESS by calling my webpage. That is all.
At the moment I've the 3 files:

DER_PROZESS.sb (only a very very little beginners part...)
SpiderBasic.js
SpiderBasic_Compilation0.html

in a folder.

Additionally I've now learned also to upload all the "spiderbasic/libraries/javascript" folder.
OK.

And then to adapt the path in SpiderBasic.html ? What is here to do for me ?

Sorry for this questions... and thanks in advance for your answers.

Is it possible to have a complete "Hello World"-example to learn what is to do ?

Regards
irobot
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: How should a web page looks like...

Post by Peter »

Hello irobot,

i wrote a little tool for copying the needed files and adapting the pathes:

http://forums.spiderbasic.com/viewtopic.php?f=9&t=100

Greetings ... Peter
irobot
Posts: 4
Joined: Fri Aug 01, 2014 8:15 am

Re: How should a web page looks like...

Post by irobot »

Peter, thanks a lot.
I will not install another piece of software.

I want to UNDERSTAND, what files I must upload to my webside.

When I know WHAT files I must upload, then I will upload this files with Total Commander to my webside.

The reason why I work with SpiderBasic is because I UNDERSTAND (a little bit) Basic.
I don't understand C or Java or C++ complicated computer stuff.
I don't understand all this smart tricks of computer experts.

I don't understand what does this mean:
And then to adapt the path in SpiderBasic.html
I've read this several times. What path ? What is here to do for me ?

Regards
irobot
User avatar
MrTAToad
Posts: 291
Joined: Sun Apr 20, 2014 11:43 am
Location: Chichester, England
Contact:

Re: How should a web page looks like...

Post by MrTAToad »

Essentially (and hopefully this will be changed), at the moment you need to rename the SpiderBasic.html to something meaningful when you are ready to upload.

The directory structure (and case) is important, and is the following order :

HTML file
libraries
+----Javascript
+----UserLibraries
All other files

Essentially everything in the Libraries directory needs to be transferred to your website (with Libraries renamed as libraries), along with your HTML 5

Windows 8.1 Phone can now run SpiderBasic programs (previous versions couldn't) - it is very slow though.
Chrome for Android (at least in my emulator) wont run HTML5, neither does Firefox for Android nor Dolphin. Whether it will on a proper device, I will only know when my new one comes...
Post Reply