SpiderBasic 1.00 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
skywalk
Addict
Addict
Posts: 4210
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: SpiderBasic 1.00 alpha

Post by skywalk »

Poshu wrote:@skywalk : Why? I'd guess because 1.00 alpha. Amaright?
I can understand the SQLite omission in alpha, but I don't understand a programming language even in alpha form, that cannot read or write to disk. Is that not a core browser function, like cookies?
Is there a way to access the windows api?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: SpiderBasic 1.00 alpha

Post by Danilo »

Poshu wrote:@Danilo : It works for me, even with debugger enabled. (Win 8.1 in a VM, firefox up to date, spiderbasic installed at the root of C:\, using an admin account )
Everything works fine in Safari, also outside IDE.

With IE11 it works only from within the IDE. Opening the .html directly with IE11, it does not work correctly here:
Some examples don't display the window, with Canvas example the window is empty.
2DDrawing example also empty window.
And with IE11 the shark image looks weird, it is nearly complete white.
infratec
Always Here
Always Here
Posts: 7576
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: SpiderBasic 1.00 alpha

Post by infratec »

Hi,

not tested anything up to now, but...

I hate this browser stuff.
Years ago I decided to use flash, because that was independent from the used browser.
Now the only way looks like to use HTML5 and the canvas stuff.
In good hope that everything produced looks similar on all browsers.

But one very big and ugly thing:

We can not access real hardware stuff out of the browser.
We often have to communicate via serial ports and network and have to access databases.
I think that will not be possible on all OSs and browsers.

So I still have to use some other languages on Android and ARM CPUs.

Maybe if I can really use the same code without to much compilerif ...

Bernd
infratec
Always Here
Always Here
Posts: 7576
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: SpiderBasic 1.00 alpha

Post by infratec »

Hi,

just played a bit:

The screen program works once.
When I compile it a second time the web browser window opens, background is coloured, but no program starts.
(FireFox 26)
When I try some stuff, like open and run an other example, or close and open SpiderBasic, it works one time again.

Bernd
plouf
Enthusiast
Enthusiast
Posts: 281
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Re: SpiderBasic 1.00 alpha

Post by plouf »

Pretty Good and nice waiting for the "beta" version to really test it !


@infratec , thats seems one of the reasons to be a separate project, even if it looks identical ! definitely need to be hardware access and in the real future both binary executable and web based based apps will have its place.

but obviously "true web based" its what more and more "simple users" are all they want ! most people use their "computer" for just web apps
(facebook gmail online games etc..)
Christos
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: SpiderBasic 1.00 alpha

Post by akee »

Wow! Thanks Fred...
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha

Post by Fred »

skywalk wrote:
Poshu wrote:@skywalk : Why? I'd guess because 1.00 alpha. Amaright?
I can understand the SQLite omission in alpha, but I don't understand a programming language even in alpha form, that cannot read or write to disk. Is that not a core browser function, like cookies?
Is there a way to access the windows api?
All is sandboxed for web apps, that means you can't access the host file system (for security reasons) or native API. The idea here is to have something which run everywhere :). So files are pretty much useless and only required for caching. The way web apps works is to store data on servers. On mobile phone it's a bit different as you can access local file system (within your directory).
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha

Post by Fred »

User_Russian wrote:How to create a working application?
Files, similar to SpiderBasic_Compilation0.html not work if open in the browser.
You can not create easily a standalone app for now, it should be run from the IDE.
plouf
Enthusiast
Enthusiast
Posts: 281
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Re: SpiderBasic 1.00 alpha

Post by plouf »

quick idea ! , i believe some kind of "scramble" code if can be implemented in final version 1.0 !?

as it seems right now that its easy and very easy to copy codes from programs
Christos
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha

Post by Fred »

Yes, you can use an obfuscator, but they can all be reversed very quickly and will slow down your code.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha

Post by Fred »

I just re-uploaded a new version which includes the missing requester library (for MessageRequester())
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Re: SpiderBasic 1.00 alpha

Post by uwekel »

Hmh, that sounds not that good to me :-(
I would more like to see further and intensive developement of PureBasic (like in the past year).
I am afraid it get stuck a bit :-(
If so, it would force me to entirely move to Python.
Fred, what is your future plan to PureBasic?
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: SpiderBasic 1.00 alpha

Post by akee »

Yup! missing MessageRequester and also False positive on LibraryMaker.exe using Avast anti-virus... ;)

I have reported it... ;)
plouf
Enthusiast
Enthusiast
Posts: 281
Joined: Fri Apr 25, 2003 6:35 pm
Location: Athens,Greece

Re: SpiderBasic 1.00 alpha

Post by plouf »

Fred wrote:Yes, you can use an obfuscator, but they can all be reversed very quickly and will slow down your code.
this must be external ? not possible (or unwanted to) be part of sb 1 ?

at least some parts in SOME apps will be needed. i dont know how "easy will be" especialy if functions naming and variable naming its all messed up.
its significant diffirent to be a variable called NumberofCustomers from varXYS234

as always it is not ment to be super proof but "protected enough" IMHO
Christos
infratec
Always Here
Always Here
Posts: 7576
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: SpiderBasic 1.00 alpha

Post by infratec »

Ugly:

If I now double click on my PB files, they open in SpiderBASIC.
And when I uninstall SpiderBASIC, I get an error.
So I have to setup the extensions again.

Maybe (since it is not compatible) the source files should have an other extension: SB and SBI
PB stands for PureBASIC.

Bernd
Post Reply