Search found 22 matches

by cederavic
Thu Nov 24, 2016 10:58 am
Forum: General Discussion
Topic: How to start?
Replies: 17
Views: 15270

Re: How to start?

If you are planning to have hundreds of uniq users requesting heavy computing method, so yes Flask is not designed for that. But for smaller goals you can start Flask as threaded (even set number of process if you manage a database connection pool). You can also run multiple flask behind a robust ...
by cederavic
Wed Nov 23, 2016 10:54 pm
Forum: General Discussion
Topic: How to start?
Replies: 17
Views: 15270

Re: How to start?

Python is a very good choice for server side / backend. I personnaly use it with flask (serving sb application), flask-jsonrpc (for rpc computing) and peewee (ORM). It's a pretty promising combo 8-)
by cederavic
Tue Nov 15, 2016 9:49 am
Forum: Coding Questions
Topic: Application design to notice code changes
Replies: 3
Views: 3569

Re: Application design to notice code changes

Hello,
If your server can dynamically serve the html page, you can put a timestamp param in the src of the script
eg :

<script type="text/javascript" src="spiderbasic.js?timestamp={{sb_timestamp}}"></script>

Where {{sb_timestamp}} is something like 201611151047236 or what you want. The browser ...
by cederavic
Sat Nov 05, 2016 9:59 am
Forum: Coding Questions
Topic: APK and cross domain request issue
Replies: 3
Views: 4101

Re: APK and cross domain request issue

it looks like it have to be setup in a crosswalk manifest : https://crosswalk-project.org/documenta ... hosts.html
by cederavic
Sat Nov 05, 2016 9:48 am
Forum: General Discussion
Topic: SpiderBasic 2.00 final is out !
Replies: 49
Views: 39652

Re: SpiderBasic 2.00 beta 3 is available !

Nice job!
It works great, 1.7Mb, 36 request in 4.3s on a distant server :)
My animated loader is now almost useless :P
by cederavic
Thu Nov 03, 2016 4:04 pm
Forum: General Discussion
Topic: 3MB traffic for one request?
Replies: 22
Views: 16795

Re: 3MB traffic for one request?

Good news, thanks Fred :)
by cederavic
Wed Nov 02, 2016 3:51 pm
Forum: General Discussion
Topic: 3MB traffic for one request?
Replies: 22
Views: 16795

Re: 3MB traffic for one request?

Yes i agree on that. I don't know Dojo enough, maybe it's modular enough to load only what is actualy used in our code but i don't think so...
Maybe a CDN would be a great alternative too? If someone can provide it... With the trick of the token param, your program would take only maybe 100kb to ...
by cederavic
Wed Nov 02, 2016 3:33 pm
Forum: General Discussion
Topic: 3MB traffic for one request?
Replies: 22
Views: 16795

Re: 3MB traffic for one request?

Sorry if my answer seems aggressive, i did not mean to... I'm french and i don't always use the right words ;)

I know you are not talking about images, it was just to say SB use Dojo (wich is heavy yes) and your browser need to download it as to view a 3MB image your browser need to download its ...
by cederavic
Wed Nov 02, 2016 2:36 pm
Forum: Coding Questions
Topic: SB 2.00 b2 Return value of AddGadgetItem
Replies: 2
Views: 3078

SB 2.00 b2 Return value of AddGadgetItem

I'm not sure that's a bug because of the doc mentionning PB and not SB but :

Param Position : #PB_Any can be used, in which case the return-value will be the new number assigned by PB.


It always return undefined:

OpenWindow(0, 0, 0, 200, 100, "")
combo = ComboBoxGadget(#PB_Any, 10, 10, 180 ...
by cederavic
Wed Nov 02, 2016 2:16 pm
Forum: General Discussion
Topic: 3MB traffic for one request?
Replies: 22
Views: 16795

Re: 3MB traffic for one request?

Hello,
Your arguments are not reliable. Put a 3mb photo on your page and your traffic will but the same... only for one simple photo? yeah..
And you can't compare just Jquery against the tons of librairies used by SB.
You can't get over the first download of libraries (maybe we could compress them ...