).
Thanks for your advices.
Cordialy,
Michaël Rouges
Hello,
I recently experimented with this API trying to simulate a file system, but
I am sad to see a lack of depth.
To preserve the environment applications using my tool, I want to create
only one database for my filesystem.
So I create my database, I add a table representing a folder and I
Thank you to you for your answers.
I watched your codes and, in my opinion, this kind of operation is much
heavier than it should.
Plus there are any files on the system, the operation will require more
treatments.
My idea would have the advantage of dividing the system into smaller
sections
Hello everyone,
I'm surprised by how events are added to IndexedDB objects.
For example, base, opening a database:
var request;
request = indexedDB.open('database');
request.onsuccess = function () {};
request.onupgradeneeded = function () {};
request.onerror = function () {};
As you can see,
Hum ... thank you for this answer, but ...
Are you sure there is no possibility that the application is completed
before adding events?
I find it hard to perceive how it couldn't happen.
Sorry, I usually speak french and my english is quite experimental.
The example I gave, with SetTimeout() is useless, if not illustrate that
the interpreter does not expect that the events are attached to execute the
query.
My surprise comes from the comparison with the XMLHttpRequest object,
Ok, the example of console.log () has made me realize something I had
never seen that.
In short, if I understood from my tests, asynchronous instruction is
executed at the earliest, after the last statement of the scope in which it
is declared.
There was a misconception ... in my mind.
Please
Oh, sorry... and thank you all for your explanations. :)
, do not hesitate to
contact me, I will answer with pleasure.
Cordially,
Michaël Rouges