1,105,229 Community Members

want u r suggestions plz

Member Avatar
rraviraj
Newbie Poster
4 posts since Sep 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

hi,,


i m now working on some basics of phonegap for iphone . can somebody let to know how to create database for iphone apps development? and how to connect this database with the iphone?
any suggestion are highly appreciated..thank you

Member Avatar
TPBarnett
Newbie Poster
3 posts since Feb 2007
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I am not certain what you are asking for. I have tied OS X and iOS to MySql, Oracle and MS SQL Servers. This does not seem to be, from your questions, what you are wanting.

Have you considered property list?
http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/PropertyLists/PropertyLists.pdf
Or are you asking for a more complex database such as MySql etc.?

hi,,


i m now working on some basics of phonegap for iphone . can somebody let to know how to create database for iphone apps development? and how to connect this database with the iphone?
any suggestion are highly appreciated..thank you

Member Avatar
anilkumar-m
Newbie Poster
6 posts since Jan 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 2 [?]
Skill Endorsements: 0 [?]
 
0
 

Raviraj,

The most preferred database for mobile platforms is SQLite. You'll be able to download it and also creating database from the console(sadly it doesn't have any GUI tool- SQLite manager extension in firefox solves this a bit). After ceating add the db file to the project in xcode. That gives you the access to database. Njoy :)

-Anil

Member Avatar
rraviraj
Newbie Poster
4 posts since Sep 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

thank you .

Member Avatar
ChrisPadgham
Posting Pro in Training
450 posts since Sep 2009
Reputation Points: 113 [?]
Q&As Helped to Solve: 90 [?]
Skill Endorsements: 8 [?]
 
0
 

In Xcode, choose File -> New File. Then, in the dialog window select Core Date in the left pane and select Data Model. Then click next, give you model a name. This is where you create your datamodel, XCode handles the SQLlite interface on your behalf.

If you want to learn how to do this I suggest downloading from iTunes the Standford University lecture on Core Data by Paul Hegarty it is quite good.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article