SpiderBasic and PHP

Just starting out? Need help? Post your questions and find answers here.
CieloInvernale
Posts: 2
Joined: Tue Nov 07, 2017 2:26 pm

SpiderBasic and PHP

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

Re: SpiderBasic and PHP

Post by falsam »

Hello CieloInvernale and welcome.

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

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

➽ Windows 11 - JDK 1.8 - SB 2.40 - Android 13
http://falsam.com

Sorry for my poor english
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: SpiderBasic and PHP

Post 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
CieloInvernale
Posts: 2
Joined: Tue Nov 07, 2017 2:26 pm

Re: SpiderBasic and PHP

Post 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....
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: SpiderBasic and PHP

Post 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
tj1010
Posts: 201
Joined: Wed May 27, 2015 1:36 pm
Contact:

Re: SpiderBasic and PHP

Post by tj1010 »

You just use $_GET and $_POST like with web dev. PDO for databases because of security.
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: SpiderBasic and PHP

Post 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
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: SpiderBasic and PHP

Post by Peter »

Dirk Geppert wrote: :o I have just discovered
shame on you!

;)
Post Reply