Search found 182 matches

by the.weavster
Mon Jan 19, 2015 6:48 pm
Forum: General Discussion
Topic: SpiderBasic New Design
Replies: 16
Views: 9832

Re: SpiderBasic New Design

Fred wrote:Also the theme should be fully "responsive", so you could browse the forum easily on a smartphone or tablet (just tried on Android, and it looks OK) :)
Looks pretty good on my Jolla too.
by the.weavster
Thu Jan 01, 2015 12:41 pm
Forum: Coding Questions
Topic: IP Address Visitor
Replies: 6
Views: 3402

Re: IP Address Visitor

However, given Fred's description of SB, it effectively is more a rival to PB (Fred says it compliments PB) Sure they can be used in a complementary way, for example now PureBasic has JSON commands you could use it to create a JSON-RPC server and then use SpiderBasic for the front end. More and mor...
by the.weavster
Mon Dec 29, 2014 8:39 pm
Forum: General Discussion
Topic: Understanding SpiderBasic
Replies: 8
Views: 5256

Re: Understanding SpiderBasic

I don't understand the purpose of Spider Basic. The intro in the help basically describes Spider Basic as a rival to Pure Basic....... PureBasic can be compiled for Linux, Windows and OSX running on an x86 processor. SpiderBasic runs in a browser which will take it to many more platforms. But even ...
by the.weavster
Mon Dec 29, 2014 8:12 pm
Forum: Coding Questions
Topic: IP Address Visitor
Replies: 6
Views: 3402

Re: IP Address Visitor

I think SpiderBasic is currently client side only so you'd have to do something like a HTTPRequest() to a PHP script to get it.

You can find the necessary PHP here.
by the.weavster
Thu Dec 25, 2014 12:43 pm
Forum: General Discussion
Topic: Understanding SpiderBasic
Replies: 8
Views: 5256

Re: Understanding SpiderBasic

Ive just updated my "Hello World" to take into account some new events that have appeared in SpiderBasic.

You should be able to run this code with SpiderBasic and PureBasic without needing any changes.
by the.weavster
Thu Dec 25, 2014 8:48 am
Forum: General Discussion
Topic: Understanding SpiderBasic
Replies: 8
Views: 5256

Re: Understanding SpiderBasic

Sorry but maybe I didn't explain topic very well. I see the loading event but even this event is called before the actual loaded or created sprite? No, it's bound before LoadSprite() but it's not called unless/until the specified event actually occurs. If you didn't bind the callback to the event u...
by the.weavster
Wed Dec 24, 2014 11:37 pm
Forum: Coding Questions
Topic: Passing/Returning JSON objects to/from inline JS
Replies: 0
Views: 2027

Passing/Returning JSON objects to/from inline JS

Is there a way of passing and returning JSON objects to/from procedures containing inline JavaScript without having to use JSON.parse() and JSON.stringify()?
by the.weavster
Wed Dec 24, 2014 10:20 pm
Forum: General Discussion
Topic: Understanding SpiderBasic
Replies: 8
Views: 5256

Re: Understanding SpiderBasic

The procedures are bound to events as callbacks (line 111). ; Register the loading event before calling any resource load command BindEvent(#PB_Event_Loading, @Loading()) BindEvent(#PB_Event_LoadingError, @LoadingError()) BindEvent(#PB_Event_RenderFrame, @RenderFrame()) So if, for example, LoadSprit...
by the.weavster
Tue Sep 02, 2014 7:00 pm
Forum: Coding Questions
Topic: How receive data from a php script
Replies: 11
Views: 9781

Re: How receive data from a php script

Works: Procedure HttpGetEvent(Success, Result$) If Success Debug Result$ ; -> {"value":"Hello World"} Else Debug "HTTPRequest(): Error" EndIf EndProcedure HTTPRequest(#PB_HTTP_Get, "http://localhost/sb/php.php", "", @HttpGetEvent()) Doesn't work: Re...
by the.weavster
Mon Sep 01, 2014 6:39 pm
Forum: Coding Questions
Topic: Compiler Run on MFirefox or Opera
Replies: 8
Views: 5076

Re: Compiler Run on MFirefox or Opera

@Logoman
I hope this helps.