If the SQLite file is in the same app path (at least in .Net) you can easily get a relative location at runtime assuming your code knows the DB name it would like to use and viola, database access.

Java would probably work similarly as would Android and the other platforms since the DB file lives as a plain old file.

Daddy like :-)

Regards,
Richard Schoen
RJS Software Systems Inc.
Where Information Meets Innovation
Document Management, Workflow, Report Delivery, Forms and Business Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Kevin Turner
Sent: Tuesday, January 25, 2011 10:30 AM
To: 'web400@xxxxxxxxxxxx'
Subject: Re: [WEB400] Anyone here using SQLite ?

What if the config needs to tell you where and how to access the data? :-)

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Dean, Robert
Sent: 25 January 2011 14:10
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] Anyone here using SQLite ?

I like the concept of storing app config in a database. It separates the config from the code, and allows deployment of the same binary to unit test, system test, qa, etc., with a configuration appropriate for the environment.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.