Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
GWT Local Database?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kyle Anderson  
View profile  
 More options May 24 2012, 5:36 pm
From: Kyle Anderson <kyleanderso...@gmail.com>
Date: Thu, 24 May 2012 14:36:57 -0700 (PDT)
Local: Thurs, May 24 2012 5:36 pm
Subject: GWT Local Database?
I have a user application where a user loads a map with about
3000-5000 widgets on it.  The user needs to be able to filter/sort/
modify these elements quickly.  The server load is heavy, and GAE is
performing abominably.

My idea is to transfer all the elements to the client in a local
database such as the HTML5 local database.  Have the user interact/
modify them directly in the client,  send the database back to the
server, then update the dirty elements.

It's fine if my users are required to have HTML5, I'm not concerned
with this as its intended for a small set of users.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joseph Lust  
View profile  
 More options May 24 2012, 8:46 pm
From: Joseph Lust <lifeofl...@gmail.com>
Date: Thu, 24 May 2012 17:46:45 -0700 (PDT)
Local: Thurs, May 24 2012 8:46 pm
Subject: Re: GWT Local Database?

Be sure to check out the GWT-Mobile-WebKit database API<http://code.google.com/p/gwt-mobile-webkit/wiki/DatabaseApi>
.

Keep in mind that this could be a huge security hole for SQL injection.
You'll need to ensure you escape everything coming back in that sqlLite DB.
Then you'll also need a robust way to detect diffs.

It might be easier, if the user does not make that many changes, to just
send back the differences and merge those.

Sincerely,
Joseph


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dominikz  
View profile  
 More options May 25 2012, 1:06 am
From: dominikz <dominik.zalew...@gmail.com>
Date: Thu, 24 May 2012 22:06:59 -0700 (PDT)
Local: Fri, May 25 2012 1:06 am
Subject: Re: GWT Local Database?

Just remember that there's a known issue with SQLite INSERT time. Google
something like 'sqlite html5 insert time slow' and you'll see what I mean.

We bumped into that when writing our applications. They are on mobile
browsers so it impacts us even more.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »