Local Database

0 views
Skip to first unread message

Marc

unread,
Jul 11, 2007, 5:16:51 PM7/11/07
to iPhoneWebDev
We've been asked to port our Palm app to iPhone, but it's pretty
database intensive. Any ways to store local files? I'm thinking that
cookies might be too cumbersome. We have lists with thousands of items
that need to be accessed very quickly. Anyone doing anything that
stores data on the device?

Thanks!

Michael Latta

unread,
Jul 11, 2007, 5:23:18 PM7/11/07
to iphone...@googlegroups.com
No local storage at this point. Given the screen size I doubt you
are going to be able to display thousands of items.

Is there a reason the database can not be on the server? Do you need
to operate on a plane or where there is no cell access?

Michael

Joshua Kolden

unread,
Jul 11, 2007, 5:35:27 PM7/11/07
to iPhoneWebDev
Perhaps you can store data as hidden elements in the page itself. For
example you could create a form with hidden fields, and load the page
to the client empty (so the page loads faster) then do ajax requests
to fill the form data from the server. Design your app not to reload
the page, just do ajax requests.

j

Marc

unread,
Jul 11, 2007, 5:38:52 PM7/11/07
to iPhoneWebDev
Thanks for feedback.
We don't always have connectivity and our customers need to be able to
take and review notes anywhere. The list of thousands doesn't get
accessed all at once :) It's on a Palm screen. But we've indexed it
all so it's fast.

Sounds like for now we'll have to have a limited version that doesn't
keep anything local.

Maybe someday....

Michael Latta

unread,
Jul 11, 2007, 5:49:00 PM7/11/07
to iphone...@googlegroups.com
For the moment there is no local storage accessible from the web
side. Even email may not be stored locally other than the google
push mail.

We all hope Apple opens more API at least to the developer community
in the coming months.

Michael

Marc

unread,
Jul 11, 2007, 6:15:15 PM7/11/07
to iPhoneWebDev
At some point, I'd think they have to.
So not even cookies then? Wow. Pretty tight. I had assumed our fall
back was being able to use cookies for some things.

Joshua Kolden

unread,
Jul 11, 2007, 7:23:16 PM7/11/07
to iPhoneWebDev
The Safari on iPhone does accept cookies.

j

Reply all
Reply to author
Forward
0 new messages