SpiderBasic 1.00 is out !

Developed or developing a new product in PureBasic? Tell the world about it.
karu
Enthusiast
Enthusiast
Posts: 255
Joined: Fri Jan 13, 2006 12:14 am

Re: SpiderBasic 1.00 alpha 4

Post by karu »

For HTTPRequest() you use probably ajax request? If yes then cross domain requests is not allowed?
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha 4

Post by Fred »

Yes, it's not allowed.
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: SpiderBasic 1.00 alpha 4

Post by useful »

Fred, I understand that hasten events, but you have already pricked and now bear the responsibility for us. :)
Can be some details about HTTPRequest and a more detailed example of an interactive?
Dawn will come inevitably.
loulou25223
User
User
Posts: 32
Joined: Thu Jan 16, 2014 7:07 pm

Re: SpiderBasic 1.00 alpha 4

Post by loulou25223 »

Seems to be a great programm. Does spiderbasic support Database ?
Thanks
User avatar
Comtois
Addict
Addict
Posts: 1431
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: SpiderBasic 1.00 alpha 4

Post by Comtois »

Alexi wrote:How we can actually build a final application? What files are needed to host on a webserver? Just to run an application from web without the SB IDE. :D
Have a look here

http://www.purebasic.fr/english/viewtop ... &start=266
Please correct my english
http://purebasic.developpez.com/
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha 4

Post by Fred »

Very nice with Chrome !
User avatar
oryaaaaa
Addict
Addict
Posts: 825
Joined: Mon Jan 12, 2004 11:40 pm
Location: Okazaki, JAPAN

Re: SpiderBasic 1.00 alpha 4

Post by oryaaaaa »

Thank you.

I want to build target.
Web optimized code 800x600, 1000x800, 1900x1000.
and iOS, Android
and Phisical screen and Logical screen, Auto optimizing resize funciton.

I made simple demo.
https://www.facebook.com/permalink.php? ... 4151338856
* Japanese displayed

Cheer, take care.
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: SpiderBasic 1.00 alpha 4

Post by useful »

javascript-eval sin not to use, but it is changing the paradigm of PB, but allows you to have a similar Dynamic Link Libraries
Dawn will come inevitably.
smishra
User
User
Posts: 70
Joined: Tue Jun 06, 2006 3:39 pm
Location: Maryland US

Re: SpiderBasic 1.00 alpha 4

Post by smishra »

SpiderBasic looks very good.. and I am tempted to start developing real applications in it.

Here is some of the functionality that I will need to implement. Any tips, pointers on the best way to do this would be great. It should be possible to drop down to Native JS and HTML 5 API calls to do this, but if this functionality was available as SpiderBasic commands that would be great. If the development roadmap of SpiderBasic is known we could develop in such a way that it will be able to use additional features when they become available.

1. Make requests to server to get data. Current practice seems to be make asynchronous AJAX requests that return JSON formatted data. If there was a good way to do this in SpiderBasic it would be great. JSON is important because a lot of Web Services use JSON.

Some kind of a simulated CreateThread would be great

2. I guess we can drop down to Native JS and HTML5 API for local data storage. Spider Basic commands to do local data storage would be great.

3. A strategy to be able to call native platform APIs and native user libraries (written in C, C++ or PB). We might be able to take the HTML5/JS files generated by Spider Basic and run it through Apache Cordova/Phone Gap for native API calling. This would allow us to generate Android and iOS apps.

From what I see SpiderBasic is going to be a great product!
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: SpiderBasic 1.00 alpha 4

Post by useful »

Mongoose !!!!! Overview
To accomplish it's mission, Mongoose keeps balance on functionality and simplicity by carefully selected list of features:

Works on Windows, Mac, UNIX, iPhone, Android, and many other platforms
Support for CGI, SSL, SSI, Digest (MD5) authorization, Websocket, WEbDAV
Lua server pages (PHP-like functionality using Lua) with SQLite3, see dirscan.lp
Resumed download, URL rewrite, IP-based ACL, Windows service
Excluding files from serving by URI pattern (file blacklist)
Small footprint: Mongoose core size is under 40 kB on Linux 2.6 i386 system
320 kilobytes Windows executable with all of the above (including SSL, Lua, Sqlite) and no dependencies
Simple and clean embedding API, mongoose.h. The source is in single mongoose.c file to make things easy.


Probably today we can develop PureBasic(CGI) + SpiderBasic(Frontend) on http://localhost/
http://linux.die.net/man/1/mongoose
Unlike other web servers, mongoose does not require CGI scripts be put in a special directory. CGI scripts can be anywhere. CGI (and SSI) files are recognized by the file name pattern. mongoose uses shell-like glob patterns with the following syntax:
.......

p.s. I would not separate projects on purebasic and spiderbasic but be complementary to ide new functionality (SPB = SuperPureBasic) 8) :idea:

p.p.s. you need to add SpiderBasic server pages (PHP-like functionality using SpiderBasic) with SQLite3 :)

I see the next step SB IDE developed on SB :shock:

if you imagine all the possibilities of the planned Fred in SpiderBasic blows the roof !!!!!!!!!!!!!! :shock: :shock: :shock:
Dawn will come inevitably.
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: SpiderBasic 1.00 alpha 4

Post by useful »

Fred, where to place mongoose.conf(for php-cgi.exe), and whether he's understood sbmongoose.exe?
Dawn will come inevitably.
User avatar
useful
Enthusiast
Enthusiast
Posts: 402
Joined: Fri Jul 19, 2013 7:36 am

Re: SpiderBasic 1.00 alpha 4

Post by useful »

I did WEB development and not meant to, but spiderbasic changed my plans.
In this regard, the fundamental question to Fred and Team:
whether the priority orientation node.js or you need to look in the direction of the cgi(nativ,php,...)?
Dawn will come inevitably.
karu
Enthusiast
Enthusiast
Posts: 255
Joined: Fri Jan 13, 2006 12:14 am

Re: SpiderBasic 1.00 alpha 4

Post by karu »

Fred, how to wait for something in SP.

Code: Select all

Repeat
Until laetud = 1
freeze the browser.

It needed when loading inside same procedure multiple asynchronous things(example HTTPRequest) in succession, where you can't load second before previous loaded?
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha 4

Post by Fred »

useful wrote:I did WEB development and not meant to, but spiderbasic changed my plans.
In this regard, the fundamental question to Fred and Team:
whether the priority orientation node.js or you need to look in the direction of the cgi(nativ,php,...)?
It's a bit early to speak about that, but I guess node.js or PB CGI will be the way to go. About mongoose, it's patched webserver only meant to be used by the SB IDE, so if you want to setup a real webserver you can download mongoose and hack with it :).
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: SpiderBasic 1.00 alpha 4

Post by Fred »

karu wrote:Fred, how to wait for something in SP.

Code: Select all

Repeat
Until laetud = 1
freeze the browser.

It needed when loading inside same procedure multiple asynchronous things(example HTTPRequest) in succession, where you can't load second before previous loaded?
You can't wait in javascript, you have to use timers (or chained callbacks).
Post Reply