Stickies Ajax demo

01 Apr 2005 21:03 - (1) comments

Yesterday I saw Richard Rutter's amazing Browser Stickies and thought: "What a cool way to get a little more xmlHttpRequest experience".

So today I hacked in a little database persistence with xmlHttpRequest and made a little Stickies Ajax demo. Notes/Stickies are saved with onBlur(), so they aren't saved if you just move them.

It's still a bit rough so I'll make the whole app downloadable after some refactoring.

Comments

Because Ajax uses asynchronous data retrieval, a problem occurs with multi-users: you can't let the server send data to the browser when something changes. So when person A saves a new sticky, person B won't see this new sticky if he doesn't reload.

In the current version if person B makes a new sticky it will overwrite the sticky made by person A because it will uses the same id.

On 02 Apr 8:56 by Petrik

Comments have been closed.

Admin