Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Where to put an application database?

by skx (Parson)
on Oct 16, 2014 at 16:27 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1104072]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-25 13:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found