Search found 182 matches

by the.weavster
Fri May 29, 2015 8:04 pm
Forum: General Discussion
Topic: ManifoldJS
Replies: 1
Views: 2434

ManifoldJS

I've just stumbled across this open source project from Microsoft, it reads the manifest of an open web app and uses that to package the associated HTML/JS together with the Cordova runtime in order to turn it into an app for Android, iOS and Windows Phone.
by the.weavster
Thu May 28, 2015 10:05 pm
Forum: General Discussion
Topic: Using in IOS and ASDK webview apps?
Replies: 7
Views: 3943

Re: Using in IOS and ASDK webview apps?

That basically means no to the whole topic then. SpideBasic is like 97% JS. I'd still use it for FB and HTML5 games and apps, although I don't do many. JSON based web management back-ends too. I would say it means it's entirely possible should SpiderBasic ever target Cordova (or similar runtime) wh...
by the.weavster
Thu May 28, 2015 5:27 pm
Forum: General Discussion
Topic: Using in IOS and ASDK webview apps?
Replies: 7
Views: 3943

Re: Using in IOS and ASDK webview apps?

JS falls under that category, I wonder if it's domain sandbox design exempts it? I don't think which language is being interpreted is relevant, the point is the code being interpreted must have been part of the package approved by Apple as acceptable to be available from the app store, it can not b...
by the.weavster
Thu May 28, 2015 7:46 am
Forum: General Discussion
Topic: Using in IOS and ASDK webview apps?
Replies: 7
Views: 3943

Re: Using in IOS and ASDK webview apps?

As tools such as Cordova and CocoonJS target iOS I guess it's OK.

The Apple restriction as I understand it is that any interpreted code must be included in the installed package, it can't be downloaded or created subsequently.
by the.weavster
Tue Mar 24, 2015 4:16 pm
Forum: Coding Questions
Topic: SpiderBasic JSON UTF-8 encoding
Replies: 6
Views: 2904

Re: SpiderBasic JSON UTF-8 encoding

Fred wrote:There is no HttpRequest() in PB
Well... what else have you got to do today? ;)
by the.weavster
Tue Mar 24, 2015 2:53 pm
Forum: Coding Questions
Topic: SpiderBasic JSON UTF-8 encoding
Replies: 6
Views: 2904

Re: SpiderBasic JSON UTF-8 encoding

Would this work?: Procedure.s StringifyJSON(json) CompilerIf #PB_Compiler_OS = #PB_OS_Web ProcedureReturn ComposeJSON(json) CompilerElse CompilerIf #PB_Compiler_Unicode = 1 nEncoding = #PB_Unicode CompilerElse nEncoding = #PB_Ascii CompilerEndIf txt.s = ComposeJSON(json) *mem = AllocateMemory(String...
by the.weavster
Tue Mar 24, 2015 11:48 am
Forum: Coding Questions
Topic: SpiderBasic JSON UTF-8 encoding
Replies: 6
Views: 2904

Re: SpiderBasic JSON UTF-8 encoding

Thanks Fred, It might be an idea to edit the ComposeJSON() command reference in the SpiderBasic help file as it's a little misleading at the moment. Could we have a StringifyJSON(#JSON) command that returns a UTF-8 string in both SpiderBasic and PureBasic so we don't have to do any CompilerIf stuff ...
by the.weavster
Fri Mar 20, 2015 8:48 pm
Forum: Coding Questions
Topic: SpiderBasic JSON UTF-8 encoding
Replies: 6
Views: 2904

SpiderBasic JSON UTF-8 encoding

The PHP json_decode() command expects a UTF-8 encoded string, how do I create a JSON object encoded as a UTF-8 string to pass to HTTPRequest() in a way that works with both SpiderBasic and PureBasic?

Thanks.
by the.weavster
Thu Mar 19, 2015 7:57 pm
Forum: General Discussion
Topic: SpiderBasic 1.00 is out !
Replies: 11
Views: 8019

Re: SpiderBasic 1.00 is out !

Excellent timing!
I'm just about to start on a new web project.
by the.weavster
Thu Mar 19, 2015 7:54 pm
Forum: Feature Requests and Wishlists
Topic: Database
Replies: 5
Views: 3390

Re: Database

If the database is on server side that's will be good. What i want is only to have access to a database. If you have an exemple of integrating PHP or ASP with ado it would be great for me . Thanks PHP has great database support. I'd suggest creating a remote procedure call server in PHP and interac...