View Single Post
  #4 (permalink)  
Old November 10th, 2012, 01:54 AM
Rob Napier Rob Napier is offline
Registered User
Points: 9, Level: 1
Points: 9, Level: 1 Points: 9, Level: 1 Points: 9, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Klaus

If I was building an app for a conventional website, I'd opt for Python (probably with Django), though if you are just getting started and have a simple application, PHP is probably the easier path.

I went to the bookstore today to get the book you are reading but it is not available. So I have to quote my WROX reference:

In 'Beginning iOS Application Development with HTML and Javascript', Richard Wagner has a section headed "Going SQL With Javascript Database". He gives an example in HTML5:

var db = window.openDatabase(dbName, versionNum, displayName, maxSize);

He goes on to talk about SELECT statements, etc. in Javascript.

What he glosses over is any detail about the database. I'm guessing that the answer lies with SQLite as there is no information about the way to connect. He describes it as being hosted 'locally'. Does that mean on the iPhone or iPad?

I Googled: 'sqlite on an iphone'. One really useful links is this one:

http://iphonedevsdk.com/forum/tutori...-tutorial.html

But there were several others that looked hopeful. I suggest that you start there.

But if you are looking for some serious database grunt, take another look at PostgreSQL with a little PHP to drive it!

Hope this helps!

Rob

Schrödinger's Cat has/had a split personality.

Last edited by Rob Napier; November 10th, 2012 at 01:59 AM.