/    Sign up×
Community /Pin to ProfileBookmark

Javascript and SQLite

I am planning to create a web site in HTML5 and Javascript for iPad, for that perpose i need a local database access using javascript. I have installed SQLite on iPad, How i can access Sqlite using javascript.

Points i dont want to implement are:
1] I don’t want to use HTML5 Local database storage as it cleans data whenever we clear history and caching.
2] I don’t want to use Google gear, becoz it creates dependancy, also i have never used it.

Is it possible to access SQLite using pure javascript. so that it will work with all the browsers and also on iPad as well as on XP, Vista machines.

Thanks and Regards
Naveen Motpuse

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@rnd_meJul 27.2011 — 
Is it possible to access SQLite using pure javascript. so that it will work with all the browsers and also on iPad as well as on XP, Vista machines.

Thanks and Regards

Naveen Motpuse[/QUOTE]


not really. it's the "all the browsers" part that get's you. there are SQLite-capable browsers for windows xp, but not all browser support SQLite.


i don't think that localStorage gets deleted from clearing history and cache, have you tested and verified that behavior?
×

Success!

Help @naveenmotpuse spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...