Page 1 of 1

SpiderBasic and PHP

Posted: Tue Nov 07, 2017 2:31 pm
by CieloInvernale
I couldn't find any reference or example about mixing client-side development using SpiderBasic and server-side development using PHP. Please can you point me to the API's documentation where is explained how to make SpiderBasic scripts communicate with server-side scripts (using PHP)? I wasn't able to find such documents by myself. Do SpiderBasic scripts communicate with server-side scripts using JSON or XML and AJAX calls? Or by some other method?

I'd really appreciate if you can tell me how to find the appropriate documentation about such things.

Thanks in advance for your time and attention.

Re: SpiderBasic and PHP

Posted: Tue Nov 07, 2017 3:27 pm
by falsam
Hello CieloInvernale and welcome.

HTTPRequest(Type, URL$, Parameters, Callback [, UserData [, Headers()]])

https://www.spiderbasic.com/documentati ... quest.html

Re: SpiderBasic and PHP

Posted: Tue Nov 07, 2017 3:41 pm
by Peter
... alternatively, you can test whether SpiderBite meets your requirements.

You can find it here: https://github.com/spiderbytes/SpiderBite
(sorry, the documentation is in german, but you can use something like DeepL for the translation)

Greetings ... Peter

Re: SpiderBasic and PHP

Posted: Wed Nov 08, 2017 10:51 am
by CieloInvernale
Thanks a lot for your answers.
One more question about the documentation: is the ListIconGadget the only gadget able to display tabular data? I've searched the documentation for "tables" and/or "data-grids" widgets (or gadgets using SpiderBasic jargon...) but I couldn't find any other....

Re: SpiderBasic and PHP

Posted: Wed Nov 08, 2017 11:40 am
by Peter
CieloInvernale wrote:is the ListIconGadget the only gadget able to display tabular data?
perhaps the gridbox-Element from the Dialog-Library (http://www.spiderbasic.com/documentatio ... ialog.html) fits your needs.

otherwise:

here is (for example) a module for Tabulator: https://github.com/spiderbytes/Tabulator
... or take a look here: http://forums.spiderbasic.com/viewtopic.php?f=9&t=1182

Greetings ... Peter

Re: SpiderBasic and PHP

Posted: Wed Nov 08, 2017 8:29 pm
by tj1010
You just use $_GET and $_POST like with web dev. PDO for databases because of security.

Re: SpiderBasic and PHP

Posted: Wed Jun 26, 2019 2:33 pm
by Dirk Geppert
Peter wrote: here is (for example) a module for Tabulator: https://github.com/spiderbytes/Tabulator
Greetings ... Peter
:o I have just discovered - this is a powerful tool! thanks a lot for making it usable with SB.

Ciao Dirk

Re: SpiderBasic and PHP

Posted: Wed Jun 26, 2019 3:01 pm
by Peter
Dirk Geppert wrote: :o I have just discovered
shame on you!

;)