Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Where to put an application database?

by skx (Parson)
on Oct 16, 2014 at 16:27 UTC ( #1104072=note: print w/replies, xml ) Need Help??


in reply to Where to put an application database?

I wrote a blog-compiler which imports a series of blog-posts, from plain-text files, into an SQLite database.

The database lives in the home directory of the current user. That makes sense for me, but if it doesn't the user can specify it via a command-line argument.

(App::Chronicle for reference.)

Beyond that it depends on the use-case for the database. Is it supposed to be updated? Will things function if it is deleted/not-present?

Steve
--
  • Comment on Re: Where to put an application database?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1104072]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2021-02-26 16:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?