Page 2 of 3

Re: SpiderBasic 2.20 beta 1 is available !

Posted: Thu Oct 12, 2017 11:37 am
by T4r4ntul4
it should have a database link in the general libraries?
i see only: date, debugger, desktop and dialog

in the help manual that is

edit: and database.pb dont exist as exmaple in the help manual

Re: SpiderBasic 2.20 beta 1 is available !

Posted: Fri Oct 13, 2017 2:54 pm
by tj1010
Wow those local file functions are awesome

Re: SpiderBasic 2.20 beta 1 is available !

Posted: Sat Oct 14, 2017 8:17 am
by the.weavster
Outstanding new features!
SpiderBasic is moving to a new level now.

I think the SpiderBasic website needs updating to emphasize the fact it can be used for creating mobile apps, 'A Basic to master the web' just doesn't do it justice ;)

Re: SpiderBasic 2.20 beta 1 is available !

Posted: Tue Oct 17, 2017 9:22 am
by Fred
beta 2 is available on your online account and brings some important fixes !

Re: SpiderBasic 2.20 beta 2 is available !

Posted: Wed Oct 18, 2017 12:10 pm
by Thorsten1867
Code: Select all
DB = OpenDatabase(#PB_Any)

If DB
 
  DatabaseUpdate(DB, "Create Table SuperHeroes (Prename TEXT, Surname TEXT)")
 
  DatabaseUpdate(DB, "Insert Into SuperHeroes (Prename, Surname) Values ('Peter', 'Parker')")
  DatabaseUpdate(DB, "Insert Into SuperHeroes (Prename, Surname) Values ('Bruce', 'Wayne')")
  DatabaseUpdate(DB, "Insert Into SuperHeroes (Prename, Surname) Values ('Clark', 'Kent')")
 
  If DatabaseQuery(DB, "Select * From SuperHeroes Where Prename = 'Peter'")
    While NextDatabaseRow(DB)
      Debug GetDatabaseString(DB, 1) + "," + GetDatabaseString(DB, 0)
    Wend
    FinishDatabaseQuery(DB)
  EndIf
 
  CloseDatabase(DB)
 
EndIf

Re: SpiderBasic 2.20 beta 2 is available !

Posted: Wed Oct 18, 2017 12:14 pm
by Peter
@Thorsten1867: ?

Re: SpiderBasic 2.20 beta 2 is available !

Posted: Thu Oct 19, 2017 2:16 pm
by SparrowhawkMMU
@fred, I realise that this was not in the original wishlist post, but if it's not complicated to do, would you mind adding the following HTTP methods for completeness:

HEAD
OPTIONS
TRACE

And I wondered whether you were working on adding the ability to access response headers, as we have the ability to add request headers from 2.10?

With the above, we would have the full toolkit to write and consume APIs of any flavour (REST, RPC, etc).

Work is crazily busy right now so I still have not tested the beta, but I have set up a small PHP script to check what is sent using the new flags, so will knock up the SB front end soon and report back.

Thanks

Re: SpiderBasic 2.20 final is out !

Posted: Sun Oct 22, 2017 9:47 am
by Fred
final version is out, thanks a lot for the testing and feedback !

Re: SpiderBasic 2.20 final is out !

Posted: Sun Oct 22, 2017 10:31 am
by Peter
Fred wrote:final version is out, thanks a lot for the testing and feedback !

Thanks a lot for the new version! Image

Greetings ... Peter

Re: SpiderBasic 2.20 final is out !

Posted: Sun Oct 22, 2017 11:01 am
by useful