SpiderBasic 2.00 released !

Developed or developing a new product in PureBasic? Tell the world about it.
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

SpiderBasic 2.00 released !

Post by Fred »

Hi there,

We are very happy to announce the 2.00 version of SpiderBasic, a web and mobile oriented fork of PureBasic. Its syntax is very similar to PureBasic and you can target Android, iOS and Web application ! A free version is available for small apps creation. For more information: https://www.spiderbasic.com/

Code: Select all

- Added: Android App creation support (Windows version only)
- Added: iOS App creation support (MacOS version only)
- Added: InAppPurchase library (Android only)
- Added: new 'Create App' window in the IDE to ease the app creation
- Added: app name field for WebApp
- Added: default browser choice in Preferences -> Compiler
- Added: too old browser detection when launching an app
- Added: a lot of switch to the commandline compiler to support mobile app
- Added: custom headers support to HttpRequest()
- Added: #PB_Text_VerticalCenter flag to TextGadget()
- Added: touch support to window dragging and resizing
- Added: IsScreenActive()

- Optimized: reduced greatly DOJO footprint for much faster app loading
- Optimized: minified most of the spiderlibraries dependencies to reduce footprint

- Updated: DOJO to lastest 1.11.2 version

- Changed: Moved the old 'Export' panel to new 'Create App' window
- Changed: OSX compiler is now bundled in the main SpiderBasic app for easier installation
- Changed: New dmg for OSX for drag'n'drop install to support Sierra
- Changed: Examples on Windows are now installed in 'common app' folder to avoid permission issues

- Fixed: Many bug fixes 
The Fantaisie Software Team
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8425
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: SpiderBasic 2.00 released !

Post by netmaestro »

Wow! This is big news!! Wasn't expecting release news anywhere near this good. Thanks Fred

- btw is my 1.x license still good or do I have to buy an upgrade? Spider's not lifetime like PB iirc. Glad to do it if I need to.
BERESHEIT
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: SpiderBasic 2.00 released !

Post by Mistrel »

I downloaded and installed it and browsed through the documentation. It looks very similar to PureBasic but with a different set of standard libraries. I wasn't exactly sure what the use case was for the 1.0 release as a web platform as it seemed like some kind of application framework like Java applets rather than something like to build a website like asp or php.

The release of 2.0 is even more confusing as it throws Android and iOS into the mix. I'm not exactly sure how to approach this product. And there aren't any demos or examples on the website to help direct me.

It's certainly a product but I don't understand why I should want to use it as a platform.
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

Re: SpiderBasic 2.00 released !

Post by Marc56us »

Mistrel wrote: And there aren't any demos or examples on the website to help direct me.
Online showcase viewer
http://www.spiderbasic.com/showcase/onlineviewer/

:wink:
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: SpiderBasic 2.00 released !

Post by Mistrel »

Marc56us wrote:
Mistrel wrote: And there aren't any demos or examples on the website to help direct me.
Online showcase viewer
http://www.spiderbasic.com/showcase/onlineviewer/
I'm blind. I did see the Soccer Trainer thing.

It's still a very strange platform with all of the desktop features rendering in a browser.
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

Re: SpiderBasic 2.00 released !

Post by Marc56us »

In a few word, SpiderBasic is a code generator who transform PureBasic code in Javascript code then upload it on a webserver.
All PureBasic functions can't be used because Javascript is a web client technology.

For local developpment, a webserver is not needed to test.

The big new in 2.0 is the ability to be used in android and iOS

:wink:
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 2.00 released !

Post by Fred »

About rich web app creation, it's mainly used for server based app, to be able to create a responsive interface easily, similar to what you can see on desktop OS. It's meant for productivity.

It supports game creation as well, and iOS and Android is for now focused on game (even if you can indeed build an app as well). Still young and not very polished but it works (it even support InAppPurchase on Android).
User avatar
SparrowhawkMMU
User
User
Posts: 44
Joined: Fri Jan 17, 2014 8:55 pm
Location: UK

Re: SpiderBasic 2.00 released !

Post by SparrowhawkMMU »

@Mistrel: I use it to create business front ends to APIs that I created for the company I'm currently with. Basically SB brings together a whole bunch of JS libraries and hides them behind the familiar PureBasic syntax. The IDE is the same as the one from PureBasic.

So, in my case, the SB-generated Javascript calls PHP API endpoints on some webservers with JSON RPC payloads which in turn send back JSON RPC responses which get converted to values I display in web forms.

Which is why I am very excited about the new custom headers support for HTTPRequest() as this opens up the possibility of being fully JSON RPC compliant and also allows me to hook up SB front ends to other in-house and external APIs that, for example, use JWTs for security.

Yes, all this cold be done with native JavaScript, but I prefer the PB/SB syntax and the convenience of the IDE and toolset. (As an aside, I have started using PB again after being smitten with SB :) )

Note: once you have exported your project into JS/HTML/CSS, you can deploy the exported content freely, there is no SpiderBasic dependency or licensing fees.

As Fred says, there is more that needs doing, but I can attest to the fact that it is a very impressive tool already and fixes and new features appear every few weeks.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: SpiderBasic 2.00 released !

Post by Mistrel »

So if I'm understanding this correctly then all interactive functionality boils down to JavaScript running on the client's side?
SparrowhawkMMU wrote:Which is why I am very excited about the new custom headers support for HTTPRequest() as this opens up the possibility of being fully JSON RPC compliant and also allows me to hook up SB front ends to other in-house and external APIs that, for example, use JWTs for security.
I would like to see a wider range of use cases like this where the platform can be leveraged beyond floating windows and desktop-like interfaces. I know that there is now the addition of Android and iOS features. I hope to see some examples of these sometime in the future.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: SpiderBasic 2.00 released !

Post by srod »

Does SB create native Android java apps or are they still web apps running in a brower? Not that I have a problem with that - just curious.
I may look like a mule, but I'm not a complete ass.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: SpiderBasic 2.00 released !

Post by Mistrel »

srod wrote:Does SB create native Android java apps or are they still web apps running in a brower? Not that I have a problem with that - just curious.
I have a similar question but for iOS.
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: SpiderBasic 2.00 released !

Post by falsam »

srod wrote:Does SB create native Android java apps or are they still web apps running in a brower? Not that I have a problem with that - just curious.
Mistrel wrote:I have a similar question but for iOS.
The SpiderBasic library uses dojo.js.

With Android or iOS, SpiderBasic uses a chromium container to run JS as an app with access to APIs and WebGL support

https://crosswalk-project.org/

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

Re: SpiderBasic 2.00 released !

Post by Mistrel »

I can imagine that this wouldn't matter for games which draw everything. But can Android and iOS apps leverage native UI controls for non-games?

Also, what is the minimum supported platform for both?
User avatar
falsam
Enthusiast
Enthusiast
Posts: 630
Joined: Wed Sep 21, 2011 9:11 am
Location: France
Contact:

Re: SpiderBasic 2.00 released !

Post by falsam »

I think you should ask the questions on the SpiderBasic forum ^^

➽ Windows 11 64-bit - PB 6.0 x64 - AMD Ryzen 7 - NVIDIA GeForce GTX 1650 Ti

Sorry for my bad english and the Dunning–Kruger effect.
User avatar
Psychophanta
Addict
Addict
Posts: 4968
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: SpiderBasic 2.00 released !

Post by Psychophanta »

Awesome version!
Thanks! :!:
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
Post Reply