You Are Here:

Community: Developer Discussion Boards

#1 Old Database in pys60 - 2009-03-06, 07:12

Join Date: Feb 2009
Posts: 72
v divya
Offline
Regular Contributor
Hi all,

I want to know which database to use for my pys60 application, which is being developed using 3rd edition fp1 SDK..

Pls guide me in making the right choice for this.. Can I use sqlite or someother.. I want the datatype defined for them(i.e) Is there seperate datatype defined for pys60(if chosen sqlite or someother database)..

Waiting for ur fast replies..... Thanks in advance..
Reply With Quote

#2 Old Re: Database in pys60 - 2009-03-06, 09:58

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
By default you have no choice, just use the API and whatever database that happens to be below it. It works. If you want to use especially some specific database, like sqlite, then you would need to write extension for that, install that extension with your scripts and manage versioning in future. That could be kind of trouble.

I would recommend the most easy solution: use default database API as-is. Ignore completely what database it is using. Put your effort into developing YOUR application, instead of dependencies, especially since it sounds you don't much care what the database solution actually is.

Cheers,

--jouni
Reply With Quote

#3 Old Re: Database in pys60 - 2009-03-06, 12:22

Join Date: Feb 2009
Posts: 72
v divya
Offline
Regular Contributor
Quote:
Originally Posted by JOM View Post
By default you have no choice, just use the API and whatever database that happens to be below it. It works. If you want to use especially some specific database, like sqlite, then you would need to write extension for that, install that extension with your scripts and manage versioning in future. That could be kind of trouble.

I would recommend the most easy solution: use default database API as-is. Ignore completely what database it is using. Put your effort into developing YOUR application, instead of dependencies, especially since it sounds you don't much care what the database solution actually is.

Sorry to trouble again I am still not clear in this.. I am very new to pys60 and totally dumb in its databases..

It is given that e32dbm module provides a DBM API that uses the native
Symbian RDBMS.. Which means what? Should I move on with SQL?(I say abt e32dbm bcoz only this module is now available for my use)

Please clear my confusion....
Reply With Quote

#4 Old Re: Database in pys60 - 2009-03-06, 14:30

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
hello Divya

i will advice you the same thing what Jouni Has mentioned that please try to use the default database APIs available i.e. have a look at the e32db and e32dbm module from PyS60 reference mannual.

Moreover you can also have a look at this wiki article on the same thing.

Hope this helps you.

Enjoy Pythoning
Gaba88


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#5 Old Re: Database in pys60 - 2009-03-06, 15:09

Join Date: Feb 2009
Posts: 72
v divya
Offline
Regular Contributor
Ok.. Can someone pls suggest me some website or material that will guide me in creating my database.. Sorry if this is silly.. But I need help..

I also need some information on symbian native database properly.. I could not get full information..
Reply With Quote

#6 Old Re: Database in pys60 - 2009-03-06, 15:20

Join Date: Feb 2009
Posts: 72
v divya
Offline
Regular Contributor
Pls make me clear of my database.. Which shall I use sql itself.. I am confused..

I will use the default api's available but in which to create my DB

I want an immediate soln for this.. Try to help and guide me..

I want to know abt symbian native databases...
Reply With Quote

#7 Old Re: Database in pys60 - 2009-03-08, 00:59

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by v divya View Post
Pls make me clear of my database.. Which shall I use sql itself.. I am confused..
I will use the default api's available but in which to create my DB
I want an immediate soln for this.. Try to help and guide me..
I want to know abt symbian native databases...
Ok,

As disclaimer I want to say I've never used any database in any system. Ok?

Next I'll try to help you to help yourself:

1. This Discussion Board contains a Search feature. Look at top right corner for "Search this Forum", use it and you just might find something useful.

2. S60 is built on top of Symbian OS. Go to http://developer.symbian.com/ and search for database info. There you will find a lot of technical info, maybe even too much. Download and install SDK manual(s).

3. Last advice is to check Forum Nokia Wiki at http://wiki.forum.nokia.com

Btw as far as I recall, if I knew anything about databases, you cannot create Symbian OS databases outside Symbian OS. You could create helper app or routines inside your sw to populate an initial database and then attach that with your app.

Good luck,

--jouni
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Python for S60 (PyS60)? Read this first! croozeus Python 2 2008-10-17 20:23
PyS60 Talks #3: Community Edition , Appuifw2 & Featured Apps bogdan.galiceanu Python 12 2008-09-23 07:08
Application Closed! KERN-EXEC 0 smnsolomon General Symbian C++ 3 2008-04-20 16:36
database trouble liafail General Symbian C++ 6 2005-12-28 06:56
database problem sridhar_ratna General Symbian C++ 1 2003-04-18 10:07

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia